#897D22#897D22
#897D22 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 | #897D22 |
|---|---|
| RGB | rgb(137, 125, 34) |
| HSL | hsl(53, 60%, 34%) |
| HSV | hsv(53, 75%, 54%) |
| CMYK | cmyk(0%, 8.8%, 75.2%, 46.3%) |
| CIE-LAB | lab(51.95, -6.09, 48.28) |
| CIE-LCH | lch(51.95, 48.66, 97.19°) |
| OKLab | oklab(58.37% -0.0218 0.1066) |
| OKLCH | oklch(58.37% 0.109 101.6) |
| XYZ | xyz(17.9397, 20.1019, 4.4482) |
| Luminance | 0.2010 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 4.32
Olive
#808000
ΔE00 4.35
Hazel
#8E7618
ΔE00 4.37
Ugly Brown
#7D7103
ΔE00 4.93
Puke Brown
#947706
ΔE00 5.81
Poo
#8F7303
ΔE00 6.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#897D22 #222E89
analogous
#894922 #897D22 #618922
triadic
#897D22 #22897D #7D2289
tetradic
#897D22 #228949 #222E89 #892261
square
#897D22 #228949 #222E89 #892261
split-complementary
#897D22 #226189 #492289
monochromatic
#27240A #585016 #897D22 #BAAA2E #D4C551
Accessibility & contrast
On white
4.18
#897D22 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.02
#897D22 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #897D22
5.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##897D22 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##897D22 | 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)
#897912
Deuteranopia (green-blind)
#8D7E28
Tritanopia (blue-blind)
#94746B
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #897d22; /* rgb */ color: rgb(137, 125, 34); /* oklch */ color: oklch(58.4% 0.109 101.6);
Tailwind
colors: {
custom: {
50: '#afa264',
500: '#897d22',
950: '#000000',
},
}SCSS
$custom: #897d22; $custom-light: #afa264; $custom-dark: #000000;
JSON
{
"hex": "#897d22",
"rgb": {
"r": 137,
"g": 125,
"b": 34
},
"hsl": {
"h": 53.01,
"s": 60.234,
"l": 33.529
},
"oklch": {
"l": 0.58372,
"c": 0.10878,
"h": 101.6
},
"luminance": 0.20101
}Semantic roles & 50–950 ramp
primary
#897D22
secondary
#4F5BB8
accent
#57E344
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F06
muted
#807E7A