#5A891A#5A891A
#5A891A is a mid, vivid yellow-green. Relative luminance 0.201; OKLCH L 57.5% C 0.145 H 130.7°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).
Color values
| HEX | #5A891A |
|---|---|
| RGB | rgb(90, 137, 26) |
| HSL | hsl(85, 68%, 32%) |
| HSV | hsv(85, 81%, 54%) |
| CMYK | cmyk(34.3%, 0%, 81%, 46.3%) |
| CIE-LAB | lab(51.99, -33.18, 49.87) |
| CIE-LCH | lch(51.99, 59.90, 123.64°) |
| OKLab | oklab(57.5% -0.0945 0.11) |
| OKLCH | oklch(57.5% 0.145 130.7) |
| XYZ | xyz(13.3485, 20.1391, 4.1610) |
| Luminance | 0.2014 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Sap Green
#5C8B15
ΔE00 0.99
Mossy Green
#638B27
ΔE00 1.85
Avocado
#568203
ΔE00 2.85
Olivedrab
#6B8E23
ΔE00 3.40
Moss Green (survey)
#658B38
ΔE00 3.81
Swamp
#698339
ΔE00 5.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A891A #491A89
analogous
#89811A #5A891A #23891A
triadic
#5A891A #1A5A89 #891A5A
tetradic
#5A891A #1A8981 #491A89 #891A23
square
#5A891A #1A8981 #491A89 #891A23
split-complementary
#5A891A #1A2389 #811A89
monochromatic
#162206 #385610 #5A891A #7CBC24 #9ADB42
Accessibility & contrast
On white
4.18
#5A891A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.03
#5A891A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5A891A
5.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A891A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5A891A | 1.00 | 4.18 | 5.03 | 5.03 |
| #FFFFFF | 4.18 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.03 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.03 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8F7E00
Deuteranopia (green-blind)
#897B26
Tritanopia (blue-blind)
#5C8375
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #5a891a; /* rgb */ color: rgb(90, 137, 26); /* oklch */ color: oklch(57.5% 0.145 130.7);
Tailwind
colors: {
custom: {
50: '#8dab61',
500: '#5a891a',
950: '#000000',
},
}SCSS
$custom: #5a891a; $custom-light: #8dab61; $custom-dark: #000000;
JSON
{
"hex": "#5a891a",
"rgb": {
"r": 90,
"g": 137,
"b": 26
},
"hsl": {
"h": 85.405,
"s": 68.098,
"l": 31.961
},
"oklch": {
"l": 0.57501,
"c": 0.14498,
"h": 130.7
},
"luminance": 0.2014
}Semantic roles & 50–950 ramp
primary
#5A891A
secondary
#7643BC
accent
#3DEB87
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1005
muted
#7E7F7A