#997C24#997C24
#997C24 is a mid, moderate yellow. Relative luminance 0.213; OKLCH L 59.8% C 0.109 H 89.8°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).
Color values
| HEX | #997C24 |
|---|---|
| RGB | rgb(153, 124, 36) |
| HSL | hsl(45, 62%, 37%) |
| HSV | hsv(45, 76%, 60%) |
| CMYK | cmyk(0%, 19%, 76.5%, 40%) |
| CIE-LAB | lab(53.29, 1.97, 49.34) |
| CIE-LCH | lch(53.29, 49.38, 87.71°) |
| OKLab | oklab(59.81% 0.0004 0.1085) |
| OKLCH | oklch(59.81% 0.109 89.8) |
| XYZ | xyz(20.6642, 21.3163, 4.6948) |
| Luminance | 0.2132 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Yellowish Brown
#9B7A01
ΔE00 2.73
Puke Brown
#947706
ΔE00 2.82
Hazel
#8E7618
ΔE00 3.25
Baby Poop
#937C00
ΔE00 3.66
Poo
#8F7303
ΔE00 4.05
Diarrhea
#9F8303
ΔE00 4.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#997C24 #244199
analogous
#994124 #997C24 #7C9924
triadic
#997C24 #24997C #7C2499
tetradic
#997C24 #249941 #244199 #99247C
square
#997C24 #249941 #244199 #99247C
split-complementary
#997C24 #247C99 #412499
monochromatic
#362C0D #675418 #997C24 #CBA430 #D9BB5E
Accessibility & contrast
On white
3.99
#997C24 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.26
#997C24 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #997C24
5.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##997C24 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##997C24 | 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)
#8B7B15
Deuteranopia (green-blind)
#928329
Tritanopia (blue-blind)
#A6716B
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #997c24; /* rgb */ color: rgb(153, 124, 36); /* oklch */ color: oklch(59.8% 0.109 89.8);
Tailwind
colors: {
custom: {
50: '#bba165',
500: '#997c24',
950: '#000000',
},
}SCSS
$custom: #997c24; $custom-light: #bba165; $custom-dark: #000000;
JSON
{
"hex": "#997c24",
"rgb": {
"r": 153,
"g": 124,
"b": 36
},
"hsl": {
"h": 45.128,
"s": 61.905,
"l": 37.059
},
"oklch": {
"l": 0.59814,
"c": 0.10854,
"h": 89.8
},
"luminance": 0.21315
}Semantic roles & 50–950 ramp
primary
#997C24
secondary
#5B73BE
accent
#6BE543
background
#FCF9F6
surface
#F8F2EB
border
#D1CCC6
text
#120E06
muted
#817E7A