#897C23#897C23
#897C23 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 | #897C23 |
|---|---|
| RGB | rgb(137, 124, 35) |
| HSL | hsl(52, 59%, 34%) |
| HSV | hsv(52, 74%, 54%) |
| CMYK | cmyk(0%, 9.5%, 74.5%, 46.3%) |
| CIE-LAB | lab(51.67, -5.48, 47.62) |
| CIE-LCH | lch(51.67, 47.93, 96.57°) |
| OKLab | oklab(58.15% -0.02 0.1054) |
| OKLCH | oklch(58.15% 0.107 100.7) |
| XYZ | xyz(17.8284, 19.8558, 4.4833) |
| Luminance | 0.1986 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Hazel
#8E7618
ΔE00 3.97
Baby Poop
#937C00
ΔE00 4.24
Ugly Brown
#7D7103
ΔE00 4.71
Olive
#808000
ΔE00 4.77
Puke Brown
#947706
ΔE00 5.52
Poo
#8F7303
ΔE00 5.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#897C23 #233089
analogous
#894923 #897C23 #638923
triadic
#897C23 #23897C #7C2389
tetradic
#897C23 #238949 #233089 #892363
square
#897C23 #238949 #233089 #892363
split-complementary
#897C23 #236389 #492389
monochromatic
#28240A #585017 #897C23 #BAA82F #D3C353
Accessibility & contrast
On white
4.22
#897C23 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.97
#897C23 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #897C23
4.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##897C23 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##897C23 | 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)
#887814
Deuteranopia (green-blind)
#8C7D29
Tritanopia (blue-blind)
#94736B
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #897c23; /* rgb */ color: rgb(137, 124, 35); /* oklch */ color: oklch(58.2% 0.107 100.7);
Tailwind
colors: {
custom: {
50: '#afa164',
500: '#897c23',
950: '#000000',
},
}SCSS
$custom: #897c23; $custom-light: #afa164; $custom-dark: #000000;
JSON
{
"hex": "#897c23",
"rgb": {
"r": 137,
"g": 124,
"b": 35
},
"hsl": {
"h": 52.353,
"s": 59.302,
"l": 33.725
},
"oklch": {
"l": 0.58153,
"c": 0.10725,
"h": 100.7
},
"luminance": 0.19855
}Semantic roles & 50–950 ramp
primary
#897C23
secondary
#515EB7
accent
#59E245
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A