#897E32#897E32
#897E32 is a mid, moderate yellow. Relative luminance 0.205; OKLCH L 58.7% C 0.097 H 101.1°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).
Color values
| HEX | #897E32 |
|---|---|
| RGB | rgb(137, 126, 50) |
| HSL | hsl(52, 47%, 37%) |
| HSV | hsv(52, 64%, 54%) |
| CMYK | cmyk(0%, 8%, 63.5%, 46.3%) |
| CIE-LAB | lab(52.37, -5.68, 41.76) |
| CIE-LCH | lch(52.37, 42.14, 97.74°) |
| OKLab | oklab(58.74% -0.0188 0.0956) |
| OKLCH | oklch(58.74% 0.097 101.1) |
| XYZ | xyz(18.3538, 20.4711, 6.0015) |
| Luminance | 0.2047 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Drab
#828344
ΔE00 4.95
Hazel
#8E7618
ΔE00 5.34
Olive
#808000
ΔE00 5.70
Baby Poop
#937C00
ΔE00 5.97
Ugly Brown
#7D7103
ΔE00 6.22
Puke Brown
#947706
ΔE00 6.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#897E32 #323D89
analogous
#895332 #897E32 #698932
triadic
#897E32 #32897E #7E3289
tetradic
#897E32 #328953 #323D89 #893269
square
#897E32 #328953 #323D89 #893269
split-complementary
#897E32 #326989 #533289
monochromatic
#2F2C11 #5C5522 #897E32 #B6A742 #C9BE6C
Accessibility & contrast
On white
4.12
#897E32 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.09
#897E32 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #897E32
5.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##897E32 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##897E32 | 1.00 | 4.12 | 5.09 | 5.09 |
| #FFFFFF | 4.12 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.09 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.09 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#897A29
Deuteranopia (green-blind)
#8C7F36
Tritanopia (blue-blind)
#93756E
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #897e32; /* rgb */ color: rgb(137, 126, 50); /* oklch */ color: oklch(58.7% 0.097 101.1);
Tailwind
colors: {
custom: {
50: '#aea36d',
500: '#897e32',
950: '#000000',
},
}SCSS
$custom: #897e32; $custom-light: #aea36d; $custom-dark: #000000;
JSON
{
"hex": "#897e32",
"rgb": {
"r": 137,
"g": 126,
"b": 50
},
"hsl": {
"h": 52.414,
"s": 46.524,
"l": 36.667
},
"oklch": {
"l": 0.58742,
"c": 0.09741,
"h": 101.1
},
"luminance": 0.2047
}Semantic roles & 50–950 ramp
primary
#897E32
secondary
#666FB1
accent
#62D652
background
#FBFAF6
surface
#F6F3EC
border
#D0CDC7
text
#110F07
muted
#807F7A