#977C22#977C22
#977C22 is a mid, moderate yellow. Relative luminance 0.211; OKLCH L 59.6% C 0.109 H 91.4°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).
Color values
| HEX | #977C22 |
|---|---|
| RGB | rgb(151, 124, 34) |
| HSL | hsl(46, 63%, 36%) |
| HSV | hsv(46, 77%, 59%) |
| CMYK | cmyk(0%, 17.9%, 77.5%, 40.8%) |
| CIE-LAB | lab(53.07, 0.96, 49.83) |
| CIE-LCH | lch(53.07, 49.84, 88.90°) |
| OKLab | oklab(59.59% -0.0026 0.1093) |
| OKLCH | oklch(59.59% 0.109 91.4) |
| XYZ | xyz(20.2600, 21.1114, 4.5208) |
| Luminance | 0.2111 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke Brown
#947706
ΔE00 2.56
Hazel
#8E7618
ΔE00 2.76
Yellowish Brown
#9B7A01
ΔE00 2.80
Baby Poop
#937C00
ΔE00 3.03
Poo
#8F7303
ΔE00 3.78
Diarrhea
#9F8303
ΔE00 3.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#977C22 #223D97
analogous
#974222 #977C22 #789722
triadic
#977C22 #22977C #7C2297
tetradic
#977C22 #229742 #223D97 #972278
square
#977C22 #229742 #223D97 #972278
split-complementary
#977C22 #227897 #422297
monochromatic
#332A0C #655317 #977C22 #C9A52D #DABC5A
Accessibility & contrast
On white
4.02
#977C22 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.22
#977C22 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #977C22
5.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##977C22 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##977C22 | 1.00 | 4.02 | 5.22 | 5.22 |
| #FFFFFF | 4.02 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.22 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.22 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8A7A12
Deuteranopia (green-blind)
#918227
Tritanopia (blue-blind)
#A4716B
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #977c22; /* rgb */ color: rgb(151, 124, 34); /* oklch */ color: oklch(59.6% 0.109 91.4);
Tailwind
colors: {
custom: {
50: '#b9a164',
500: '#977c22',
950: '#000000',
},
}SCSS
$custom: #977c22; $custom-light: #b9a164; $custom-dark: #000000;
JSON
{
"hex": "#977c22",
"rgb": {
"r": 151,
"g": 124,
"b": 34
},
"hsl": {
"h": 46.154,
"s": 63.243,
"l": 36.275
},
"oklch": {
"l": 0.59585,
"c": 0.10929,
"h": 91.4
},
"luminance": 0.2111
}Semantic roles & 50–950 ramp
primary
#977C22
secondary
#576FBE
accent
#68E642
background
#FBF9F6
surface
#F7F2EB
border
#D0CCC6
text
#120E06
muted
#817E7A