#508C3E#508C3E
#508C3E is a mid, vivid green. Relative luminance 0.208; OKLCH L 58.1% C 0.128 H 138.9°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).
Color values
| HEX | #508C3E |
|---|---|
| RGB | rgb(80, 140, 62) |
| HSL | hsl(106, 39%, 40%) |
| HSV | hsv(106, 56%, 55%) |
| CMYK | cmyk(42.9%, 0%, 55.7%, 45.1%) |
| CIE-LAB | lab(52.74, -35.06, 35.25) |
| CIE-LCH | lch(52.74, 49.71, 134.85°) |
| OKLab | oklab(58.07% -0.0962 0.0838) |
| OKLCH | oklch(58.07% 0.128 138.9) |
| XYZ | xyz(13.5554, 20.8087, 7.8587) |
| Luminance | 0.2081 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Fern Green
#548D44
ΔE00 1.08
Light Forest Green
#4F9153
ΔE00 4.16
Moss Green (survey)
#658B38
ΔE00 4.46
Forestgreen (CSS)
#228B22
ΔE00 5.39
Mossy Green
#638B27
ΔE00 5.90
Kelley Green
#009337
ΔE00 6.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#508C3E #7A3E8C
analogous
#778C3E #508C3E #3E8C53
triadic
#508C3E #3E508C #8C3E50
tetradic
#508C3E #3E778C #7A3E8C #8C533E
square
#508C3E #3E778C #7A3E8C #8C533E
split-complementary
#508C3E #533E8C #8C3E77
monochromatic
#203718 #38622B #508C3E #6AB354 #8FC67E
Accessibility & contrast
On white
4.07
#508C3E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.16
#508C3E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #508C3E
5.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##508C3E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##508C3E | 1.00 | 4.07 | 5.16 | 5.16 |
| #FFFFFF | 4.07 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.16 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.16 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#908137
Deuteranopia (green-blind)
#877C44
Tritanopia (blue-blind)
#4C887A
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #508c3e; /* rgb */ color: rgb(80, 140, 62); /* oklch */ color: oklch(58.1% 0.128 138.9);
Tailwind
colors: {
custom: {
50: '#85ae75',
500: '#508c3e',
950: '#000000',
},
}SCSS
$custom: #508c3e; $custom-light: #85ae75; $custom-dark: #000000;
JSON
{
"hex": "#508c3e",
"rgb": {
"r": 80,
"g": 140,
"b": 62
},
"hsl": {
"h": 106.154,
"s": 38.614,
"l": 39.608
},
"oklch": {
"l": 0.58067,
"c": 0.12759,
"h": 138.9
},
"luminance": 0.20809
}Semantic roles & 50–950 ramp
primary
#508C3E
secondary
#A376B0
accent
#59CFB3
background
#F8FAF7
surface
#F0F4ED
border
#CBCEC8
text
#0B1008
muted
#7C7F7B