#997E2A#997E2A
#997E2A is a mid, moderate yellow. Relative luminance 0.219; OKLCH L 60.3% C 0.106 H 90.7°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).
Color values
| HEX | #997E2A |
|---|---|
| RGB | rgb(153, 126, 42) |
| HSL | hsl(45, 57%, 38%) |
| HSV | hsv(45, 73%, 60%) |
| CMYK | cmyk(0%, 17.6%, 72.5%, 40%) |
| CIE-LAB | lab(53.88, 1.14, 47.45) |
| CIE-LCH | lch(53.88, 47.46, 88.62°) |
| OKLab | oklab(60.29% -0.0012 0.1057) |
| OKLCH | oklch(60.29% 0.106 90.7) |
| XYZ | xyz(21.0168, 21.8624, 5.3029) |
| Luminance | 0.2186 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Yellowish Brown
#9B7A01
ΔE00 3.56
Puke Brown
#947706
ΔE00 3.62
Hazel
#8E7618
ΔE00 3.68
Baby Poop
#937C00
ΔE00 3.91
Diarrhea
#9F8303
ΔE00 4.21
Poo
#8F7303
ΔE00 4.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#997E2A #2A4599
analogous
#99462A #997E2A #7C992A
triadic
#997E2A #2A997E #7E2A99
tetradic
#997E2A #2A9946 #2A4599 #992A7C
square
#997E2A #2A9946 #2A4599 #992A7C
split-complementary
#997E2A #2A7C99 #462A99
monochromatic
#392F10 #69561D #997E2A #C8A538 #D6BB68
Accessibility & contrast
On white
3.91
#997E2A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.37
#997E2A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #997E2A
5.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##997E2A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##997E2A | 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)
#8C7C1E
Deuteranopia (green-blind)
#93842E
Tritanopia (blue-blind)
#A6736D
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #997e2a; /* rgb */ color: rgb(153, 126, 42); /* oklch */ color: oklch(60.3% 0.106 90.7);
Tailwind
colors: {
custom: {
50: '#bba369',
500: '#997e2a',
950: '#000000',
},
}SCSS
$custom: #997e2a; $custom-light: #bba369; $custom-dark: #000000;
JSON
{
"hex": "#997e2a",
"rgb": {
"r": 153,
"g": 126,
"b": 42
},
"hsl": {
"h": 45.405,
"s": 56.923,
"l": 38.235
},
"oklch": {
"l": 0.6029,
"c": 0.10575,
"h": 90.7
},
"luminance": 0.21861
}Semantic roles & 50–950 ramp
primary
#997E2A
secondary
#6379BC
accent
#6DE048
background
#FBF9F6
surface
#F7F2EB
border
#D0CCC6
text
#120F06
muted
#817E7A