#977E20#977E20
#977E20 is a mid, moderate yellow. Relative luminance 0.216; OKLCH L 60.0% C 0.112 H 93.2°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).
Color values
| HEX | #977E20 |
|---|---|
| RGB | rgb(151, 126, 32) |
| HSL | hsl(47, 65%, 36%) |
| HSV | hsv(47, 79%, 59%) |
| CMYK | cmyk(0%, 16.6%, 78.8%, 40.8%) |
| CIE-LAB | lab(53.61, -0.25, 51.08) |
| CIE-LCH | lch(53.61, 51.08, 90.28°) |
| OKLab | oklab(60.01% -0.0062 0.1115) |
| OKLCH | oklch(60.01% 0.112 93.2) |
| XYZ | xyz(20.4852, 21.6065, 4.4577) |
| Luminance | 0.2160 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 2.45
Puke Brown
#947706
ΔE00 2.96
Yellowish Brown
#9B7A01
ΔE00 3.09
Hazel
#8E7618
ΔE00 3.15
Diarrhea
#9F8303
ΔE00 3.29
Poo
#8F7303
ΔE00 4.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#977E20 #203997
analogous
#974220 #977E20 #749720
triadic
#977E20 #20977E #7E2097
tetradic
#977E20 #209742 #203997 #972074
square
#977E20 #209742 #203997 #972074
split-complementary
#977E20 #207497 #422097
monochromatic
#322A0B #645415 #977E20 #C9A82B #DBBF56
Accessibility & contrast
On white
3.95
#977E20 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.32
#977E20 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #977E20
5.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##977E20 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##977E20 | 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)
#8C7C0D
Deuteranopia (green-blind)
#938326
Tritanopia (blue-blind)
#A4736C
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #977e20; /* rgb */ color: rgb(151, 126, 32); /* oklch */ color: oklch(60.0% 0.112 93.2);
Tailwind
colors: {
custom: {
50: '#baa363',
500: '#977e20',
950: '#000000',
},
}SCSS
$custom: #977e20; $custom-light: #baa363; $custom-dark: #000000;
JSON
{
"hex": "#977e20",
"rgb": {
"r": 151,
"g": 126,
"b": 32
},
"hsl": {
"h": 47.395,
"s": 65.027,
"l": 35.882
},
"oklch": {
"l": 0.60005,
"c": 0.11167,
"h": 93.2
},
"luminance": 0.21605
}Semantic roles & 50–950 ramp
primary
#977E20
secondary
#546ABF
accent
#63E840
background
#FBF9F6
surface
#F7F2EB
border
#D0CCC6
text
#120F06
muted
#817E7A