#977E24#977E24
#977E24 is a mid, moderate yellow. Relative luminance 0.216; OKLCH L 60.0% C 0.109 H 92.8°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).
Color values
| HEX | #977E24 |
|---|---|
| RGB | rgb(151, 126, 36) |
| HSL | hsl(47, 61%, 37%) |
| HSV | hsv(47, 76%, 59%) |
| CMYK | cmyk(0%, 16.6%, 76.2%, 40.8%) |
| CIE-LAB | lab(53.63, -0.07, 49.59) |
| CIE-LCH | lch(53.63, 49.59, 90.09°) |
| OKLab | oklab(60.03% -0.0053 0.1092) |
| OKLCH | oklch(60.03% 0.109 92.8) |
| XYZ | xyz(20.5429, 21.6296, 4.7616) |
| Luminance | 0.2163 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 2.88
Puke Brown
#947706
ΔE00 3.17
Hazel
#8E7618
ΔE00 3.19
Yellowish Brown
#9B7A01
ΔE00 3.34
Diarrhea
#9F8303
ΔE00 3.65
Poo
#8F7303
ΔE00 4.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#977E24 #243D97
analogous
#974524 #977E24 #779724
triadic
#977E24 #24977E #7E2497
tetradic
#977E24 #249745 #243D97 #972477
square
#977E24 #249745 #243D97 #972477
split-complementary
#977E24 #247797 #452497
monochromatic
#342C0C #665518 #977E24 #C8A730 #D8BE5D
Accessibility & contrast
On white
3.94
#977E24 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.33
#977E24 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #977E24
5.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##977E24 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##977E24 | 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)
#8C7C15
Deuteranopia (green-blind)
#928329
Tritanopia (blue-blind)
#A4736C
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #977e24; /* rgb */ color: rgb(151, 126, 36); /* oklch */ color: oklch(60.0% 0.109 92.8);
Tailwind
colors: {
custom: {
50: '#b9a366',
500: '#977e24',
950: '#000000',
},
}SCSS
$custom: #977e24; $custom-light: #b9a366; $custom-dark: #000000;
JSON
{
"hex": "#977e24",
"rgb": {
"r": 151,
"g": 126,
"b": 36
},
"hsl": {
"h": 46.957,
"s": 61.497,
"l": 36.667
},
"oklch": {
"l": 0.60032,
"c": 0.10929,
"h": 92.8
},
"luminance": 0.21628
}Semantic roles & 50–950 ramp
primary
#977E24
secondary
#5A6FBD
accent
#66E543
background
#FBF9F6
surface
#F7F2EB
border
#D0CCC6
text
#120F06
muted
#817E7A