#977A1E#977A1E
#977A1E is a mid, moderate yellow. Relative luminance 0.206; OKLCH L 59.1% C 0.110 H 90.1°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).
Color values
| HEX | #977A1E |
|---|---|
| RGB | rgb(151, 122, 30) |
| HSL | hsl(46, 67%, 35%) |
| HSV | hsv(46, 80%, 59%) |
| CMYK | cmyk(0%, 19.2%, 80.1%, 40.8%) |
| CIE-LAB | lab(52.50, 1.92, 50.79) |
| CIE-LCH | lch(52.50, 50.83, 87.84°) |
| OKLab | oklab(59.13% -0.0003 0.1104) |
| OKLCH | oklch(59.13% 0.11 90.1) |
| XYZ | xyz(19.9576, 20.5934, 4.1518) |
| Luminance | 0.2059 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke Brown
#947706
ΔE00 1.97
Yellowish Brown
#9B7A01
ΔE00 2.30
Hazel
#8E7618
ΔE00 2.54
Poo
#8F7303
ΔE00 3.16
Baby Poop
#937C00
ΔE00 3.25
Diarrhea
#9F8303
ΔE00 4.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#977A1E #1E3B97
analogous
#973D1E #977A1E #77971E
triadic
#977A1E #1E977A #7A1E97
tetradic
#977A1E #1E973D #1E3B97 #971E77
square
#977A1E #1E973D #1E3B97 #971E77
split-complementary
#977A1E #1E7797 #3D1E97
monochromatic
#31270A #645114 #977A1E #CAA328 #DDBC53
Accessibility & contrast
On white
4.10
#977A1E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.12
#977A1E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #977A1E
5.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##977A1E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##977A1E | 1.00 | 4.10 | 5.12 | 5.12 |
| #FFFFFF | 4.10 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.12 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.12 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#89790A
Deuteranopia (green-blind)
#908124
Tritanopia (blue-blind)
#A46F69
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #977a1e; /* rgb */ color: rgb(151, 122, 30); /* oklch */ color: oklch(59.1% 0.110 90.1);
Tailwind
colors: {
custom: {
50: '#baa062',
500: '#977a1e',
950: '#000000',
},
}SCSS
$custom: #977a1e; $custom-light: #baa062; $custom-dark: #000000;
JSON
{
"hex": "#977a1e",
"rgb": {
"r": 151,
"g": 122,
"b": 30
},
"hsl": {
"h": 45.62,
"s": 66.851,
"l": 35.49
},
"oklch": {
"l": 0.59129,
"c": 0.11043,
"h": 90.1
},
"luminance": 0.20592
}Semantic roles & 50–950 ramp
primary
#977A1E
secondary
#516CC0
accent
#67EA3E
background
#FBF9F6
surface
#F7F2EB
border
#D0CCC6
text
#120E05
muted
#817E7A