#977D2C#977D2C
#977D2C is a mid, moderate yellow. Relative luminance 0.214; OKLCH L 59.9% C 0.103 H 90.9°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).
Color values
| HEX | #977D2C |
|---|---|
| RGB | rgb(151, 125, 44) |
| HSL | hsl(45, 55%, 38%) |
| HSV | hsv(45, 71%, 59%) |
| CMYK | cmyk(0%, 17.2%, 70.9%, 40.8%) |
| CIE-LAB | lab(53.42, 0.90, 46.04) |
| CIE-LCH | lch(53.42, 46.05, 88.88°) |
| OKLab | oklab(59.88% -0.0016 0.1032) |
| OKLCH | oklch(59.88% 0.103 90.9) |
| XYZ | xyz(20.5518, 21.4296, 5.4362) |
| Luminance | 0.2143 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Hazel
#8E7618
ΔE00 3.39
Puke Brown
#947706
ΔE00 3.69
Yellowish Brown
#9B7A01
ΔE00 3.93
Baby Poop
#937C00
ΔE00 4.08
Poo
#8F7303
ΔE00 4.68
Diarrhea
#9F8303
ΔE00 4.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#977D2C #2C4697
analogous
#97482C #977D2C #7B972C
triadic
#977D2C #2C977D #7D2C97
tetradic
#977D2C #2C9748 #2C4697 #972C7B
square
#977D2C #2C9748 #2C4697 #972C7B
split-complementary
#977D2C #2C7B97 #482C97
monochromatic
#382F10 #68561E #977D2C #C6A43A #D4BA6A
Accessibility & contrast
On white
3.97
#977D2C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.29
#977D2C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #977D2C
5.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##977D2C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##977D2C | 1.00 | 3.97 | 5.29 | 5.29 |
| #FFFFFF | 3.97 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.29 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.29 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8B7B21
Deuteranopia (green-blind)
#918330
Tritanopia (blue-blind)
#A3736C
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #977d2c; /* rgb */ color: rgb(151, 125, 44); /* oklch */ color: oklch(59.9% 0.103 90.9);
Tailwind
colors: {
custom: {
50: '#b9a26a',
500: '#977d2c',
950: '#000000',
},
}SCSS
$custom: #977d2c; $custom-light: #b9a26a; $custom-dark: #000000;
JSON
{
"hex": "#977d2c",
"rgb": {
"r": 151,
"g": 125,
"b": 44
},
"hsl": {
"h": 45.421,
"s": 54.872,
"l": 38.235
},
"oklch": {
"l": 0.59881,
"c": 0.10322,
"h": 90.9
},
"luminance": 0.21428
}Semantic roles & 50–950 ramp
primary
#977D2C
secondary
#6579BA
accent
#6EDE4A
background
#FBF9F6
surface
#F7F2EB
border
#D0CCC6
text
#120F07
muted
#817E7A