#997A1F#997A1F
#997A1F is a mid, moderate orange. Relative luminance 0.208; OKLCH L 59.4% C 0.110 H 88.7°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).
Color values
| HEX | #997A1F |
|---|---|
| RGB | rgb(153, 122, 31) |
| HSL | hsl(45, 66%, 36%) |
| HSV | hsv(45, 80%, 60%) |
| CMYK | cmyk(0%, 20.3%, 79.7%, 40%) |
| CIE-LAB | lab(52.72, 2.89, 50.71) |
| CIE-LCH | lch(52.72, 50.79, 86.74°) |
| OKLab | oklab(59.35% 0.0025 0.1104) |
| OKLCH | oklch(59.35% 0.11 88.7) |
| XYZ | xyz(20.3450, 20.7917, 4.2377) |
| Luminance | 0.2079 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Yellowish Brown
#9B7A01
ΔE00 2.23
Puke Brown
#947706
ΔE00 2.33
Hazel
#8E7618
ΔE00 3.13
Poo
#8F7303
ΔE00 3.51
Baby Poop
#937C00
ΔE00 3.81
Diarrhea
#9F8303
ΔE00 4.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#997A1F #1F3E99
analogous
#993D1F #997A1F #7B991F
triadic
#997A1F #1F997A #7A1F99
tetradic
#997A1F #1F993D #1F3E99 #991F7B
square
#997A1F #1F993D #1F3E99 #991F7B
split-complementary
#997A1F #1F7B99 #3D1F99
monochromatic
#33290A #665115 #997A1F #CCA329 #DDBA56
Accessibility & contrast
On white
4.07
#997A1F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.16
#997A1F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #997A1F
5.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##997A1F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##997A1F | 1.00 | 4.07 | 5.16 | 5.16 |
| #FFFFFF | 4.07 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.16 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.16 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#89790C
Deuteranopia (green-blind)
#918124
Tritanopia (blue-blind)
#A66F69
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #997a1f; /* rgb */ color: rgb(153, 122, 31); /* oklch */ color: oklch(59.4% 0.110 88.7);
Tailwind
colors: {
custom: {
50: '#bba063',
500: '#997a1f',
950: '#000000',
},
}SCSS
$custom: #997a1f; $custom-light: #bba063; $custom-dark: #000000;
JSON
{
"hex": "#997a1f",
"rgb": {
"r": 153,
"g": 122,
"b": 31
},
"hsl": {
"h": 44.754,
"s": 66.304,
"l": 36.078
},
"oklch": {
"l": 0.59352,
"c": 0.1104,
"h": 88.7
},
"luminance": 0.2079
}Semantic roles & 50–950 ramp
primary
#997A1F
secondary
#546FC0
accent
#6AE93F
background
#FCF9F6
surface
#F8F2EB
border
#D1CCC6
text
#120E06
muted
#817E7A