#509F2F#509F2F
#509F2F is a light, vivid green. Relative luminance 0.267; OKLCH L 62.9% C 0.166 H 138.0°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).
Color values
| HEX | #509F2F |
|---|---|
| RGB | rgb(80, 159, 47) |
| HSL | hsl(102, 54%, 40%) |
| HSV | hsv(102, 70%, 62%) |
| CMYK | cmyk(49.7%, 0%, 70.4%, 37.6%) |
| CIE-LAB | lab(58.70, -44.66, 48.72) |
| CIE-LCH | lch(58.70, 66.09, 132.51°) |
| OKLab | oklab(62.91% -0.1233 0.1109) |
| OKLCH | oklch(62.91% 0.166 138) |
| XYZ | xyz(16.2189, 26.7058, 6.9889) |
| Luminance | 0.2671 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Grass Green
#3F9B0B
ΔE00 3.06
Grassy Green
#419C03
ΔE00 3.19
Lawn Green
#4DA409
ΔE00 3.46
Mid Green
#50A747
ΔE00 3.77
Grass
#5CAC2D
ΔE00 4.34
Flat Green
#699D4C
ΔE00 4.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#509F2F #7E2F9F
analogous
#889F2F #509F2F #2F9F46
triadic
#509F2F #2F509F #9F2F50
tetradic
#509F2F #2F889F #7E2F9F #9F462F
square
#509F2F #2F889F #7E2F9F #9F462F
split-complementary
#509F2F #462F9F #9F2F88
monochromatic
#204113 #387021 #509F2F #6AC844 #90D673
Accessibility & contrast
On white
3.31
#509F2F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.34
#509F2F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #509F2F
6.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##509F2F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##509F2F | 1.00 | 3.31 | 6.34 | 6.34 |
| #FFFFFF | 3.31 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.34 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.34 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A4911E
Deuteranopia (green-blind)
#9A8B39
Tritanopia (blue-blind)
#4A9989
Achromatopsia (no color)
#8D8D8D
Design tokens & code
CSS
--color: #509f2f; /* rgb */ color: rgb(80, 159, 47); /* oklch */ color: oklch(62.9% 0.166 138.0);
Tailwind
colors: {
custom: {
50: '#88bc6e',
500: '#509f2f',
950: '#000000',
},
}SCSS
$custom: #509f2f; $custom-light: #88bc6e; $custom-dark: #000000;
JSON
{
"hex": "#509f2f",
"rgb": {
"r": 80,
"g": 159,
"b": 47
},
"hsl": {
"h": 102.321,
"s": 54.369,
"l": 40.392
},
"oklch": {
"l": 0.62907,
"c": 0.16587,
"h": 138
},
"luminance": 0.26707
}Semantic roles & 50–950 ramp
primary
#509F2F
secondary
#A56DBD
accent
#4ADEB2
background
#F8FBF6
surface
#F0F6EC
border
#CBD0C7
text
#0C1207
muted
#7D817A