#897C18#897C18
#897C18 is a mid, moderate yellow. Relative luminance 0.198; OKLCH L 58.1% C 0.114 H 101.4°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).
Color values
| HEX | #897C18 |
|---|---|
| RGB | rgb(137, 124, 24) |
| HSL | hsl(53, 70%, 32%) |
| HSV | hsv(53, 82%, 54%) |
| CMYK | cmyk(0%, 9.5%, 82.5%, 46.3%) |
| CIE-LAB | lab(51.61, -5.95, 51.48) |
| CIE-LCH | lch(51.61, 51.82, 96.60°) |
| OKLab | oklab(58.08% -0.0224 0.1113) |
| OKLCH | oklch(58.08% 0.114 101.4) |
| XYZ | xyz(17.6899, 19.8005, 3.7541) |
| Luminance | 0.1980 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 3.60
Hazel
#8E7618
ΔE00 3.98
Olive
#808000
ΔE00 4.19
Ugly Brown
#7D7103
ΔE00 4.41
Puke Brown
#947706
ΔE00 5.26
Poo
#8F7303
ΔE00 5.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#897C18 #182589
analogous
#894418 #897C18 #5E8918
triadic
#897C18 #18897C #7C1889
tetradic
#897C18 #188944 #182589 #89185E
square
#897C18 #188944 #182589 #89185E
split-complementary
#897C18 #185E89 #441889
monochromatic
#211E06 #554D0F #897C18 #BDAB21 #DDCB3E
Accessibility & contrast
On white
4.23
#897C18 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.96
#897C18 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #897C18
4.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##897C18 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##897C18 | 1.00 | 4.23 | 4.96 | 4.96 |
| #FFFFFF | 4.23 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.96 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.96 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#897800
Deuteranopia (green-blind)
#8C7D20
Tritanopia (blue-blind)
#94726A
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #897c18; /* rgb */ color: rgb(137, 124, 24); /* oklch */ color: oklch(58.1% 0.114 101.4);
Tailwind
colors: {
custom: {
50: '#afa15f',
500: '#897c18',
950: '#000000',
},
}SCSS
$custom: #897c18; $custom-light: #afa15f; $custom-dark: #000000;
JSON
{
"hex": "#897c18",
"rgb": {
"r": 137,
"g": 124,
"b": 24
},
"hsl": {
"h": 53.097,
"s": 70.186,
"l": 31.569
},
"oklch": {
"l": 0.58083,
"c": 0.11357,
"h": 101.4
},
"luminance": 0.198
}Semantic roles & 50–950 ramp
primary
#897C18
secondary
#404FBD
accent
#4FED3B
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#110E05
muted
#807E79