#897E24#897E24
#897E24 is a mid, moderate yellow. Relative luminance 0.204; OKLCH L 58.6% C 0.108 H 102.2°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).
Color values
| HEX | #897E24 |
|---|---|
| RGB | rgb(137, 126, 36) |
| HSL | hsl(53, 58%, 34%) |
| HSV | hsv(53, 74%, 54%) |
| CMYK | cmyk(0%, 8%, 73.7%, 46.3%) |
| CIE-LAB | lab(52.25, -6.54, 47.78) |
| CIE-LCH | lch(52.25, 48.23, 97.79°) |
| OKLab | oklab(58.61% -0.0229 0.1059) |
| OKLCH | oklch(58.61% 0.108 102.2) |
| XYZ | xyz(18.0966, 20.3682, 4.6470) |
| Luminance | 0.2037 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 4.18
Baby Poop
#937C00
ΔE00 4.66
Hazel
#8E7618
ΔE00 4.80
Ugly Brown
#7D7103
ΔE00 5.29
Puke Brown
#947706
ΔE00 6.22
Drab
#828344
ΔE00 6.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#897E24 #242F89
analogous
#894C24 #897E24 #628924
triadic
#897E24 #24897E #7E2489
tetradic
#897E24 #24894C #242F89 #892462
square
#897E24 #24894C #242F89 #892462
split-complementary
#897E24 #246289 #4C2489
monochromatic
#28250B #595117 #897E24 #B9AB31 #D2C555
Accessibility & contrast
On white
4.14
#897E24 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.07
#897E24 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #897E24
5.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##897E24 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##897E24 | 1.00 | 4.14 | 5.07 | 5.07 |
| #FFFFFF | 4.14 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.07 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.07 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8A7A15
Deuteranopia (green-blind)
#8D7F2A
Tritanopia (blue-blind)
#94756C
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #897e24; /* rgb */ color: rgb(137, 126, 36); /* oklch */ color: oklch(58.6% 0.108 102.2);
Tailwind
colors: {
custom: {
50: '#afa365',
500: '#897e24',
950: '#000000',
},
}SCSS
$custom: #897e24; $custom-light: #afa365; $custom-dark: #000000;
JSON
{
"hex": "#897e24",
"rgb": {
"r": 137,
"g": 126,
"b": 36
},
"hsl": {
"h": 53.465,
"s": 58.382,
"l": 33.922
},
"oklch": {
"l": 0.58614,
"c": 0.10835,
"h": 102.2
},
"luminance": 0.20367
}Semantic roles & 50–950 ramp
primary
#897E24
secondary
#525DB7
accent
#57E246
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F06
muted
#807E7A