#997E2B#997E2B
#997E2B is a mid, moderate yellow. Relative luminance 0.219; OKLCH L 60.3% C 0.105 H 90.5°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).
Color values
| HEX | #997E2B |
|---|---|
| RGB | rgb(153, 126, 43) |
| HSL | hsl(45, 56%, 38%) |
| HSV | hsv(45, 72%, 60%) |
| CMYK | cmyk(0%, 17.6%, 71.9%, 40%) |
| CIE-LAB | lab(53.89, 1.20, 47.02) |
| CIE-LCH | lch(53.89, 47.04, 88.54°) |
| OKLab | oklab(60.3% -0.001 0.105) |
| OKLCH | oklch(60.3% 0.105 90.5) |
| XYZ | xyz(21.0349, 21.8697, 5.3984) |
| Luminance | 0.2187 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Yellowish Brown
#9B7A01
ΔE00 3.67
Puke Brown
#947706
ΔE00 3.72
Hazel
#8E7618
ΔE00 3.74
Baby Poop
#937C00
ΔE00 4.04
Diarrhea
#9F8303
ΔE00 4.34
Poo
#8F7303
ΔE00 4.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#997E2B #2B4699
analogous
#99472B #997E2B #7D992B
triadic
#997E2B #2B997E #7E2B99
tetradic
#997E2B #2B9947 #2B4699 #992B7D
square
#997E2B #2B9947 #2B4699 #992B7D
split-complementary
#997E2B #2B7D99 #472B99
monochromatic
#392F10 #69571E #997E2B #C8A53A #D5BB69
Accessibility & contrast
On white
3.91
#997E2B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.37
#997E2B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #997E2B
5.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##997E2B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##997E2B | 1.00 | 3.91 | 5.37 | 5.37 |
| #FFFFFF | 3.91 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.37 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.37 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8C7C20
Deuteranopia (green-blind)
#93842F
Tritanopia (blue-blind)
#A6736D
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #997e2b; /* rgb */ color: rgb(153, 126, 43); /* oklch */ color: oklch(60.3% 0.105 90.5);
Tailwind
colors: {
custom: {
50: '#bba369',
500: '#997e2b',
950: '#000000',
},
}SCSS
$custom: #997e2b; $custom-light: #bba369; $custom-dark: #000000;
JSON
{
"hex": "#997e2b",
"rgb": {
"r": 153,
"g": 126,
"b": 43
},
"hsl": {
"h": 45.273,
"s": 56.122,
"l": 38.431
},
"oklch": {
"l": 0.60298,
"c": 0.10503,
"h": 90.5
},
"luminance": 0.21868
}Semantic roles & 50–950 ramp
primary
#997E2B
secondary
#647ABC
accent
#6DDF48
background
#FBF9F6
surface
#F7F2EB
border
#D0CCC6
text
#120F07
muted
#817E7A