#508D3D#508D3D
#508D3D is a mid, vivid green. Relative luminance 0.211; OKLCH L 58.3% C 0.130 H 138.8°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).
Color values
| HEX | #508D3D |
|---|---|
| RGB | rgb(80, 141, 61) |
| HSL | hsl(106, 40%, 40%) |
| HSV | hsv(106, 57%, 55%) |
| CMYK | cmyk(43.3%, 0%, 56.7%, 44.7%) |
| CIE-LAB | lab(53.05, -35.63, 36.11) |
| CIE-LCH | lch(53.05, 50.73, 134.61°) |
| OKLab | oklab(58.32% -0.0978 0.0856) |
| OKLCH | oklch(58.32% 0.13 138.8) |
| XYZ | xyz(13.6750, 21.0913, 7.7644) |
| Luminance | 0.2109 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Fern Green
#548D44
ΔE00 1.27
Light Forest Green
#4F9153
ΔE00 4.29
Moss Green (survey)
#658B38
ΔE00 4.39
Forestgreen (CSS)
#228B22
ΔE00 5.28
Mossy Green
#638B27
ΔE00 5.73
Kelley Green
#009337
ΔE00 6.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#508D3D #7A3D8D
analogous
#788D3D #508D3D #3D8D52
triadic
#508D3D #3D508D #8D3D50
tetradic
#508D3D #3D788D #7A3D8D #8D523D
square
#508D3D #3D788D #7A3D8D #8D523D
split-complementary
#508D3D #523D8D #8D3D78
monochromatic
#203818 #38622B #508D3D #6AB453 #8FC77D
Accessibility & contrast
On white
4.02
#508D3D on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.22
#508D3D on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #508D3D
5.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##508D3D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##508D3D | 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)
#918235
Deuteranopia (green-blind)
#887D43
Tritanopia (blue-blind)
#4C897B
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #508d3d; /* rgb */ color: rgb(80, 141, 61); /* oklch */ color: oklch(58.3% 0.130 138.8);
Tailwind
colors: {
custom: {
50: '#85af75',
500: '#508d3d',
950: '#000000',
},
}SCSS
$custom: #508d3d; $custom-light: #85af75; $custom-dark: #000000;
JSON
{
"hex": "#508d3d",
"rgb": {
"r": 80,
"g": 141,
"b": 61
},
"hsl": {
"h": 105.75,
"s": 39.604,
"l": 39.608
},
"oklch": {
"l": 0.58316,
"c": 0.13001,
"h": 138.8
},
"luminance": 0.21092
}Semantic roles & 50–950 ramp
primary
#508D3D
secondary
#A375B1
accent
#58CFB3
background
#F8FAF7
surface
#F0F4ED
border
#CBCEC8
text
#0B1008
muted
#7C7F7B