#977B1E#977B1E
#977B1E is a mid, moderate yellow. Relative luminance 0.208; OKLCH L 59.3% C 0.111 H 91.0°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).
Color values
| HEX | #977B1E |
|---|---|
| RGB | rgb(151, 123, 30) |
| HSL | hsl(46, 67%, 35%) |
| HSV | hsv(46, 80%, 59%) |
| CMYK | cmyk(0%, 18.5%, 80.1%, 40.8%) |
| CIE-LAB | lab(52.77, 1.36, 51.04) |
| CIE-LCH | lch(52.77, 51.06, 88.48°) |
| OKLab | oklab(59.34% -0.0019 0.111) |
| OKLCH | oklch(59.34% 0.111 91) |
| XYZ | xyz(20.0810, 20.8402, 4.1929) |
| Luminance | 0.2084 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke Brown
#947706
ΔE00 2.07
Yellowish Brown
#9B7A01
ΔE00 2.35
Hazel
#8E7618
ΔE00 2.58
Baby Poop
#937C00
ΔE00 2.91
Poo
#8F7303
ΔE00 3.35
Diarrhea
#9F8303
ΔE00 3.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#977B1E #1E3A97
analogous
#973F1E #977B1E #76971E
triadic
#977B1E #1E977B #7B1E97
tetradic
#977B1E #1E973F #1E3A97 #971E76
square
#977B1E #1E973F #1E3A97 #971E76
split-complementary
#977B1E #1E7697 #3F1E97
monochromatic
#31280A #645114 #977B1E #CAA528 #DDBD53
Accessibility & contrast
On white
4.06
#977B1E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.17
#977B1E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #977B1E
5.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##977B1E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##977B1E | 1.00 | 4.06 | 5.17 | 5.17 |
| #FFFFFF | 4.06 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.17 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.17 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8A790A
Deuteranopia (green-blind)
#918124
Tritanopia (blue-blind)
#A47069
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #977b1e; /* rgb */ color: rgb(151, 123, 30); /* oklch */ color: oklch(59.3% 0.111 91.0);
Tailwind
colors: {
custom: {
50: '#baa062',
500: '#977b1e',
950: '#000000',
},
}SCSS
$custom: #977b1e; $custom-light: #baa062; $custom-dark: #000000;
JSON
{
"hex": "#977b1e",
"rgb": {
"r": 151,
"g": 123,
"b": 30
},
"hsl": {
"h": 46.116,
"s": 66.851,
"l": 35.49
},
"oklch": {
"l": 0.59344,
"c": 0.11098,
"h": 91
},
"luminance": 0.20839
}Semantic roles & 50–950 ramp
primary
#977B1E
secondary
#516BC0
accent
#66EA3E
background
#FBF9F6
surface
#F7F2EB
border
#D0CCC6
text
#120E05
muted
#817E7A