#897C24#897C24
#897C24 is a mid, moderate yellow. Relative luminance 0.199; OKLCH L 58.2% C 0.107 H 100.7°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).
Color values
| HEX | #897C24 |
|---|---|
| RGB | rgb(137, 124, 36) |
| HSL | hsl(52, 58%, 34%) |
| HSV | hsv(52, 74%, 54%) |
| CMYK | cmyk(0%, 9.5%, 73.7%, 46.3%) |
| CIE-LAB | lab(51.68, -5.43, 47.22) |
| CIE-LCH | lch(51.68, 47.53, 96.56°) |
| OKLab | oklab(58.16% -0.0197 0.1047) |
| OKLCH | oklch(58.16% 0.107 100.7) |
| XYZ | xyz(17.8434, 19.8619, 4.5626) |
| Luminance | 0.1986 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Hazel
#8E7618
ΔE00 3.98
Baby Poop
#937C00
ΔE00 4.32
Ugly Brown
#7D7103
ΔE00 4.76
Olive
#808000
ΔE00 4.84
Puke Brown
#947706
ΔE00 5.56
Poo
#8F7303
ΔE00 5.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#897C24 #243189
analogous
#894A24 #897C24 #648924
triadic
#897C24 #24897C #7C2489
tetradic
#897C24 #24894A #243189 #892464
square
#897C24 #24894A #243189 #892464
split-complementary
#897C24 #246489 #4A2489
monochromatic
#28240B #595017 #897C24 #B9A831 #D2C255
Accessibility & contrast
On white
4.22
#897C24 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.97
#897C24 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #897C24
4.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##897C24 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##897C24 | 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)
#887816
Deuteranopia (green-blind)
#8C7D2A
Tritanopia (blue-blind)
#94736B
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #897c24; /* rgb */ color: rgb(137, 124, 36); /* oklch */ color: oklch(58.2% 0.107 100.7);
Tailwind
colors: {
custom: {
50: '#afa165',
500: '#897c24',
950: '#000000',
},
}SCSS
$custom: #897c24; $custom-light: #afa165; $custom-dark: #000000;
JSON
{
"hex": "#897c24",
"rgb": {
"r": 137,
"g": 124,
"b": 36
},
"hsl": {
"h": 52.277,
"s": 58.382,
"l": 33.922
},
"oklch": {
"l": 0.58161,
"c": 0.10657,
"h": 100.7
},
"luminance": 0.19861
}Semantic roles & 50–950 ramp
primary
#897C24
secondary
#525FB7
accent
#5AE246
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A