#997C22#997C22
#997C22 is a mid, moderate yellow. Relative luminance 0.213; OKLCH L 59.8% C 0.110 H 90.0°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).
Color values
| HEX | #997C22 |
|---|---|
| RGB | rgb(153, 124, 34) |
| HSL | hsl(45, 64%, 37%) |
| HSV | hsv(45, 78%, 60%) |
| CMYK | cmyk(0%, 19%, 77.8%, 40%) |
| CIE-LAB | lab(53.28, 1.88, 50.11) |
| CIE-LCH | lch(53.28, 50.14, 87.85°) |
| OKLab | oklab(59.8% -0.0001 0.1097) |
| OKLCH | oklch(59.8% 0.11 90) |
| XYZ | xyz(20.6345, 21.3044, 4.5384) |
| Luminance | 0.2130 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Yellowish Brown
#9B7A01
ΔE00 2.52
Puke Brown
#947706
ΔE00 2.64
Hazel
#8E7618
ΔE00 3.19
Baby Poop
#937C00
ΔE00 3.45
Poo
#8F7303
ΔE00 3.94
Diarrhea
#9F8303
ΔE00 3.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#997C22 #223F99
analogous
#994122 #997C22 #7B9922
triadic
#997C22 #22997C #7C2299
tetradic
#997C22 #229941 #223F99 #99227B
square
#997C22 #229941 #223F99 #99227B
split-complementary
#997C22 #227B99 #412299
monochromatic
#352B0C #675317 #997C22 #CBA52D #DBBB5B
Accessibility & contrast
On white
3.99
#997C22 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.26
#997C22 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #997C22
5.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##997C22 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##997C22 | 1.00 | 3.99 | 5.26 | 5.26 |
| #FFFFFF | 3.99 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.26 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.26 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8B7B12
Deuteranopia (green-blind)
#928327
Tritanopia (blue-blind)
#A6716B
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #997c22; /* rgb */ color: rgb(153, 124, 34); /* oklch */ color: oklch(59.8% 0.110 90.0);
Tailwind
colors: {
custom: {
50: '#bba164',
500: '#997c22',
950: '#000000',
},
}SCSS
$custom: #997c22; $custom-light: #bba164; $custom-dark: #000000;
JSON
{
"hex": "#997c22",
"rgb": {
"r": 153,
"g": 124,
"b": 34
},
"hsl": {
"h": 45.378,
"s": 63.636,
"l": 36.667
},
"oklch": {
"l": 0.59799,
"c": 0.10974,
"h": 90
},
"luminance": 0.21303
}Semantic roles & 50–950 ramp
primary
#997C22
secondary
#5871BF
accent
#69E741
background
#FCF9F6
surface
#F8F2EB
border
#D1CCC6
text
#120E06
muted
#817E7A