#977F22#977F22
#977F22 is a mid, moderate yellow. Relative luminance 0.219; OKLCH L 60.2% C 0.111 H 93.8°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).
Color values
| HEX | #977F22 |
|---|---|
| RGB | rgb(151, 127, 34) |
| HSL | hsl(48, 63%, 36%) |
| HSV | hsv(48, 77%, 59%) |
| CMYK | cmyk(0%, 15.9%, 77.5%, 40.8%) |
| CIE-LAB | lab(53.89, -0.72, 50.61) |
| CIE-LCH | lch(53.89, 50.61, 90.82°) |
| OKLab | oklab(60.24% -0.0074 0.1109) |
| OKLCH | oklch(60.24% 0.111 93.8) |
| XYZ | xyz(20.6417, 21.8747, 4.6481) |
| Luminance | 0.2187 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 2.59
Diarrhea
#9F8303
ΔE00 3.28
Puke Brown
#947706
ΔE00 3.38
Hazel
#8E7618
ΔE00 3.44
Yellowish Brown
#9B7A01
ΔE00 3.49
Poo
#8F7303
ΔE00 4.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#977F22 #223A97
analogous
#974522 #977F22 #759722
triadic
#977F22 #22977F #7F2297
tetradic
#977F22 #229745 #223A97 #972275
square
#977F22 #229745 #223A97 #972275
split-complementary
#977F22 #227597 #452297
monochromatic
#332B0C #655517 #977F22 #C9A92D #DABF5A
Accessibility & contrast
On white
3.91
#977F22 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.37
#977F22 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #977F22
5.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##977F22 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##977F22 | 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)
#8D7D11
Deuteranopia (green-blind)
#938428
Tritanopia (blue-blind)
#A4746D
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #977f22; /* rgb */ color: rgb(151, 127, 34); /* oklch */ color: oklch(60.2% 0.111 93.8);
Tailwind
colors: {
custom: {
50: '#b9a365',
500: '#977f22',
950: '#000000',
},
}SCSS
$custom: #977f22; $custom-light: #b9a365; $custom-dark: #000000;
JSON
{
"hex": "#977f22",
"rgb": {
"r": 151,
"g": 127,
"b": 34
},
"hsl": {
"h": 47.692,
"s": 63.243,
"l": 36.275
},
"oklch": {
"l": 0.60235,
"c": 0.11116,
"h": 93.8
},
"luminance": 0.21874
}Semantic roles & 50–950 ramp
primary
#977F22
secondary
#576CBE
accent
#63E642
background
#FBFAF6
surface
#F7F3EB
border
#D0CDC6
text
#120F06
muted
#817F7A