#897E28#897E28
#897E28 is a mid, moderate yellow. Relative luminance 0.204; OKLCH L 58.6% C 0.106 H 101.9°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).
Color values
| HEX | #897E28 |
|---|---|
| RGB | rgb(137, 126, 40) |
| HSL | hsl(53, 55%, 35%) |
| HSV | hsv(53, 71%, 54%) |
| CMYK | cmyk(0%, 8%, 70.8%, 46.3%) |
| CIE-LAB | lab(52.28, -6.32, 46.17) |
| CIE-LCH | lch(52.28, 46.60, 97.80°) |
| OKLab | oklab(58.65% -0.0218 0.1033) |
| OKLCH | oklch(58.65% 0.106 101.9) |
| XYZ | xyz(18.1612, 20.3940, 4.9869) |
| Luminance | 0.2039 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 4.53
Hazel
#8E7618
ΔE00 4.88
Baby Poop
#937C00
ΔE00 4.96
Ugly Brown
#7D7103
ΔE00 5.48
Drab
#828344
ΔE00 5.94
Puke Brown
#947706
ΔE00 6.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#897E28 #283389
analogous
#894E28 #897E28 #648928
triadic
#897E28 #28897E #7E2889
tetradic
#897E28 #28894E #283389 #892864
square
#897E28 #28894E #283389 #892864
split-complementary
#897E28 #286489 #4E2889
monochromatic
#2A270C #5A521A #897E28 #B8AA36 #CFC25C
Accessibility & contrast
On white
4.13
#897E28 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.08
#897E28 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #897E28
5.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##897E28 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##897E28 | 1.00 | 4.13 | 5.08 | 5.08 |
| #FFFFFF | 4.13 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.08 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.08 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8A7A1C
Deuteranopia (green-blind)
#8D7F2D
Tritanopia (blue-blind)
#94756D
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #897e28; /* rgb */ color: rgb(137, 126, 40); /* oklch */ color: oklch(58.6% 0.106 101.9);
Tailwind
colors: {
custom: {
50: '#aea367',
500: '#897e28',
950: '#000000',
},
}SCSS
$custom: #897e28; $custom-light: #aea367; $custom-dark: #000000;
JSON
{
"hex": "#897e28",
"rgb": {
"r": 137,
"g": 126,
"b": 40
},
"hsl": {
"h": 53.196,
"s": 54.802,
"l": 34.706
},
"oklch": {
"l": 0.58646,
"c": 0.10553,
"h": 101.9
},
"luminance": 0.20393
}Semantic roles & 50–950 ramp
primary
#897E28
secondary
#5863B5
accent
#5ADE4A
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F06
muted
#807E7A