#997E20#997E20
#997E20 is a mid, moderate yellow. Relative luminance 0.218; OKLCH L 60.2% C 0.112 H 91.9°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).
Color values
| HEX | #997E20 |
|---|---|
| RGB | rgb(153, 126, 32) |
| HSL | hsl(47, 65%, 36%) |
| HSV | hsv(47, 79%, 60%) |
| CMYK | cmyk(0%, 17.6%, 79.1%, 40%) |
| CIE-LAB | lab(53.81, 0.68, 51.35) |
| CIE-LCH | lch(53.81, 51.35, 89.25°) |
| OKLab | oklab(60.22% -0.0037 0.112) |
| OKLCH | oklch(60.22% 0.112 91.9) |
| XYZ | xyz(20.8596, 21.7996, 4.4753) |
| Luminance | 0.2180 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Yellowish Brown
#9B7A01
ΔE00 2.69
Baby Poop
#937C00
ΔE00 2.80
Puke Brown
#947706
ΔE00 2.89
Diarrhea
#9F8303
ΔE00 3.15
Hazel
#8E7618
ΔE00 3.41
Poo
#8F7303
ΔE00 4.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#997E20 #203B99
analogous
#994220 #997E20 #789920
triadic
#997E20 #20997E #7E2099
tetradic
#997E20 #209942 #203B99 #992078
square
#997E20 #209942 #203B99 #992078
split-complementary
#997E20 #207899 #422099
monochromatic
#342B0B #665415 #997E20 #CCA82B #DCBE57
Accessibility & contrast
On white
3.92
#997E20 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.36
#997E20 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #997E20
5.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##997E20 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##997E20 | 1.00 | 3.92 | 5.36 | 5.36 |
| #FFFFFF | 3.92 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.36 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.36 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8D7C0D
Deuteranopia (green-blind)
#938426
Tritanopia (blue-blind)
#A6736C
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #997e20; /* rgb */ color: rgb(153, 126, 32); /* oklch */ color: oklch(60.2% 0.112 91.9);
Tailwind
colors: {
custom: {
50: '#bba364',
500: '#997e20',
950: '#000000',
},
}SCSS
$custom: #997e20; $custom-light: #bba364; $custom-dark: #000000;
JSON
{
"hex": "#997e20",
"rgb": {
"r": 153,
"g": 126,
"b": 32
},
"hsl": {
"h": 46.612,
"s": 65.405,
"l": 36.275
},
"oklch": {
"l": 0.60216,
"c": 0.11202,
"h": 91.9
},
"luminance": 0.21798
}Semantic roles & 50–950 ramp
primary
#997E20
secondary
#556DC0
accent
#65E83F
background
#FCF9F6
surface
#F8F2EB
border
#D1CCC6
text
#120F06
muted
#817E7A