#977F20#977F20
#977F20 is a mid, moderate yellow. Relative luminance 0.219; OKLCH L 60.2% C 0.112 H 94.0°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).
Color values
| HEX | #977F20 |
|---|---|
| RGB | rgb(151, 127, 32) |
| HSL | hsl(48, 65%, 36%) |
| HSV | hsv(48, 79%, 59%) |
| CMYK | cmyk(0%, 15.9%, 78.8%, 40.8%) |
| CIE-LAB | lab(53.88, -0.81, 51.34) |
| CIE-LCH | lch(53.88, 51.34, 90.90°) |
| OKLab | oklab(60.22% -0.0078 0.112) |
| OKLCH | oklch(60.22% 0.112 94) |
| XYZ | xyz(20.6137, 21.8635, 4.5005) |
| Luminance | 0.2186 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 2.40
Diarrhea
#9F8303
ΔE00 3.12
Puke Brown
#947706
ΔE00 3.30
Yellowish Brown
#9B7A01
ΔE00 3.40
Hazel
#8E7618
ΔE00 3.44
Poo
#8F7303
ΔE00 4.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#977F20 #203897
analogous
#974320 #977F20 #739720
triadic
#977F20 #20977F #7F2097
tetradic
#977F20 #209743 #203897 #972073
square
#977F20 #209743 #203897 #972073
split-complementary
#977F20 #207397 #432097
monochromatic
#322A0B #645515 #977F20 #C9A92B #DBC056
Accessibility & contrast
On white
3.91
#977F20 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.37
#977F20 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #977F20
5.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##977F20 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##977F20 | 1.00 | 3.91 | 5.37 | 5.37 |
| #FFFFFF | 3.91 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.37 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.37 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8D7D0C
Deuteranopia (green-blind)
#938426
Tritanopia (blue-blind)
#A4746D
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #977f20; /* rgb */ color: rgb(151, 127, 32); /* oklch */ color: oklch(60.2% 0.112 94.0);
Tailwind
colors: {
custom: {
50: '#b9a364',
500: '#977f20',
950: '#000000',
},
}SCSS
$custom: #977f20; $custom-light: #b9a364; $custom-dark: #000000;
JSON
{
"hex": "#977f20",
"rgb": {
"r": 151,
"g": 127,
"b": 32
},
"hsl": {
"h": 47.899,
"s": 65.027,
"l": 35.882
},
"oklch": {
"l": 0.60222,
"c": 0.11231,
"h": 94
},
"luminance": 0.21862
}Semantic roles & 50–950 ramp
primary
#977F20
secondary
#5469BF
accent
#62E840
background
#FBFAF6
surface
#F7F3EB
border
#D0CDC6
text
#120F06
muted
#817F7A