#997C25#997C25
#997C25 is a mid, moderate yellow. Relative luminance 0.213; OKLCH L 59.8% C 0.108 H 89.6°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).
Color values
| HEX | #997C25 |
|---|---|
| RGB | rgb(153, 124, 37) |
| HSL | hsl(45, 61%, 37%) |
| HSV | hsv(45, 76%, 60%) |
| CMYK | cmyk(0%, 19%, 75.8%, 40%) |
| CIE-LAB | lab(53.30, 2.02, 48.95) |
| CIE-LCH | lch(53.30, 48.99, 87.64°) |
| OKLab | oklab(59.82% 0.0007 0.1079) |
| OKLCH | oklch(59.82% 0.108 89.6) |
| XYZ | xyz(20.6796, 21.3225, 4.7763) |
| Luminance | 0.2132 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Yellowish Brown
#9B7A01
ΔE00 2.84
Puke Brown
#947706
ΔE00 2.92
Hazel
#8E7618
ΔE00 3.29
Baby Poop
#937C00
ΔE00 3.77
Poo
#8F7303
ΔE00 4.12
Diarrhea
#9F8303
ΔE00 4.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#997C25 #254299
analogous
#994225 #997C25 #7C9925
triadic
#997C25 #25997C #7C2599
tetradic
#997C25 #259942 #254299 #99257C
square
#997C25 #259942 #254299 #99257C
split-complementary
#997C25 #257C99 #422599
monochromatic
#362C0D #685419 #997C25 #CAA431 #D9BA60
Accessibility & contrast
On white
3.99
#997C25 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.26
#997C25 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #997C25
5.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##997C25 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##997C25 | 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)
#8B7B17
Deuteranopia (green-blind)
#92832A
Tritanopia (blue-blind)
#A6716B
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #997c25; /* rgb */ color: rgb(153, 124, 37); /* oklch */ color: oklch(59.8% 0.108 89.6);
Tailwind
colors: {
custom: {
50: '#bba166',
500: '#997c25',
950: '#000000',
},
}SCSS
$custom: #997c25; $custom-light: #bba166; $custom-dark: #000000;
JSON
{
"hex": "#997c25",
"rgb": {
"r": 153,
"g": 124,
"b": 37
},
"hsl": {
"h": 45,
"s": 61.053,
"l": 37.255
},
"oklch": {
"l": 0.59821,
"c": 0.10791,
"h": 89.6
},
"luminance": 0.21321
}Semantic roles & 50–950 ramp
primary
#997C25
secondary
#5C75BE
accent
#6CE444
background
#FCF9F6
surface
#F8F2EB
border
#D1CCC6
text
#120E06
muted
#817E7A