#978727 color
The hex color #978727 is a dark, moderate yellow.
In the RGB color model it is made of 59.2% red, 52.9% green and 15.3% blue (151, 135, 39).
Its hue angle is 51°, with 59% saturation and 37% lightness. For print, the CMYK equivalent is 0% cyan, 11% magenta, 74% yellow and 41% black.
The closest named color is Captain Kirk (#9B870C), a difference of 2.6 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 5.81:1).
#978727 color codes
| HEX | #978727 | |
|---|---|---|
| RGB | rgb(151, 135, 39) | |
| RGB percent | rgb(59.2%, 52.9%, 15.3%) | |
| HSL | hsl(51, 59%, 37%) | |
| HSV / HSB | hsv(51, 74%, 59%) | |
| CMYK | cmyk(0%, 11%, 74%, 41%) | |
| CIE LAB | lab(56.14, -4.93, 50.84) | |
| CIE LCH | lch(56.14, 51.08, 95.54) | |
| CIE XYZ | xyz(21.794, 24.055, 5.414) | |
| Decimal | 9930535 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #978727, based on their position on the color wheel.
Complementary
The color opposite on the color wheel (180°). Strongest contrast.
Analogous
Neighbors 30° either side. Calm, natural combinations.
Split complementary
The two colors next to the complement (150° and 210°).
Triadic
Three colors evenly spaced, 120° apart.
Tetradic (square)
Four colors 90° apart.
Shades, tints and tones
Shades (darker, mixed with black)
Tints (lighter, mixed with white)
Tones (mixed with gray)
Contrast and accessibility
| Text on #978727 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 5.81:1 | Pass | Fail | Pass |
| Sample text | 3.61:1 | Fail | Fail | Pass |
| #978727 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.61:1 | Fail | Fail | Pass |
| Sample text | 5.81:1 | Pass | Fail | Pass |
WCAG 2 asks for 4.5:1 for normal text (AA), 7:1 for AAA, and 3:1 for large text. Check other pairs.
Color blindness simulation
How #978727 looks to people with the most common types of color vision deficiency.
#948317Protanopia
no red cones#99892dDeuteranopia
no green cones#a37d74Tritanopia
no blue cones#878787Achromatopsia
no color vision
CSS examples
.background { background-color: #978727; }
.text { color: #978727; }
.border { border: 2px solid #978727; }
.transparent { background-color: rgb(151 135 39 / 50%); }
.gradient { background: linear-gradient(to right, #978727, #6f9727); }
Similar colors
#9b870cCaptain Kirk#9a8d3fJalapeño#9d913cGecko#8c7f3cPeas Please#888738Witch Brew#938b4bNegishi Green#977b2fFernweh#a19250Backroom Ember
Closest common color name: Olive Green.
Questions
- What color is #978727?
- #978727 is a dark, moderate yellow, closest to the named color Captain Kirk. It belongs to the yellow family of colors.
- What is the RGB value of #978727?
- The RGB value is 151, 135, 39: 151 red, 135 green and 39 blue on a 0 to 255 scale.
- What is the complementary color of #978727?
- The complementary color is #273797, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #978727?
- Black text. Black text has a contrast ratio of 5.81:1 and white text 3.61:1. WCAG asks for at least 4.5:1 for normal text.