#997B1E#997B1E
#997B1E is a mid, moderate yellow. Relative luminance 0.210; OKLCH L 59.6% C 0.111 H 89.7°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).
Color values
| HEX | #997B1E |
|---|---|
| RGB | rgb(153, 123, 30) |
| HSL | hsl(45, 67%, 36%) |
| HSV | hsv(45, 80%, 60%) |
| CMYK | cmyk(0%, 19.6%, 80.4%, 40%) |
| CIE-LAB | lab(52.99, 2.28, 51.31) |
| CIE-LCH | lch(52.99, 51.36, 87.45°) |
| OKLab | oklab(59.56% 0.0007 0.1114) |
| OKLCH | oklch(59.56% 0.111 89.7) |
| XYZ | xyz(20.4554, 21.0333, 4.2105) |
| Luminance | 0.2103 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Yellowish Brown
#9B7A01
ΔE00 2.08
Puke Brown
#947706
ΔE00 2.24
Hazel
#8E7618
ΔE00 3.07
Baby Poop
#937C00
ΔE00 3.38
Poo
#8F7303
ΔE00 3.58
Diarrhea
#9F8303
ΔE00 3.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#997B1E #1E3C99
analogous
#993D1E #997B1E #79991E
triadic
#997B1E #1E997B #7B1E99
tetradic
#997B1E #1E993D #1E3C99 #991E79
square
#997B1E #1E993D #1E3C99 #991E79
split-complementary
#997B1E #1E7999 #3D1E99
monochromatic
#33290A #665214 #997B1E #CCA428 #DDBC54
Accessibility & contrast
On white
4.03
#997B1E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.21
#997B1E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #997B1E
5.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##997B1E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##997B1E | 1.00 | 4.03 | 5.21 | 5.21 |
| #FFFFFF | 4.03 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.21 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.21 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8A7A0A
Deuteranopia (green-blind)
#918224
Tritanopia (blue-blind)
#A67069
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #997b1e; /* rgb */ color: rgb(153, 123, 30); /* oklch */ color: oklch(59.6% 0.111 89.7);
Tailwind
colors: {
custom: {
50: '#bba062',
500: '#997b1e',
950: '#000000',
},
}SCSS
$custom: #997b1e; $custom-light: #bba062; $custom-dark: #000000;
JSON
{
"hex": "#997b1e",
"rgb": {
"r": 153,
"g": 123,
"b": 30
},
"hsl": {
"h": 45.366,
"s": 67.213,
"l": 35.882
},
"oklch": {
"l": 0.59559,
"c": 0.11144,
"h": 89.7
},
"luminance": 0.21032
}Semantic roles & 50–950 ramp
primary
#997B1E
secondary
#526DC1
accent
#68EA3E
background
#FCF9F6
surface
#F8F2EB
border
#D1CCC6
text
#120E05
muted
#817E7A