#997E1F#997E1F
#997E1F is a mid, moderate yellow. Relative luminance 0.218; OKLCH L 60.2% C 0.113 H 92.0°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).
Color values
| HEX | #997E1F |
|---|---|
| RGB | rgb(153, 126, 31) |
| HSL | hsl(47, 66%, 36%) |
| HSV | hsv(47, 80%, 60%) |
| CMYK | cmyk(0%, 17.6%, 79.7%, 40%) |
| CIE-LAB | lab(53.81, 0.64, 51.70) |
| CIE-LCH | lch(53.81, 51.71, 89.30°) |
| OKLab | oklab(60.21% -0.004 0.1125) |
| OKLCH | oklch(60.21% 0.113 92) |
| XYZ | xyz(20.8463, 21.7942, 4.4048) |
| Luminance | 0.2179 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Yellowish Brown
#9B7A01
ΔE00 2.63
Baby Poop
#937C00
ΔE00 2.71
Puke Brown
#947706
ΔE00 2.84
Diarrhea
#9F8303
ΔE00 3.06
Hazel
#8E7618
ΔE00 3.41
Poo
#8F7303
ΔE00 4.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#997E1F #1F3A99
analogous
#99411F #997E1F #77991F
triadic
#997E1F #1F997E #7E1F99
tetradic
#997E1F #1F9941 #1F3A99 #991F77
square
#997E1F #1F9941 #1F3A99 #991F77
split-complementary
#997E1F #1F7799 #411F99
monochromatic
#332A0A #665415 #997E1F #CCA829 #DDBF56
Accessibility & contrast
On white
3.92
#997E1F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.36
#997E1F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #997E1F
5.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##997E1F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##997E1F | 1.00 | 3.92 | 5.36 | 5.36 |
| #FFFFFF | 3.92 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.36 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.36 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8D7C0A
Deuteranopia (green-blind)
#938425
Tritanopia (blue-blind)
#A6736C
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #997e1f; /* rgb */ color: rgb(153, 126, 31); /* oklch */ color: oklch(60.2% 0.113 92.0);
Tailwind
colors: {
custom: {
50: '#bba363',
500: '#997e1f',
950: '#000000',
},
}SCSS
$custom: #997e1f; $custom-light: #bba363; $custom-dark: #000000;
JSON
{
"hex": "#997e1f",
"rgb": {
"r": 153,
"g": 126,
"b": 31
},
"hsl": {
"h": 46.721,
"s": 66.304,
"l": 36.078
},
"oklch": {
"l": 0.60209,
"c": 0.11257,
"h": 92
},
"luminance": 0.21793
}Semantic roles & 50–950 ramp
primary
#997E1F
secondary
#546CC0
accent
#64E93F
background
#FCF9F6
surface
#F8F2EB
border
#D1CCC6
text
#120F06
muted
#817E7A