#508D3E#508D3E
#508D3E is a mid, vivid green. Relative luminance 0.211; OKLCH L 58.3% C 0.129 H 139.0°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).
Color values
| HEX | #508D3E |
|---|---|
| RGB | rgb(80, 141, 62) |
| HSL | hsl(106, 39%, 40%) |
| HSV | hsv(106, 56%, 55%) |
| CMYK | cmyk(43.3%, 0%, 56%, 44.7%) |
| CIE-LAB | lab(53.06, -35.50, 35.63) |
| CIE-LCH | lch(53.06, 50.30, 134.90°) |
| OKLab | oklab(58.33% -0.0974 0.0846) |
| OKLCH | oklch(58.33% 0.129 139) |
| XYZ | xyz(13.7022, 21.1022, 7.9076) |
| Luminance | 0.2110 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Fern Green
#548D44
ΔE00 1.12
Light Forest Green
#4F9153
ΔE00 4.12
Moss Green (survey)
#658B38
ΔE00 4.48
Forestgreen (CSS)
#228B22
ΔE00 5.36
Mossy Green
#638B27
ΔE00 5.88
Kelley Green
#009337
ΔE00 6.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#508D3E #7B3E8D
analogous
#788D3E #508D3E #3E8D54
triadic
#508D3E #3E508D #8D3E50
tetradic
#508D3E #3E788D #7B3E8D #8D543E
square
#508D3E #3E788D #7B3E8D #8D543E
split-complementary
#508D3E #543E8D #8D3E78
monochromatic
#203819 #38622B #508D3E #6AB454 #8FC77F
Accessibility & contrast
On white
4.02
#508D3E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.22
#508D3E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #508D3E
5.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##508D3E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##508D3E | 1.00 | 4.02 | 5.22 | 5.22 |
| #FFFFFF | 4.02 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.22 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.22 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#918237
Deuteranopia (green-blind)
#887D44
Tritanopia (blue-blind)
#4C897B
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #508d3e; /* rgb */ color: rgb(80, 141, 62); /* oklch */ color: oklch(58.3% 0.129 139.0);
Tailwind
colors: {
custom: {
50: '#85af75',
500: '#508d3e',
950: '#000000',
},
}SCSS
$custom: #508d3e; $custom-light: #85af75; $custom-dark: #000000;
JSON
{
"hex": "#508d3e",
"rgb": {
"r": 80,
"g": 141,
"b": 62
},
"hsl": {
"h": 106.329,
"s": 38.916,
"l": 39.804
},
"oklch": {
"l": 0.5833,
"c": 0.12906,
"h": 139
},
"luminance": 0.21103
}Semantic roles & 50–950 ramp
primary
#508D3E
secondary
#A376B1
accent
#59CFB4
background
#F8FAF7
surface
#F0F4ED
border
#CBCEC8
text
#0B1008
muted
#7C7F7B