#897E22#897E22
#897E22 is a mid, moderate yellow. Relative luminance 0.204; OKLCH L 58.6% C 0.110 H 102.3°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).
Color values
| HEX | #897E22 |
|---|---|
| RGB | rgb(137, 126, 34) |
| HSL | hsl(54, 60%, 34%) |
| HSV | hsv(54, 75%, 54%) |
| CMYK | cmyk(0%, 8%, 75.2%, 46.3%) |
| CIE-LAB | lab(52.24, -6.64, 48.55) |
| CIE-LCH | lch(52.24, 49.00, 97.79°) |
| OKLab | oklab(58.6% -0.0234 0.1072) |
| OKLCH | oklch(58.6% 0.11 102.3) |
| XYZ | xyz(18.0669, 20.3564, 4.4906) |
| Luminance | 0.2036 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 4.02
Baby Poop
#937C00
ΔE00 4.52
Hazel
#8E7618
ΔE00 4.78
Ugly Brown
#7D7103
ΔE00 5.22
Puke Brown
#947706
ΔE00 6.16
Poo
#8F7303
ΔE00 6.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#897E22 #222D89
analogous
#894A22 #897E22 #608922
triadic
#897E22 #22897E #7E2289
tetradic
#897E22 #22894A #222D89 #892260
square
#897E22 #22894A #222D89 #892260
split-complementary
#897E22 #226089 #4A2289
monochromatic
#27240A #585116 #897E22 #BAAB2E #D4C651
Accessibility & contrast
On white
4.14
#897E22 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.07
#897E22 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #897E22
5.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##897E22 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##897E22 | 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)
#8A7A11
Deuteranopia (green-blind)
#8D7F28
Tritanopia (blue-blind)
#94756C
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #897e22; /* rgb */ color: rgb(137, 126, 34); /* oklch */ color: oklch(58.6% 0.110 102.3);
Tailwind
colors: {
custom: {
50: '#afa364',
500: '#897e22',
950: '#000000',
},
}SCSS
$custom: #897e22; $custom-light: #afa364; $custom-dark: #000000;
JSON
{
"hex": "#897e22",
"rgb": {
"r": 137,
"g": 126,
"b": 34
},
"hsl": {
"h": 53.592,
"s": 60.234,
"l": 33.529
},
"oklch": {
"l": 0.58599,
"c": 0.10967,
"h": 102.3
},
"luminance": 0.20356
}Semantic roles & 50–950 ramp
primary
#897E22
secondary
#4F5AB8
accent
#55E344
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F06
muted
#807E7A