#997C23#997C23
#997C23 is a mid, moderate yellow. Relative luminance 0.213; OKLCH L 59.8% C 0.109 H 89.9°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).
Color values
| HEX | #997C23 |
|---|---|
| RGB | rgb(153, 124, 35) |
| HSL | hsl(45, 63%, 37%) |
| HSV | hsv(45, 77%, 60%) |
| CMYK | cmyk(0%, 19%, 77.1%, 40%) |
| CIE-LAB | lab(53.29, 1.93, 49.73) |
| CIE-LCH | lch(53.29, 49.76, 87.78°) |
| OKLab | oklab(59.81% 0.0002 0.1092) |
| OKLCH | oklch(59.81% 0.109 89.9) |
| XYZ | xyz(20.6491, 21.3103, 4.6155) |
| Luminance | 0.2131 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Yellowish Brown
#9B7A01
ΔE00 2.62
Puke Brown
#947706
ΔE00 2.73
Hazel
#8E7618
ΔE00 3.22
Baby Poop
#937C00
ΔE00 3.55
Poo
#8F7303
ΔE00 4.00
Diarrhea
#9F8303
ΔE00 4.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#997C23 #234099
analogous
#994123 #997C23 #7B9923
triadic
#997C23 #23997C #7C2399
tetradic
#997C23 #239941 #234099 #99237B
square
#997C23 #239941 #234099 #99237B
split-complementary
#997C23 #237B99 #412399
monochromatic
#352B0C #675418 #997C23 #CBA42E #DABB5D
Accessibility & contrast
On white
3.99
#997C23 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.26
#997C23 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #997C23
5.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##997C23 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##997C23 | 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)
#8B7B13
Deuteranopia (green-blind)
#928328
Tritanopia (blue-blind)
#A6716B
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #997c23; /* rgb */ color: rgb(153, 124, 35); /* oklch */ color: oklch(59.8% 0.109 89.9);
Tailwind
colors: {
custom: {
50: '#bba165',
500: '#997c23',
950: '#000000',
},
}SCSS
$custom: #997c23; $custom-light: #bba165; $custom-dark: #000000;
JSON
{
"hex": "#997c23",
"rgb": {
"r": 153,
"g": 124,
"b": 35
},
"hsl": {
"h": 45.254,
"s": 62.766,
"l": 36.863
},
"oklch": {
"l": 0.59806,
"c": 0.10915,
"h": 89.9
},
"luminance": 0.21309
}Semantic roles & 50–950 ramp
primary
#997C23
secondary
#5972BE
accent
#6AE642
background
#FCF9F6
surface
#F8F2EB
border
#D1CCC6
text
#120E06
muted
#817E7A