#977E1A#977E1A
#977E1A is a mid, moderate yellow. Relative luminance 0.216; OKLCH L 60.0% C 0.115 H 93.7°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).
Color values
| HEX | #977E1A |
|---|---|
| RGB | rgb(151, 126, 26) |
| HSL | hsl(48, 71%, 35%) |
| HSV | hsv(48, 83%, 59%) |
| CMYK | cmyk(0%, 16.6%, 82.8%, 40.8%) |
| CIE-LAB | lab(53.58, -0.47, 53.10) |
| CIE-LCH | lch(53.58, 53.11, 90.51°) |
| OKLab | oklab(59.97% -0.0075 0.1145) |
| OKLCH | oklch(59.97% 0.115 93.7) |
| XYZ | xyz(20.4110, 21.5768, 4.0668) |
| Luminance | 0.2158 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 1.91
Puke Brown
#947706
ΔE00 2.77
Yellowish Brown
#9B7A01
ΔE00 2.84
Diarrhea
#9F8303
ΔE00 2.87
Hazel
#8E7618
ΔE00 3.21
Poo
#8F7303
ΔE00 4.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#977E1A #1A3397
analogous
#97401A #977E1A #72971A
triadic
#977E1A #1A977E #7E1A97
tetradic
#977E1A #1A9740 #1A3397 #971A72
square
#977E1A #1A9740 #1A3397 #971A72
split-complementary
#977E1A #1A7297 #401A97
monochromatic
#2F2708 #635211 #977E1A #CBAA23 #E0C24B
Accessibility & contrast
On white
3.95
#977E1A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.32
#977E1A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #977E1A
5.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##977E1A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##977E1A | 1.00 | 3.95 | 5.32 | 5.32 |
| #FFFFFF | 3.95 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.32 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.32 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8D7C00
Deuteranopia (green-blind)
#938321
Tritanopia (blue-blind)
#A4736C
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #977e1a; /* rgb */ color: rgb(151, 126, 26); /* oklch */ color: oklch(60.0% 0.115 93.7);
Tailwind
colors: {
custom: {
50: '#baa361',
500: '#977e1a',
950: '#000000',
},
}SCSS
$custom: #977e1a; $custom-light: #baa361; $custom-dark: #000000;
JSON
{
"hex": "#977e1a",
"rgb": {
"r": 151,
"g": 126,
"b": 26
},
"hsl": {
"h": 48,
"s": 70.621,
"l": 34.706
},
"oklch": {
"l": 0.59969,
"c": 0.11478,
"h": 93.7
},
"luminance": 0.21576
}Semantic roles & 50–950 ramp
primary
#977E1A
secondary
#4B63C2
accent
#5EED3A
background
#FBF9F6
surface
#F7F2EB
border
#D0CCC6
text
#120F05
muted
#817E7A