#558B40#558B40
#558B40 is a mid, vivid green. Relative luminance 0.208; OKLCH L 58.1% C 0.121 H 137.7°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).
Color values
| HEX | #558B40 |
|---|---|
| RGB | rgb(85, 139, 64) |
| HSL | hsl(103, 37%, 40%) |
| HSV | hsv(103, 54%, 55%) |
| CMYK | cmyk(38.8%, 0%, 54%, 45.5%) |
| CIE-LAB | lab(52.69, -32.64, 34.23) |
| CIE-LCH | lch(52.69, 47.30, 133.63°) |
| OKLab | oklab(58.1% -0.0897 0.0817) |
| OKLCH | oklch(58.1% 0.121 137.7) |
| XYZ | xyz(13.9039, 20.7660, 8.1251) |
| Luminance | 0.2077 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Fern Green
#548D44
ΔE00 0.98
Moss Green (survey)
#658B38
ΔE00 3.88
Light Forest Green
#4F9153
ΔE00 4.27
Mossy Green
#638B27
ΔE00 5.61
Swamp
#698339
ΔE00 5.83
Dark Sage
#598556
ΔE00 6.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#558B40 #76408B
analogous
#7B8B40 #558B40 #408B51
triadic
#558B40 #40558B #8B4055
tetradic
#558B40 #407B8B #76408B #8B5140
square
#558B40 #407B8B #76408B #8B5140
split-complementary
#558B40 #51408B #8B407B
monochromatic
#223719 #3B612D #558B40 #70B257 #94C581
Accessibility & contrast
On white
4.07
#558B40 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.15
#558B40 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #558B40
5.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##558B40 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##558B40 | 1.00 | 4.07 | 5.15 | 5.15 |
| #FFFFFF | 4.07 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.15 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.15 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8F8139
Deuteranopia (green-blind)
#877C45
Tritanopia (blue-blind)
#52877A
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #558b40; /* rgb */ color: rgb(85, 139, 64); /* oklch */ color: oklch(58.1% 0.121 137.7);
Tailwind
colors: {
custom: {
50: '#88ad77',
500: '#558b40',
950: '#000000',
},
}SCSS
$custom: #558b40; $custom-light: #88ad77; $custom-dark: #000000;
JSON
{
"hex": "#558b40",
"rgb": {
"r": 85,
"g": 139,
"b": 64
},
"hsl": {
"h": 103.2,
"s": 36.946,
"l": 39.804
},
"oklch": {
"l": 0.58104,
"c": 0.12136,
"h": 137.7
},
"luminance": 0.20767
}Semantic roles & 50–950 ramp
primary
#558B40
secondary
#A078AF
accent
#5BCDAD
background
#F8FAF7
surface
#F0F4ED
border
#CBCEC8
text
#0C1009
muted
#7D7F7B