#897D21#897D21
#897D21 is a mid, moderate yellow. Relative luminance 0.201; OKLCH L 58.4% C 0.109 H 101.6°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).
Color values
| HEX | #897D21 |
|---|---|
| RGB | rgb(137, 125, 33) |
| HSL | hsl(53, 61%, 33%) |
| HSV | hsv(53, 76%, 54%) |
| CMYK | cmyk(0%, 8.8%, 75.9%, 46.3%) |
| CIE-LAB | lab(51.95, -6.13, 48.65) |
| CIE-LCH | lch(51.95, 49.04, 97.19°) |
| OKLab | oklab(58.37% -0.022 0.1072) |
| OKLCH | oklch(58.37% 0.109 101.6) |
| XYZ | xyz(17.9255, 20.0962, 4.3733) |
| Luminance | 0.2009 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 4.26
Olive
#808000
ΔE00 4.28
Hazel
#8E7618
ΔE00 4.36
Ugly Brown
#7D7103
ΔE00 4.89
Puke Brown
#947706
ΔE00 5.78
Poo
#8F7303
ΔE00 6.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#897D21 #212D89
analogous
#894921 #897D21 #618921
triadic
#897D21 #21897D #7D2189
tetradic
#897D21 #218949 #212D89 #892161
square
#897D21 #218949 #212D89 #892161
split-complementary
#897D21 #216189 #492189
monochromatic
#262309 #585015 #897D21 #BAAA2D #D5C550
Accessibility & contrast
On white
4.18
#897D21 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.02
#897D21 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #897D21
5.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##897D21 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##897D21 | 1.00 | 4.18 | 5.02 | 5.02 |
| #FFFFFF | 4.18 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.02 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.02 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#897910
Deuteranopia (green-blind)
#8D7E27
Tritanopia (blue-blind)
#94746B
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #897d21; /* rgb */ color: rgb(137, 125, 33); /* oklch */ color: oklch(58.4% 0.109 101.6);
Tailwind
colors: {
custom: {
50: '#afa264',
500: '#897d21',
950: '#000000',
},
}SCSS
$custom: #897d21; $custom-light: #afa264; $custom-dark: #000000;
JSON
{
"hex": "#897d21",
"rgb": {
"r": 137,
"g": 125,
"b": 33
},
"hsl": {
"h": 53.077,
"s": 61.176,
"l": 33.333
},
"oklch": {
"l": 0.58365,
"c": 0.10941,
"h": 101.6
},
"luminance": 0.20095
}Semantic roles & 50–950 ramp
primary
#897D21
secondary
#4E5AB8
accent
#56E444
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F06
muted
#807E7A