#5E8B20#5E8B20
#5E8B20 is a mid, vivid yellow-green. Relative luminance 0.209; OKLCH L 58.3% C 0.142 H 130.2°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).
Color values
| HEX | #5E8B20 |
|---|---|
| RGB | rgb(94, 139, 32) |
| HSL | hsl(85, 63%, 34%) |
| HSV | hsv(85, 77%, 55%) |
| CMYK | cmyk(32.4%, 0%, 77%, 45.5%) |
| CIE-LAB | lab(52.89, -32.21, 48.79) |
| CIE-LCH | lch(52.89, 58.47, 123.43°) |
| OKLab | oklab(58.3% -0.0916 0.1086) |
| OKLCH | oklch(58.3% 0.142 130.2) |
| XYZ | xyz(14.1093, 20.9488, 4.6663) |
| Luminance | 0.2095 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Sap Green
#5C8B15
ΔE00 0.99
Mossy Green
#638B27
ΔE00 1.04
Olivedrab
#6B8E23
ΔE00 2.62
Moss Green (survey)
#658B38
ΔE00 3.20
Avocado
#568203
ΔE00 3.72
Swamp
#698339
ΔE00 5.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5E8B20 #4D208B
analogous
#8B8220 #5E8B20 #288B20
triadic
#5E8B20 #205E8B #8B205E
tetradic
#5E8B20 #208B82 #4D208B #8B2028
square
#5E8B20 #208B82 #4D208B #8B2028
split-complementary
#5E8B20 #20288B #82208B
monochromatic
#1B2809 #3C5915 #5E8B20 #80BD2B #9DD64F
Accessibility & contrast
On white
4.05
#5E8B20 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.19
#5E8B20 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5E8B20
5.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5E8B20 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5E8B20 | 1.00 | 4.05 | 5.19 | 5.19 |
| #FFFFFF | 4.05 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.19 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.19 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#928008
Deuteranopia (green-blind)
#8B7D2B
Tritanopia (blue-blind)
#608577
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #5e8b20; /* rgb */ color: rgb(94, 139, 32); /* oklch */ color: oklch(58.3% 0.142 130.2);
Tailwind
colors: {
custom: {
50: '#90ad64',
500: '#5e8b20',
950: '#000000',
},
}SCSS
$custom: #5e8b20; $custom-light: #90ad64; $custom-dark: #000000;
JSON
{
"hex": "#5e8b20",
"rgb": {
"r": 94,
"g": 139,
"b": 32
},
"hsl": {
"h": 85.234,
"s": 62.573,
"l": 33.529
},
"oklch": {
"l": 0.58305,
"c": 0.14212,
"h": 130.2
},
"luminance": 0.20949
}Semantic roles & 50–950 ramp
primary
#5E8B20
secondary
#7B4DBA
accent
#42E687
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1006
muted
#7E7F7A