#997D1E#997D1E
#997D1E is a mid, moderate yellow. Relative luminance 0.215; OKLCH L 60.0% C 0.113 H 91.3°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).
Color values
| HEX | #997D1E |
|---|---|
| RGB | rgb(153, 125, 30) |
| HSL | hsl(46, 67%, 36%) |
| HSV | hsv(46, 80%, 60%) |
| CMYK | cmyk(0%, 18.3%, 80.4%, 40%) |
| CIE-LAB | lab(53.53, 1.16, 51.80) |
| CIE-LCH | lch(53.53, 51.82, 88.72°) |
| OKLab | oklab(59.99% -0.0026 0.1125) |
| OKLCH | oklch(59.99% 0.113 91.3) |
| XYZ | xyz(20.7061, 21.5346, 4.2940) |
| Luminance | 0.2153 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Yellowish Brown
#9B7A01
ΔE00 2.32
Puke Brown
#947706
ΔE00 2.54
Baby Poop
#937C00
ΔE00 2.81
Hazel
#8E7618
ΔE00 3.23
Diarrhea
#9F8303
ΔE00 3.28
Poo
#8F7303
ΔE00 3.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#997D1E #1E3A99
analogous
#993F1E #997D1E #77991E
triadic
#997D1E #1E997D #7D1E99
tetradic
#997D1E #1E993F #1E3A99 #991E77
square
#997D1E #1E993F #1E3A99 #991E77
split-complementary
#997D1E #1E7799 #3F1E99
monochromatic
#33290A #665314 #997D1E #CCA728 #DDBE54
Accessibility & contrast
On white
3.96
#997D1E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.31
#997D1E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #997D1E
5.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##997D1E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##997D1E | 1.00 | 3.96 | 5.31 | 5.31 |
| #FFFFFF | 3.96 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.31 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.31 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8C7B08
Deuteranopia (green-blind)
#938324
Tritanopia (blue-blind)
#A6726B
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #997d1e; /* rgb */ color: rgb(153, 125, 30); /* oklch */ color: oklch(60.0% 0.113 91.3);
Tailwind
colors: {
custom: {
50: '#bba262',
500: '#997d1e',
950: '#000000',
},
}SCSS
$custom: #997d1e; $custom-light: #bba262; $custom-dark: #000000;
JSON
{
"hex": "#997d1e",
"rgb": {
"r": 153,
"g": 125,
"b": 30
},
"hsl": {
"h": 46.341,
"s": 67.213,
"l": 35.882
},
"oklch": {
"l": 0.59988,
"c": 0.11253,
"h": 91.3
},
"luminance": 0.21533
}Semantic roles & 50–950 ramp
primary
#997D1E
secondary
#526BC1
accent
#65EA3E
background
#FCF9F6
surface
#F8F2EB
border
#D1CCC6
text
#120F06
muted
#817E7A