#977D1D#977D1D
#977D1D is a mid, moderate yellow. Relative luminance 0.213; OKLCH L 59.8% C 0.113 H 92.7°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).
Color values
| HEX | #977D1D |
|---|---|
| RGB | rgb(151, 125, 29) |
| HSL | hsl(47, 68%, 35%) |
| HSV | hsv(47, 81%, 59%) |
| CMYK | cmyk(0%, 17.2%, 80.8%, 40.8%) |
| CIE-LAB | lab(53.32, 0.19, 51.88) |
| CIE-LCH | lch(53.32, 51.88, 89.79°) |
| OKLab | oklab(59.77% -0.0053 0.1126) |
| OKLCH | oklch(59.77% 0.113 92.7) |
| XYZ | xyz(20.3191, 21.3365, 4.2103) |
| Luminance | 0.2134 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 2.30
Puke Brown
#947706
ΔE00 2.50
Yellowish Brown
#9B7A01
ΔE00 2.66
Hazel
#8E7618
ΔE00 2.90
Diarrhea
#9F8303
ΔE00 3.29
Poo
#8F7303
ΔE00 3.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#977D1D #1D3797
analogous
#97401D #977D1D #74971D
triadic
#977D1D #1D977D #7D1D97
tetradic
#977D1D #1D9740 #1D3797 #971D74
square
#977D1D #1D9740 #1D3797 #971D74
split-complementary
#977D1D #1D7497 #401D97
monochromatic
#302809 #645213 #977D1D #CAA727 #DEC051
Accessibility & contrast
On white
3.99
#977D1D on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.27
#977D1D on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #977D1D
5.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##977D1D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##977D1D | 1.00 | 3.99 | 5.27 | 5.27 |
| #FFFFFF | 3.99 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.27 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.27 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8C7B06
Deuteranopia (green-blind)
#928323
Tritanopia (blue-blind)
#A4726B
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #977d1d; /* rgb */ color: rgb(151, 125, 29); /* oklch */ color: oklch(59.8% 0.113 92.7);
Tailwind
colors: {
custom: {
50: '#baa262',
500: '#977d1d',
950: '#000000',
},
}SCSS
$custom: #977d1d; $custom-light: #baa262; $custom-dark: #000000;
JSON
{
"hex": "#977d1d",
"rgb": {
"r": 151,
"g": 125,
"b": 29
},
"hsl": {
"h": 47.213,
"s": 67.778,
"l": 35.294
},
"oklch": {
"l": 0.59769,
"c": 0.11267,
"h": 92.7
},
"luminance": 0.21335
}Semantic roles & 50–950 ramp
primary
#977D1D
secondary
#4F67C0
accent
#62EB3D
background
#FBF9F6
surface
#F7F2EB
border
#D0CCC6
text
#120F05
muted
#817E7A