#997C1F#997C1F
#997C1F is a mid, moderate yellow. Relative luminance 0.213; OKLCH L 59.8% C 0.111 H 90.4°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).
Color values
| HEX | #997C1F |
|---|---|
| RGB | rgb(153, 124, 31) |
| HSL | hsl(46, 66%, 36%) |
| HSV | hsv(46, 80%, 60%) |
| CMYK | cmyk(0%, 19%, 79.7%, 40%) |
| CIE-LAB | lab(53.26, 1.76, 51.20) |
| CIE-LCH | lch(53.26, 51.23, 88.03°) |
| OKLab | oklab(59.78% -0.0007 0.1114) |
| OKLCH | oklch(59.78% 0.111 90.4) |
| XYZ | xyz(20.5931, 21.2879, 4.3204) |
| Luminance | 0.2129 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Yellowish Brown
#9B7A01
ΔE00 2.23
Puke Brown
#947706
ΔE00 2.41
Hazel
#8E7618
ΔE00 3.13
Baby Poop
#937C00
ΔE00 3.16
Diarrhea
#9F8303
ΔE00 3.70
Poo
#8F7303
ΔE00 3.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#997C1F #1F3C99
analogous
#993F1F #997C1F #79991F
triadic
#997C1F #1F997C #7C1F99
tetradic
#997C1F #1F993F #1F3C99 #991F79
square
#997C1F #1F993F #1F3C99 #991F79
split-complementary
#997C1F #1F7999 #3F1F99
monochromatic
#332A0A #665315 #997C1F #CCA529 #DDBD56
Accessibility & contrast
On white
3.99
#997C1F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.26
#997C1F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #997C1F
5.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##997C1F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##997C1F | 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)
#8B7A0B
Deuteranopia (green-blind)
#928325
Tritanopia (blue-blind)
#A6716A
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #997c1f; /* rgb */ color: rgb(153, 124, 31); /* oklch */ color: oklch(59.8% 0.111 90.4);
Tailwind
colors: {
custom: {
50: '#bba163',
500: '#997c1f',
950: '#000000',
},
}SCSS
$custom: #997c1f; $custom-light: #bba163; $custom-dark: #000000;
JSON
{
"hex": "#997c1f",
"rgb": {
"r": 153,
"g": 124,
"b": 31
},
"hsl": {
"h": 45.738,
"s": 66.304,
"l": 36.078
},
"oklch": {
"l": 0.5978,
"c": 0.11144,
"h": 90.4
},
"luminance": 0.21287
}Semantic roles & 50–950 ramp
primary
#997C1F
secondary
#546DC0
accent
#67E93F
background
#FCF9F6
surface
#F8F2EB
border
#D1CCC6
text
#120E06
muted
#817E7A