#977F1D#977F1D
#977F1D is a mid, moderate yellow. Relative luminance 0.218; OKLCH L 60.2% C 0.114 H 94.3°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).
Color values
| HEX | #977F1D |
|---|---|
| RGB | rgb(151, 127, 29) |
| HSL | hsl(48, 68%, 35%) |
| HSV | hsv(48, 81%, 59%) |
| CMYK | cmyk(0%, 15.9%, 80.8%, 40.8%) |
| CIE-LAB | lab(53.87, -0.93, 52.37) |
| CIE-LCH | lch(53.87, 52.38, 91.01°) |
| OKLab | oklab(60.2% -0.0085 0.1136) |
| OKLCH | oklch(60.2% 0.114 94.3) |
| XYZ | xyz(20.5748, 21.8480, 4.2955) |
| Luminance | 0.2185 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 2.13
Diarrhea
#9F8303
ΔE00 2.89
Puke Brown
#947706
ΔE00 3.21
Yellowish Brown
#9B7A01
ΔE00 3.28
Hazel
#8E7618
ΔE00 3.47
Poo
#8F7303
ΔE00 4.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#977F1D #1D3597
analogous
#97421D #977F1D #72971D
triadic
#977F1D #1D977F #7F1D97
tetradic
#977F1D #1D9742 #1D3597 #971D72
square
#977F1D #1D9742 #1D3597 #971D72
split-complementary
#977F1D #1D7297 #421D97
monochromatic
#302909 #645413 #977F1D #CAAA27 #DEC251
Accessibility & contrast
On white
3.91
#977F1D on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.37
#977F1D on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #977F1D
5.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##977F1D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##977F1D | 1.00 | 3.91 | 5.37 | 5.37 |
| #FFFFFF | 3.91 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.37 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.37 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8D7D05
Deuteranopia (green-blind)
#938424
Tritanopia (blue-blind)
#A4746D
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #977f1d; /* rgb */ color: rgb(151, 127, 29); /* oklch */ color: oklch(60.2% 0.114 94.3);
Tailwind
colors: {
custom: {
50: '#baa362',
500: '#977f1d',
950: '#000000',
},
}SCSS
$custom: #977f1d; $custom-light: #baa362; $custom-dark: #000000;
JSON
{
"hex": "#977f1d",
"rgb": {
"r": 151,
"g": 127,
"b": 29
},
"hsl": {
"h": 48.197,
"s": 67.778,
"l": 35.294
},
"oklch": {
"l": 0.60203,
"c": 0.11394,
"h": 94.3
},
"luminance": 0.21847
}Semantic roles & 50–950 ramp
primary
#977F1D
secondary
#4F66C0
accent
#5FEB3D
background
#FBFAF6
surface
#F7F3EB
border
#D0CDC6
text
#120F06
muted
#817F7A