#997B20#997B20
#997B20 is a mid, moderate yellow. Relative luminance 0.210; OKLCH L 59.6% C 0.110 H 89.4°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).
Color values
| HEX | #997B20 |
|---|---|
| RGB | rgb(153, 123, 32) |
| HSL | hsl(45, 65%, 36%) |
| HSV | hsv(45, 79%, 60%) |
| CMYK | cmyk(0%, 19.6%, 79.1%, 40%) |
| CIE-LAB | lab(53.00, 2.36, 50.59) |
| CIE-LCH | lch(53.00, 50.65, 87.33°) |
| OKLab | oklab(59.57% 0.0011 0.1104) |
| OKLCH | oklch(59.57% 0.11 89.4) |
| XYZ | xyz(20.4818, 21.0438, 4.3493) |
| Luminance | 0.2104 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Yellowish Brown
#9B7A01
ΔE00 2.28
Puke Brown
#947706
ΔE00 2.41
Hazel
#8E7618
ΔE00 3.11
Baby Poop
#937C00
ΔE00 3.56
Poo
#8F7303
ΔE00 3.68
Diarrhea
#9F8303
ΔE00 4.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#997B20 #203E99
analogous
#993F20 #997B20 #7B9920
triadic
#997B20 #20997B #7B2099
tetradic
#997B20 #20993F #203E99 #99207B
square
#997B20 #20993F #203E99 #99207B
split-complementary
#997B20 #207B99 #3F2099
monochromatic
#342A0B #665215 #997B20 #CCA42B #DCBB57
Accessibility & contrast
On white
4.03
#997B20 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.21
#997B20 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #997B20
5.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##997B20 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##997B20 | 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)
#8A7A0E
Deuteranopia (green-blind)
#918225
Tritanopia (blue-blind)
#A6706A
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #997b20; /* rgb */ color: rgb(153, 123, 32); /* oklch */ color: oklch(59.6% 0.110 89.4);
Tailwind
colors: {
custom: {
50: '#bba063',
500: '#997b20',
950: '#000000',
},
}SCSS
$custom: #997b20; $custom-light: #bba063; $custom-dark: #000000;
JSON
{
"hex": "#997b20",
"rgb": {
"r": 153,
"g": 123,
"b": 32
},
"hsl": {
"h": 45.124,
"s": 65.405,
"l": 36.275
},
"oklch": {
"l": 0.59572,
"c": 0.11036,
"h": 89.4
},
"luminance": 0.21043
}Semantic roles & 50–950 ramp
primary
#997B20
secondary
#556FC0
accent
#69E83F
background
#FCF9F6
surface
#F8F2EB
border
#D1CCC6
text
#120E06
muted
#817E7A