#508C56#508C56
#508C56 is a mid, moderate green. Relative luminance 0.211; OKLCH L 58.5% C 0.103 H 146.4°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).
Color values
| HEX | #508C56 |
|---|---|
| RGB | rgb(80, 140, 86) |
| HSL | hsl(126, 27%, 43%) |
| HSV | hsv(126, 43%, 55%) |
| CMYK | cmyk(42.9%, 0%, 38.6%, 45.1%) |
| CIE-LAB | lab(53.09, -31.48, 22.91) |
| CIE-LCH | lch(53.09, 38.94, 143.96°) |
| OKLab | oklab(58.47% -0.0857 0.057) |
| OKLCH | oklch(58.47% 0.103 146.4) |
| XYZ | xyz(14.3653, 21.1326, 12.1243) |
| Luminance | 0.2113 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Light Forest Green
#4F9153
ΔE00 2.24
Dark Sage
#598556
ΔE00 3.28
Fern Green
#548D44
ΔE00 4.35
Sea Green
#2E8B57
ΔE00 4.37
Slate Green
#658D6D
ΔE00 6.50
Viridian
#1E9167
ΔE00 7.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#508C56 #8C5086
analogous
#688C50 #508C56 #508C74
triadic
#508C56 #56508C #8C5650
tetradic
#508C56 #50688C #8C5086 #8C7450
square
#508C56 #50688C #8C5086 #8C7450
split-complementary
#508C56 #74508C #8C5068
monochromatic
#233E26 #3A653E #508C56 #6DAC74 #94C299
Accessibility & contrast
On white
4.02
#508C56 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.23
#508C56 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #508C56
5.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##508C56 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##508C56 | 1.00 | 4.02 | 5.23 | 5.23 |
| #FFFFFF | 4.02 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.23 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.23 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8E8252
Deuteranopia (green-blind)
#857C59
Tritanopia (blue-blind)
#48897E
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #508c56; /* rgb */ color: rgb(80, 140, 86); /* oklch */ color: oklch(58.5% 0.103 146.4);
Tailwind
colors: {
custom: {
50: '#84ae86',
500: '#508c56',
950: '#000000',
},
}SCSS
$custom: #508c56; $custom-light: #84ae86; $custom-dark: #000000;
JSON
{
"hex": "#508c56",
"rgb": {
"r": 80,
"g": 140,
"b": 86
},
"hsl": {
"h": 126,
"s": 27.273,
"l": 43.137
},
"oklch": {
"l": 0.58472,
"c": 0.10294,
"h": 146.4
},
"luminance": 0.21134
}Semantic roles & 50–950 ramp
primary
#508C56
secondary
#AF89AB
accent
#64BAC4
background
#F8FAF8
surface
#EFF4EF
border
#CACECA
text
#0B100B
muted
#7C7F7C