#897E21#897E21
#897E21 is a mid, moderate yellow. Relative luminance 0.203; OKLCH L 58.6% C 0.110 H 102.4°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).
Color values
| HEX | #897E21 |
|---|---|
| RGB | rgb(137, 126, 33) |
| HSL | hsl(54, 61%, 33%) |
| HSV | hsv(54, 76%, 54%) |
| CMYK | cmyk(0%, 8%, 75.9%, 46.3%) |
| CIE-LAB | lab(52.23, -6.69, 48.93) |
| CIE-LCH | lch(52.23, 49.38, 97.79°) |
| OKLab | oklab(58.59% -0.0236 0.1077) |
| OKLCH | oklch(58.59% 0.11 102.4) |
| XYZ | xyz(18.0527, 20.3507, 4.4157) |
| Luminance | 0.2035 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 3.95
Baby Poop
#937C00
ΔE00 4.46
Hazel
#8E7618
ΔE00 4.78
Ugly Brown
#7D7103
ΔE00 5.18
Puke Brown
#947706
ΔE00 6.13
Poo
#8F7303
ΔE00 6.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#897E21 #212C89
analogous
#894A21 #897E21 #608921
triadic
#897E21 #21897E #7E2189
tetradic
#897E21 #21894A #212C89 #892160
square
#897E21 #21894A #212C89 #892160
split-complementary
#897E21 #216089 #4A2189
monochromatic
#262309 #585115 #897E21 #BAAB2D #D5C750
Accessibility & contrast
On white
4.14
#897E21 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.07
#897E21 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #897E21
5.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##897E21 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##897E21 | 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)
#8A7A10
Deuteranopia (green-blind)
#8D7F27
Tritanopia (blue-blind)
#94756C
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #897e21; /* rgb */ color: rgb(137, 126, 33); /* oklch */ color: oklch(58.6% 0.110 102.4);
Tailwind
colors: {
custom: {
50: '#afa364',
500: '#897e21',
950: '#000000',
},
}SCSS
$custom: #897e21; $custom-light: #afa364; $custom-dark: #000000;
JSON
{
"hex": "#897e21",
"rgb": {
"r": 137,
"g": 126,
"b": 33
},
"hsl": {
"h": 53.654,
"s": 61.176,
"l": 33.333
},
"oklch": {
"l": 0.58592,
"c": 0.11029,
"h": 102.4
},
"luminance": 0.2035
}Semantic roles & 50–950 ramp
primary
#897E21
secondary
#4E59B8
accent
#55E444
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F06
muted
#807E7A