#977E2A#977E2A
#977E2A is a mid, moderate yellow. Relative luminance 0.217; OKLCH L 60.1% C 0.105 H 92.0°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).
Color values
| HEX | #977E2A |
|---|---|
| RGB | rgb(151, 126, 42) |
| HSL | hsl(46, 56%, 38%) |
| HSV | hsv(46, 72%, 59%) |
| CMYK | cmyk(0%, 16.6%, 72.2%, 40.8%) |
| CIE-LAB | lab(53.67, 0.22, 47.17) |
| CIE-LCH | lch(53.67, 47.17, 89.73°) |
| OKLab | oklab(60.08% -0.0037 0.1052) |
| OKLCH | oklch(60.08% 0.105 92) |
| XYZ | xyz(20.6424, 21.6694, 5.2854) |
| Luminance | 0.2167 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Hazel
#8E7618
ΔE00 3.40
Baby Poop
#937C00
ΔE00 3.63
Puke Brown
#947706
ΔE00 3.64
Yellowish Brown
#9B7A01
ΔE00 3.85
Diarrhea
#9F8303
ΔE00 4.29
Poo
#8F7303
ΔE00 4.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#977E2A #2A4397
analogous
#97482A #977E2A #79972A
triadic
#977E2A #2A977E #7E2A97
tetradic
#977E2A #2A9748 #2A4397 #972A79
square
#977E2A #2A9748 #2A4397 #972A79
split-complementary
#977E2A #2A7997 #482A97
monochromatic
#372E0F #67561D #977E2A #C7A637 #D5BB67
Accessibility & contrast
On white
3.94
#977E2A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.33
#977E2A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #977E2A
5.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##977E2A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##977E2A | 1.00 | 3.94 | 5.33 | 5.33 |
| #FFFFFF | 3.94 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.33 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.33 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8C7C1E
Deuteranopia (green-blind)
#92832E
Tritanopia (blue-blind)
#A3746D
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #977e2a; /* rgb */ color: rgb(151, 126, 42); /* oklch */ color: oklch(60.1% 0.105 92.0);
Tailwind
colors: {
custom: {
50: '#b9a369',
500: '#977e2a',
950: '#000000',
},
}SCSS
$custom: #977e2a; $custom-light: #b9a369; $custom-dark: #000000;
JSON
{
"hex": "#977e2a",
"rgb": {
"r": 151,
"g": 126,
"b": 42
},
"hsl": {
"h": 46.239,
"s": 56.477,
"l": 37.843
},
"oklch": {
"l": 0.60079,
"c": 0.1053,
"h": 92
},
"luminance": 0.21668
}Semantic roles & 50–950 ramp
primary
#977E2A
secondary
#6276BB
accent
#6BE048
background
#FBF9F6
surface
#F7F2EB
border
#D0CCC6
text
#120F06
muted
#817E7A