#508D5E#508D5E
#508D5E is a mid, moderate green. Relative luminance 0.216; OKLCH L 58.9% C 0.096 H 150.0°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).
Color values
| HEX | #508D5E |
|---|---|
| RGB | rgb(80, 141, 94) |
| HSL | hsl(134, 28%, 43%) |
| HSV | hsv(134, 43%, 55%) |
| CMYK | cmyk(43.3%, 0%, 33.3%, 44.7%) |
| CIE-LAB | lab(53.56, -30.51, 19.06) |
| CIE-LCH | lch(53.56, 35.98, 148.00°) |
| OKLab | oklab(58.9% -0.0832 0.048) |
| OKLCH | oklch(58.9% 0.096 150) |
| XYZ | xyz(14.8526, 21.5624, 13.9668) |
| Luminance | 0.2156 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Light Forest Green
#4F9153
ΔE00 3.55
Dark Sage
#598556
ΔE00 3.69
Sea Green
#2E8B57
ΔE00 4.15
Slate Green
#658D6D
ΔE00 5.21
Viridian
#1E9167
ΔE00 5.91
Fern Green
#548D44
ΔE00 6.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#508D5E #8D507F
analogous
#608D50 #508D5E #508D7C
triadic
#508D5E #5E508D #8D5E50
tetradic
#508D5E #50608D #8D507F #8D7C50
square
#508D5E #50608D #8D507F #8D7C50
split-complementary
#508D5E #7C508D #8D5060
monochromatic
#243F2A #3A6644 #508D5E #6EAD7C #95C39F
Accessibility & contrast
On white
3.95
#508D5E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.31
#508D5E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #508D5E
5.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##508D5E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##508D5E | 1.00 | 3.95 | 5.31 | 5.31 |
| #FFFFFF | 3.95 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.31 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.31 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8E845B
Deuteranopia (green-blind)
#857E61
Tritanopia (blue-blind)
#458B81
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #508d5e; /* rgb */ color: rgb(80, 141, 94); /* oklch */ color: oklch(58.9% 0.096 150.0);
Tailwind
colors: {
custom: {
50: '#84af8c',
500: '#508d5e',
950: '#000000',
},
}SCSS
$custom: #508d5e; $custom-light: #84af8c; $custom-dark: #000000;
JSON
{
"hex": "#508d5e",
"rgb": {
"r": 80,
"g": 141,
"b": 94
},
"hsl": {
"h": 133.77,
"s": 27.602,
"l": 43.333
},
"oklch": {
"l": 0.58899,
"c": 0.09605,
"h": 150
},
"luminance": 0.21563
}Semantic roles & 50–950 ramp
primary
#508D5E
secondary
#AF89A7
accent
#64AEC4
background
#F8FAF8
surface
#EFF4F0
border
#CACECB
text
#0B100C
muted
#7C7F7D