#977D1E#977D1E
#977D1E is a mid, moderate yellow. Relative luminance 0.213; OKLCH L 59.8% C 0.112 H 92.6°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).
Color values
| HEX | #977D1E |
|---|---|
| RGB | rgb(151, 125, 30) |
| HSL | hsl(47, 67%, 35%) |
| HSV | hsv(47, 80%, 59%) |
| CMYK | cmyk(0%, 17.2%, 80.1%, 40.8%) |
| CIE-LAB | lab(53.32, 0.23, 51.54) |
| CIE-LCH | lch(53.32, 51.54, 89.74°) |
| OKLab | oklab(59.78% -0.0051 0.112) |
| OKLCH | oklch(59.78% 0.112 92.6) |
| XYZ | xyz(20.3316, 21.3415, 4.2765) |
| Luminance | 0.2134 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 2.40
Puke Brown
#947706
ΔE00 2.55
Yellowish Brown
#9B7A01
ΔE00 2.71
Hazel
#8E7618
ΔE00 2.90
Diarrhea
#9F8303
ΔE00 3.37
Poo
#8F7303
ΔE00 3.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#977D1E #1E3897
analogous
#97401E #977D1E #75971E
triadic
#977D1E #1E977D #7D1E97
tetradic
#977D1E #1E9740 #1E3897 #971E75
square
#977D1E #1E9740 #1E3897 #971E75
split-complementary
#977D1E #1E7597 #401E97
monochromatic
#31280A #645314 #977D1E #CAA728 #DDBF53
Accessibility & contrast
On white
3.99
#977D1E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.27
#977D1E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #977D1E
5.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##977D1E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##977D1E | 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)
#8C7B09
Deuteranopia (green-blind)
#928324
Tritanopia (blue-blind)
#A4726B
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #977d1e; /* rgb */ color: rgb(151, 125, 30); /* oklch */ color: oklch(59.8% 0.112 92.6);
Tailwind
colors: {
custom: {
50: '#baa262',
500: '#977d1e',
950: '#000000',
},
}SCSS
$custom: #977d1e; $custom-light: #baa262; $custom-dark: #000000;
JSON
{
"hex": "#977d1e",
"rgb": {
"r": 151,
"g": 125,
"b": 30
},
"hsl": {
"h": 47.107,
"s": 66.851,
"l": 35.49
},
"oklch": {
"l": 0.59775,
"c": 0.11215,
"h": 92.6
},
"luminance": 0.2134
}Semantic roles & 50–950 ramp
primary
#977D1E
secondary
#5169C0
accent
#63EA3E
background
#FBF9F6
surface
#F7F2EB
border
#D0CCC6
text
#120F06
muted
#817E7A