#997E22#997E22
#997E22 is a mid, moderate yellow. Relative luminance 0.218; OKLCH L 60.2% C 0.111 H 91.7°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).
Color values
| HEX | #997E22 |
|---|---|
| RGB | rgb(153, 126, 34) |
| HSL | hsl(46, 64%, 37%) |
| HSV | hsv(46, 78%, 60%) |
| CMYK | cmyk(0%, 17.6%, 77.8%, 40%) |
| CIE-LAB | lab(53.83, 0.76, 50.62) |
| CIE-LCH | lch(53.83, 50.62, 89.14°) |
| OKLab | oklab(60.23% -0.0033 0.1108) |
| OKLCH | oklch(60.23% 0.111 91.7) |
| XYZ | xyz(20.8877, 21.8108, 4.6228) |
| Luminance | 0.2181 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Yellowish Brown
#9B7A01
ΔE00 2.83
Baby Poop
#937C00
ΔE00 2.99
Puke Brown
#947706
ΔE00 3.00
Diarrhea
#9F8303
ΔE00 3.33
Hazel
#8E7618
ΔE00 3.43
Poo
#8F7303
ΔE00 4.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#997E22 #223D99
analogous
#994322 #997E22 #799922
triadic
#997E22 #22997E #7E2299
tetradic
#997E22 #229943 #223D99 #992279
square
#997E22 #229943 #223D99 #992279
split-complementary
#997E22 #227999 #432299
monochromatic
#352C0C #675517 #997E22 #CBA72D #DBBE5B
Accessibility & contrast
On white
3.92
#997E22 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.36
#997E22 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #997E22
5.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##997E22 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##997E22 | 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)
#8D7C11
Deuteranopia (green-blind)
#938427
Tritanopia (blue-blind)
#A6736C
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #997e22; /* rgb */ color: rgb(153, 126, 34); /* oklch */ color: oklch(60.2% 0.111 91.7);
Tailwind
colors: {
custom: {
50: '#bba365',
500: '#997e22',
950: '#000000',
},
}SCSS
$custom: #997e22; $custom-light: #bba365; $custom-dark: #000000;
JSON
{
"hex": "#997e22",
"rgb": {
"r": 153,
"g": 126,
"b": 34
},
"hsl": {
"h": 46.387,
"s": 63.636,
"l": 36.667
},
"oklch": {
"l": 0.60229,
"c": 0.11088,
"h": 91.7
},
"luminance": 0.2181
}Semantic roles & 50–950 ramp
primary
#997E22
secondary
#586FBF
accent
#67E741
background
#FCF9F6
surface
#F8F2EB
border
#D1CCC6
text
#120F06
muted
#817E7A