#509D1F#509D1F
#509D1F is a light, vivid yellow-green. Relative luminance 0.259; OKLCH L 62.3% C 0.173 H 136.5°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).
Color values
| HEX | #509D1F |
|---|---|
| RGB | rgb(80, 157, 31) |
| HSL | hsl(97, 67%, 37%) |
| HSV | hsv(97, 80%, 62%) |
| CMYK | cmyk(49%, 0%, 80.3%, 38.4%) |
| CIE-LAB | lab(57.96, -44.96, 53.69) |
| CIE-LCH | lch(57.96, 70.03, 129.94°) |
| OKLab | oklab(62.26% -0.1252 0.119) |
| OKLCH | oklch(62.26% 0.173 136.5) |
| XYZ | xyz(15.6121, 25.9173, 5.4759) |
| Luminance | 0.2592 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Grassy Green
#419C03
ΔE00 1.87
Grass Green
#3F9B0B
ΔE00 1.95
Lawn Green
#4DA409
ΔE00 2.61
Leaf Green
#5CA904
ΔE00 4.59
Grass
#5CAC2D
ΔE00 4.69
Mid Green
#50A747
ΔE00 5.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#509D1F #6C1F9D
analogous
#8F9D1F #509D1F #1F9D2D
triadic
#509D1F #1F509D #9D1F50
tetradic
#509D1F #1F8F9D #6C1F9D #9D2D1F
square
#509D1F #1F8F9D #6C1F9D #9D2D1F
split-complementary
#509D1F #2D1F9D #9D1F8F
monochromatic
#1C370B #366A15 #509D1F #6AD029 #8CDE58
Accessibility & contrast
On white
3.40
#509D1F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.18
#509D1F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #509D1F
6.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##509D1F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##509D1F | 1.00 | 3.40 | 6.18 | 6.18 |
| #FFFFFF | 3.40 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.18 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.18 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A38F00
Deuteranopia (green-blind)
#99892E
Tritanopia (blue-blind)
#4C9786
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #509d1f; /* rgb */ color: rgb(80, 157, 31); /* oklch */ color: oklch(62.3% 0.173 136.5);
Tailwind
colors: {
custom: {
50: '#89ba66',
500: '#509d1f',
950: '#000000',
},
}SCSS
$custom: #509d1f; $custom-light: #89ba66; $custom-dark: #000000;
JSON
{
"hex": "#509d1f",
"rgb": {
"r": 80,
"g": 157,
"b": 31
},
"hsl": {
"h": 96.667,
"s": 67.021,
"l": 36.863
},
"oklch": {
"l": 0.62264,
"c": 0.17272,
"h": 136.5
},
"luminance": 0.25918
}Semantic roles & 50–950 ramp
primary
#509D1F
secondary
#9856C2
accent
#3EEAA7
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1206
muted
#7D817A