#897E18#897E18
#897E18 is a mid, moderate yellow. Relative luminance 0.203; OKLCH L 58.5% C 0.115 H 102.8°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).
Color values
| HEX | #897E18 |
|---|---|
| RGB | rgb(137, 126, 24) |
| HSL | hsl(54, 70%, 32%) |
| HSV | hsv(54, 82%, 54%) |
| CMYK | cmyk(0%, 8%, 82.5%, 46.3%) |
| CIE-LAB | lab(52.18, -7.06, 51.98) |
| CIE-LCH | lch(52.18, 52.45, 97.74°) |
| OKLab | oklab(58.54% -0.0255 0.1124) |
| OKLCH | oklch(58.54% 0.115 102.8) |
| XYZ | xyz(17.9431, 20.3068, 3.8385) |
| Luminance | 0.2031 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 3.50
Baby Poop
#937C00
ΔE00 4.05
Hazel
#8E7618
ΔE00 4.83
Ugly Brown
#7D7103
ΔE00 5.03
Puke Brown
#947706
ΔE00 5.97
Poo
#8F7303
ΔE00 6.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#897E18 #182389
analogous
#894618 #897E18 #5C8918
triadic
#897E18 #18897E #7E1889
tetradic
#897E18 #188946 #182389 #89185C
square
#897E18 #188946 #182389 #89185C
split-complementary
#897E18 #185C89 #461889
monochromatic
#211E06 #554E0F #897E18 #BDAE21 #DDCE3E
Accessibility & contrast
On white
4.15
#897E18 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.06
#897E18 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #897E18
5.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##897E18 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##897E18 | 1.00 | 4.15 | 5.06 | 5.06 |
| #FFFFFF | 4.15 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.06 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.06 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8A7A00
Deuteranopia (green-blind)
#8E7F21
Tritanopia (blue-blind)
#94746B
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #897e18; /* rgb */ color: rgb(137, 126, 24); /* oklch */ color: oklch(58.5% 0.115 102.8);
Tailwind
colors: {
custom: {
50: '#afa360',
500: '#897e18',
950: '#000000',
},
}SCSS
$custom: #897e18; $custom-light: #afa360; $custom-dark: #000000;
JSON
{
"hex": "#897e18",
"rgb": {
"r": 137,
"g": 126,
"b": 24
},
"hsl": {
"h": 54.159,
"s": 70.186,
"l": 31.569
},
"oklch": {
"l": 0.58537,
"c": 0.11529,
"h": 102.8
},
"luminance": 0.20306
}Semantic roles & 50–950 ramp
primary
#897E18
secondary
#404CBD
accent
#4CED3B
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#110F05
muted
#807E79