#997E21#997E21
#997E21 is a mid, moderate yellow. Relative luminance 0.218; OKLCH L 60.2% C 0.111 H 91.8°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).
Color values
| HEX | #997E21 |
|---|---|
| RGB | rgb(153, 126, 33) |
| HSL | hsl(47, 65%, 36%) |
| HSV | hsv(47, 78%, 60%) |
| CMYK | cmyk(0%, 17.6%, 78.4%, 40%) |
| CIE-LAB | lab(53.82, 0.72, 50.99) |
| CIE-LCH | lch(53.82, 50.99, 89.20°) |
| OKLab | oklab(60.22% -0.0035 0.1114) |
| OKLCH | oklch(60.22% 0.111 91.8) |
| XYZ | xyz(20.8734, 21.8051, 4.5479) |
| Luminance | 0.2180 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Yellowish Brown
#9B7A01
ΔE00 2.76
Baby Poop
#937C00
ΔE00 2.89
Puke Brown
#947706
ΔE00 2.94
Diarrhea
#9F8303
ΔE00 3.24
Hazel
#8E7618
ΔE00 3.42
Poo
#8F7303
ΔE00 4.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#997E21 #213C99
analogous
#994221 #997E21 #789921
triadic
#997E21 #21997E #7E2199
tetradic
#997E21 #219942 #213C99 #992178
square
#997E21 #219942 #213C99 #992178
split-complementary
#997E21 #217899 #422199
monochromatic
#342B0B #675516 #997E21 #CBA72C #DBBE59
Accessibility & contrast
On white
3.92
#997E21 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.36
#997E21 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #997E21
5.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##997E21 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##997E21 | 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)
#8D7C0F
Deuteranopia (green-blind)
#938427
Tritanopia (blue-blind)
#A6736C
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #997e21; /* rgb */ color: rgb(153, 126, 33); /* oklch */ color: oklch(60.2% 0.111 91.8);
Tailwind
colors: {
custom: {
50: '#bba364',
500: '#997e21',
950: '#000000',
},
}SCSS
$custom: #997e21; $custom-light: #bba364; $custom-dark: #000000;
JSON
{
"hex": "#997e21",
"rgb": {
"r": 153,
"g": 126,
"b": 33
},
"hsl": {
"h": 46.5,
"s": 64.516,
"l": 36.471
},
"oklch": {
"l": 0.60222,
"c": 0.11147,
"h": 91.8
},
"luminance": 0.21804
}Semantic roles & 50–950 ramp
primary
#997E21
secondary
#566EBF
accent
#66E840
background
#FCF9F6
surface
#F8F2EB
border
#D1CCC6
text
#120F06
muted
#817E7A