#977E22#977E22
#977E22 is a mid, moderate yellow. Relative luminance 0.216; OKLCH L 60.0% C 0.111 H 93.0°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).
Color values
| HEX | #977E22 |
|---|---|
| RGB | rgb(151, 126, 34) |
| HSL | hsl(47, 63%, 36%) |
| HSV | hsv(47, 77%, 59%) |
| CMYK | cmyk(0%, 16.6%, 77.5%, 40.8%) |
| CIE-LAB | lab(53.62, -0.16, 50.35) |
| CIE-LCH | lch(53.62, 50.35, 90.19°) |
| OKLab | oklab(60.02% -0.0058 0.1104) |
| OKLCH | oklch(60.02% 0.111 93) |
| XYZ | xyz(20.5132, 21.6177, 4.6052) |
| Luminance | 0.2162 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 2.66
Puke Brown
#947706
ΔE00 3.06
Hazel
#8E7618
ΔE00 3.16
Yellowish Brown
#9B7A01
ΔE00 3.21
Diarrhea
#9F8303
ΔE00 3.46
Poo
#8F7303
ΔE00 4.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#977E22 #223B97
analogous
#974422 #977E22 #769722
triadic
#977E22 #22977E #7E2297
tetradic
#977E22 #229744 #223B97 #972276
square
#977E22 #229744 #223B97 #972276
split-complementary
#977E22 #227697 #442297
monochromatic
#332B0C #655417 #977E22 #C9A82D #DABE5A
Accessibility & contrast
On white
3.94
#977E22 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.32
#977E22 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #977E22
5.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##977E22 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##977E22 | 1.00 | 3.94 | 5.32 | 5.32 |
| #FFFFFF | 3.94 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.32 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.32 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8C7C11
Deuteranopia (green-blind)
#928328
Tritanopia (blue-blind)
#A4736C
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #977e22; /* rgb */ color: rgb(151, 126, 34); /* oklch */ color: oklch(60.0% 0.111 93.0);
Tailwind
colors: {
custom: {
50: '#b9a364',
500: '#977e22',
950: '#000000',
},
}SCSS
$custom: #977e22; $custom-light: #b9a364; $custom-dark: #000000;
JSON
{
"hex": "#977e22",
"rgb": {
"r": 151,
"g": 126,
"b": 34
},
"hsl": {
"h": 47.179,
"s": 63.243,
"l": 36.275
},
"oklch": {
"l": 0.60018,
"c": 0.11051,
"h": 93
},
"luminance": 0.21617
}Semantic roles & 50–950 ramp
primary
#977E22
secondary
#576DBE
accent
#65E642
background
#FBF9F6
surface
#F7F2EB
border
#D0CCC6
text
#120F06
muted
#817E7A