#897E27#897E27
#897E27 is a mid, moderate yellow. Relative luminance 0.204; OKLCH L 58.6% C 0.106 H 102.0°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).
Color values
| HEX | #897E27 |
|---|---|
| RGB | rgb(137, 126, 39) |
| HSL | hsl(53, 56%, 35%) |
| HSV | hsv(53, 72%, 54%) |
| CMYK | cmyk(0%, 8%, 71.5%, 46.3%) |
| CIE-LAB | lab(52.27, -6.38, 46.58) |
| CIE-LCH | lch(52.27, 47.01, 97.80°) |
| OKLab | oklab(58.64% -0.0221 0.1039) |
| OKLCH | oklch(58.64% 0.106 102) |
| XYZ | xyz(18.1444, 20.3873, 4.8985) |
| Luminance | 0.2039 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 4.44
Hazel
#8E7618
ΔE00 4.85
Baby Poop
#937C00
ΔE00 4.88
Ugly Brown
#7D7103
ΔE00 5.42
Drab
#828344
ΔE00 6.04
Puke Brown
#947706
ΔE00 6.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#897E27 #273289
analogous
#894D27 #897E27 #638927
triadic
#897E27 #27897E #7E2789
tetradic
#897E27 #27894D #273289 #892763
square
#897E27 #27894D #273289 #892763
split-complementary
#897E27 #276389 #4D2789
monochromatic
#2A260C #595219 #897E27 #B9AA35 #D0C35A
Accessibility & contrast
On white
4.14
#897E27 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.08
#897E27 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #897E27
5.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##897E27 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##897E27 | 1.00 | 4.14 | 5.08 | 5.08 |
| #FFFFFF | 4.14 | 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)
#8A7A1A
Deuteranopia (green-blind)
#8D7F2C
Tritanopia (blue-blind)
#94756D
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #897e27; /* rgb */ color: rgb(137, 126, 39); /* oklch */ color: oklch(58.6% 0.106 102.0);
Tailwind
colors: {
custom: {
50: '#aea367',
500: '#897e27',
950: '#000000',
},
}SCSS
$custom: #897e27; $custom-light: #aea367; $custom-dark: #000000;
JSON
{
"hex": "#897e27",
"rgb": {
"r": 137,
"g": 126,
"b": 39
},
"hsl": {
"h": 53.265,
"s": 55.682,
"l": 34.51
},
"oklch": {
"l": 0.58638,
"c": 0.10626,
"h": 102
},
"luminance": 0.20387
}Semantic roles & 50–950 ramp
primary
#897E27
secondary
#5761B5
accent
#5ADF49
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F06
muted
#807E7A