#997C1E#997C1E
#997C1E is a mid, moderate yellow. Relative luminance 0.213; OKLCH L 59.8% C 0.112 H 90.5°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).
Color values
| HEX | #997C1E |
|---|---|
| RGB | rgb(153, 124, 30) |
| HSL | hsl(46, 67%, 36%) |
| HSV | hsv(46, 80%, 60%) |
| CMYK | cmyk(0%, 19%, 80.4%, 40%) |
| CIE-LAB | lab(53.26, 1.72, 51.56) |
| CIE-LCH | lch(53.26, 51.58, 88.09°) |
| OKLab | oklab(59.77% -0.001 0.112) |
| OKLCH | oklch(59.77% 0.112 90.5) |
| XYZ | xyz(20.5801, 21.2827, 4.2520) |
| Luminance | 0.2128 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Yellowish Brown
#9B7A01
ΔE00 2.15
Puke Brown
#947706
ΔE00 2.35
Baby Poop
#937C00
ΔE00 3.07
Hazel
#8E7618
ΔE00 3.12
Diarrhea
#9F8303
ΔE00 3.62
Poo
#8F7303
ΔE00 3.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#997C1E #1E3B99
analogous
#993F1E #997C1E #78991E
triadic
#997C1E #1E997C #7C1E99
tetradic
#997C1E #1E993F #1E3B99 #991E78
square
#997C1E #1E993F #1E3B99 #991E78
split-complementary
#997C1E #1E7899 #3F1E99
monochromatic
#33290A #665314 #997C1E #CCA528 #DDBD54
Accessibility & contrast
On white
4.00
#997C1E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.26
#997C1E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #997C1E
5.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##997C1E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##997C1E | 1.00 | 4.00 | 5.26 | 5.26 |
| #FFFFFF | 4.00 | 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)
#8B7A09
Deuteranopia (green-blind)
#928324
Tritanopia (blue-blind)
#A6716A
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #997c1e; /* rgb */ color: rgb(153, 124, 30); /* oklch */ color: oklch(59.8% 0.112 90.5);
Tailwind
colors: {
custom: {
50: '#bba162',
500: '#997c1e',
950: '#000000',
},
}SCSS
$custom: #997c1e; $custom-light: #bba162; $custom-dark: #000000;
JSON
{
"hex": "#997c1e",
"rgb": {
"r": 153,
"g": 124,
"b": 30
},
"hsl": {
"h": 45.854,
"s": 67.213,
"l": 35.882
},
"oklch": {
"l": 0.59773,
"c": 0.11197,
"h": 90.5
},
"luminance": 0.21281
}Semantic roles & 50–950 ramp
primary
#997C1E
secondary
#526CC1
accent
#66EA3E
background
#FCF9F6
surface
#F8F2EB
border
#D1CCC6
text
#120E06
muted
#817E7A