#977E27#977E27
#977E27 is a mid, moderate yellow. Relative luminance 0.216; OKLCH L 60.1% C 0.107 H 92.4°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).
Color values
| HEX | #977E27 |
|---|---|
| RGB | rgb(151, 126, 39) |
| HSL | hsl(47, 59%, 37%) |
| HSV | hsv(47, 74%, 59%) |
| CMYK | cmyk(0%, 16.6%, 74.2%, 40.8%) |
| CIE-LAB | lab(53.65, 0.07, 48.41) |
| CIE-LCH | lch(53.65, 48.41, 89.92°) |
| OKLab | oklab(60.06% -0.0046 0.1073) |
| OKLCH | oklch(60.06% 0.107 92.4) |
| XYZ | xyz(20.5907, 21.6487, 5.0131) |
| Luminance | 0.2165 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 3.24
Hazel
#8E7618
ΔE00 3.27
Puke Brown
#947706
ΔE00 3.39
Yellowish Brown
#9B7A01
ΔE00 3.57
Diarrhea
#9F8303
ΔE00 3.95
Poo
#8F7303
ΔE00 4.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#977E27 #274097
analogous
#974627 #977E27 #789727
triadic
#977E27 #27977E #7E2797
tetradic
#977E27 #279746 #274097 #972778
square
#977E27 #279746 #274097 #972778
split-complementary
#977E27 #277897 #462797
monochromatic
#362D0E #66551A #977E27 #C8A734 #D6BC62
Accessibility & contrast
On white
3.94
#977E27 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.33
#977E27 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #977E27
5.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##977E27 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##977E27 | 1.00 | 3.94 | 5.33 | 5.33 |
| #FFFFFF | 3.94 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.33 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.33 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8C7C1A
Deuteranopia (green-blind)
#92832C
Tritanopia (blue-blind)
#A4736D
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #977e27; /* rgb */ color: rgb(151, 126, 39); /* oklch */ color: oklch(60.1% 0.107 92.4);
Tailwind
colors: {
custom: {
50: '#b9a367',
500: '#977e27',
950: '#000000',
},
}SCSS
$custom: #977e27; $custom-light: #b9a367; $custom-dark: #000000;
JSON
{
"hex": "#977e27",
"rgb": {
"r": 151,
"g": 126,
"b": 39
},
"hsl": {
"h": 46.607,
"s": 58.947,
"l": 37.255
},
"oklch": {
"l": 0.60055,
"c": 0.10736,
"h": 92.4
},
"luminance": 0.21648
}Semantic roles & 50–950 ramp
primary
#977E27
secondary
#5E73BC
accent
#69E246
background
#FBF9F6
surface
#F7F2EB
border
#D0CCC6
text
#120F06
muted
#817E7A