#897E20#897E20
#897E20 is a mid, moderate yellow. Relative luminance 0.203; OKLCH L 58.6% C 0.111 H 102.4°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).
Color values
| HEX | #897E20 |
|---|---|
| RGB | rgb(137, 126, 32) |
| HSL | hsl(54, 62%, 33%) |
| HSV | hsv(54, 77%, 54%) |
| CMYK | cmyk(0%, 8%, 76.6%, 46.3%) |
| CIE-LAB | lab(52.23, -6.74, 49.30) |
| CIE-LCH | lch(52.23, 49.75, 97.78°) |
| OKLab | oklab(58.59% -0.0238 0.1083) |
| OKLCH | oklch(58.59% 0.111 102.4) |
| XYZ | xyz(18.0389, 20.3451, 4.3430) |
| Luminance | 0.2034 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 3.89
Baby Poop
#937C00
ΔE00 4.40
Hazel
#8E7618
ΔE00 4.78
Ugly Brown
#7D7103
ΔE00 5.16
Puke Brown
#947706
ΔE00 6.10
Poo
#8F7303
ΔE00 6.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#897E20 #202B89
analogous
#894920 #897E20 #5F8920
triadic
#897E20 #20897E #7E2089
tetradic
#897E20 #208949 #202B89 #89205F
square
#897E20 #208949 #202B89 #89205F
split-complementary
#897E20 #205F89 #492089
monochromatic
#262309 #575014 #897E20 #BBAC2C #D6C74E
Accessibility & contrast
On white
4.14
#897E20 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.07
#897E20 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #897E20
5.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##897E20 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##897E20 | 1.00 | 4.14 | 5.07 | 5.07 |
| #FFFFFF | 4.14 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.07 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.07 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8A7A0D
Deuteranopia (green-blind)
#8D7F27
Tritanopia (blue-blind)
#94756C
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #897e20; /* rgb */ color: rgb(137, 126, 32); /* oklch */ color: oklch(58.6% 0.111 102.4);
Tailwind
colors: {
custom: {
50: '#afa363',
500: '#897e20',
950: '#000000',
},
}SCSS
$custom: #897e20; $custom-light: #afa363; $custom-dark: #000000;
JSON
{
"hex": "#897e20",
"rgb": {
"r": 137,
"g": 126,
"b": 32
},
"hsl": {
"h": 53.714,
"s": 62.13,
"l": 33.137
},
"oklch": {
"l": 0.58585,
"c": 0.11092,
"h": 102.4
},
"luminance": 0.20344
}Semantic roles & 50–950 ramp
primary
#897E20
secondary
#4C58B9
accent
#54E543
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F06
muted
#807E7A