#977D2B#977D2B
#977D2B is a mid, moderate yellow. Relative luminance 0.214; OKLCH L 59.9% C 0.104 H 91.0°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).
Color values
| HEX | #977D2B |
|---|---|
| RGB | rgb(151, 125, 43) |
| HSL | hsl(46, 56%, 38%) |
| HSV | hsv(46, 72%, 59%) |
| CMYK | cmyk(0%, 17.2%, 71.5%, 40.8%) |
| CIE-LAB | lab(53.41, 0.84, 46.47) |
| CIE-LCH | lch(53.41, 46.48, 88.96°) |
| OKLab | oklab(59.87% -0.0019 0.1039) |
| OKLCH | oklch(59.87% 0.104 91) |
| XYZ | xyz(20.5333, 21.4222, 5.3384) |
| Luminance | 0.2142 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Hazel
#8E7618
ΔE00 3.32
Puke Brown
#947706
ΔE00 3.58
Yellowish Brown
#9B7A01
ΔE00 3.82
Baby Poop
#937C00
ΔE00 3.94
Poo
#8F7303
ΔE00 4.59
Diarrhea
#9F8303
ΔE00 4.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#977D2B #2B4597
analogous
#97472B #977D2B #7B972B
triadic
#977D2B #2B977D #7D2B97
tetradic
#977D2B #2B9747 #2B4597 #972B7B
square
#977D2B #2B9747 #2B4597 #972B7B
split-complementary
#977D2B #2B7B97 #472B97
monochromatic
#382E10 #67561D #977D2B #C7A439 #D4BA68
Accessibility & contrast
On white
3.97
#977D2B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.28
#977D2B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #977D2B
5.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##977D2B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##977D2B | 1.00 | 3.97 | 5.28 | 5.28 |
| #FFFFFF | 3.97 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.28 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.28 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8B7B20
Deuteranopia (green-blind)
#91832F
Tritanopia (blue-blind)
#A3736C
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #977d2b; /* rgb */ color: rgb(151, 125, 43); /* oklch */ color: oklch(59.9% 0.104 91.0);
Tailwind
colors: {
custom: {
50: '#b9a269',
500: '#977d2b',
950: '#000000',
},
}SCSS
$custom: #977d2b; $custom-light: #b9a269; $custom-dark: #000000;
JSON
{
"hex": "#977d2b",
"rgb": {
"r": 151,
"g": 125,
"b": 43
},
"hsl": {
"h": 45.556,
"s": 55.67,
"l": 38.039
},
"oklch": {
"l": 0.59872,
"c": 0.10396,
"h": 91
},
"luminance": 0.21421
}Semantic roles & 50–950 ramp
primary
#977D2B
secondary
#6378BB
accent
#6DDF49
background
#FBF9F6
surface
#F7F2EB
border
#D0CCC6
text
#120F07
muted
#817E7A