#897C25#897C25
#897C25 is a mid, moderate yellow. Relative luminance 0.199; OKLCH L 58.2% C 0.106 H 100.6°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).
Color values
| HEX | #897C25 |
|---|---|
| RGB | rgb(137, 124, 37) |
| HSL | hsl(52, 57%, 34%) |
| HSV | hsv(52, 73%, 54%) |
| CMYK | cmyk(0%, 9.5%, 73%, 46.3%) |
| CIE-LAB | lab(51.69, -5.38, 46.82) |
| CIE-LCH | lch(51.69, 47.13, 96.55°) |
| OKLab | oklab(58.17% -0.0195 0.1041) |
| OKLCH | oklch(58.17% 0.106 100.6) |
| XYZ | xyz(17.8589, 19.8681, 4.6441) |
| Luminance | 0.1987 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Hazel
#8E7618
ΔE00 4.00
Baby Poop
#937C00
ΔE00 4.41
Ugly Brown
#7D7103
ΔE00 4.81
Olive
#808000
ΔE00 4.92
Puke Brown
#947706
ΔE00 5.61
Poo
#8F7303
ΔE00 5.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#897C25 #253289
analogous
#894A25 #897C25 #648925
triadic
#897C25 #25897C #7C2589
tetradic
#897C25 #25894A #253289 #892564
square
#897C25 #25894A #253289 #892564
split-complementary
#897C25 #256489 #4A2589
monochromatic
#29250B #595018 #897C25 #B9A832 #D2C257
Accessibility & contrast
On white
4.22
#897C25 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.97
#897C25 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #897C25
4.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##897C25 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##897C25 | 1.00 | 4.22 | 4.97 | 4.97 |
| #FFFFFF | 4.22 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.97 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.97 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#887817
Deuteranopia (green-blind)
#8C7D2A
Tritanopia (blue-blind)
#94736B
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #897c25; /* rgb */ color: rgb(137, 124, 37); /* oklch */ color: oklch(58.2% 0.106 100.6);
Tailwind
colors: {
custom: {
50: '#afa166',
500: '#897c25',
950: '#000000',
},
}SCSS
$custom: #897c25; $custom-light: #afa166; $custom-dark: #000000;
JSON
{
"hex": "#897c25",
"rgb": {
"r": 137,
"g": 124,
"b": 37
},
"hsl": {
"h": 52.2,
"s": 57.471,
"l": 34.118
},
"oklch": {
"l": 0.58169,
"c": 0.10588,
"h": 100.6
},
"luminance": 0.19867
}Semantic roles & 50–950 ramp
primary
#897C25
secondary
#5461B6
accent
#5BE147
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A