#897E25#897E25
#897E25 is a mid, moderate yellow. Relative luminance 0.204; OKLCH L 58.6% C 0.108 H 102.1°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).
Color values
| HEX | #897E25 |
|---|---|
| RGB | rgb(137, 126, 37) |
| HSL | hsl(53, 57%, 34%) |
| HSV | hsv(53, 73%, 54%) |
| CMYK | cmyk(0%, 8%, 73%, 46.3%) |
| CIE-LAB | lab(52.26, -6.49, 47.39) |
| CIE-LCH | lch(52.26, 47.83, 97.80°) |
| OKLab | oklab(58.62% -0.0226 0.1053) |
| OKLCH | oklch(58.62% 0.108 102.1) |
| XYZ | xyz(18.1121, 20.3744, 4.7285) |
| Luminance | 0.2037 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 4.26
Baby Poop
#937C00
ΔE00 4.73
Hazel
#8E7618
ΔE00 4.82
Ugly Brown
#7D7103
ΔE00 5.33
Drab
#828344
ΔE00 6.24
Puke Brown
#947706
ΔE00 6.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#897E25 #253089
analogous
#894C25 #897E25 #628925
triadic
#897E25 #25897E #7E2589
tetradic
#897E25 #25894C #253089 #892562
square
#897E25 #25894C #253089 #892562
split-complementary
#897E25 #256289 #4C2589
monochromatic
#29250B #595218 #897E25 #B9AA32 #D2C457
Accessibility & contrast
On white
4.14
#897E25 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.07
#897E25 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #897E25
5.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##897E25 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##897E25 | 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)
#8A7A17
Deuteranopia (green-blind)
#8D7F2B
Tritanopia (blue-blind)
#94756C
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #897e25; /* rgb */ color: rgb(137, 126, 37); /* oklch */ color: oklch(58.6% 0.108 102.1);
Tailwind
colors: {
custom: {
50: '#afa366',
500: '#897e25',
950: '#000000',
},
}SCSS
$custom: #897e25; $custom-light: #afa366; $custom-dark: #000000;
JSON
{
"hex": "#897e25",
"rgb": {
"r": 137,
"g": 126,
"b": 37
},
"hsl": {
"h": 53.4,
"s": 57.471,
"l": 34.118
},
"oklch": {
"l": 0.58622,
"c": 0.10767,
"h": 102.1
},
"luminance": 0.20374
}Semantic roles & 50–950 ramp
primary
#897E25
secondary
#545FB6
accent
#58E147
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F06
muted
#807E7A