#509D1B#509D1B
#509D1B is a light, vivid yellow-green. Relative luminance 0.259; OKLCH L 62.2% C 0.175 H 136.2°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).
Color values
| HEX | #509D1B |
|---|---|
| RGB | rgb(80, 157, 27) |
| HSL | hsl(96, 71%, 36%) |
| HSV | hsv(96, 83%, 62%) |
| CMYK | cmyk(49%, 0%, 82.8%, 38.4%) |
| CIE-LAB | lab(57.94, -45.17, 54.85) |
| CIE-LCH | lch(57.94, 71.05, 129.47°) |
| OKLab | oklab(62.24% -0.126 0.1208) |
| OKLCH | oklch(62.24% 0.175 136.2) |
| XYZ | xyz(15.5626, 25.8975, 5.2154) |
| Luminance | 0.2590 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Grassy Green
#419C03
ΔE00 1.71
Grass Green
#3F9B0B
ΔE00 1.90
Lawn Green
#4DA409
ΔE00 2.44
Leaf Green
#5CA904
ΔE00 4.42
Grass
#5CAC2D
ΔE00 4.72
Leaf
#71AA34
ΔE00 5.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#509D1B #681B9D
analogous
#919D1B #509D1B #1B9D27
triadic
#509D1B #1B509D #9D1B50
tetradic
#509D1B #1B919D #681B9D #9D271B
square
#509D1B #1B919D #681B9D #9D271B
split-complementary
#509D1B #271B9D #9D1B91
monochromatic
#1B3509 #356912 #509D1B #6BD124 #8CE151
Accessibility & contrast
On white
3.40
#509D1B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.18
#509D1B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #509D1B
6.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##509D1B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##509D1B | 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)
#99892B
Tritanopia (blue-blind)
#4C9786
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #509d1b; /* rgb */ color: rgb(80, 157, 27); /* oklch */ color: oklch(62.2% 0.175 136.2);
Tailwind
colors: {
custom: {
50: '#89ba64',
500: '#509d1b',
950: '#000000',
},
}SCSS
$custom: #509d1b; $custom-light: #89ba64; $custom-dark: #000000;
JSON
{
"hex": "#509d1b",
"rgb": {
"r": 80,
"g": 157,
"b": 27
},
"hsl": {
"h": 95.538,
"s": 70.652,
"l": 36.078
},
"oklch": {
"l": 0.62243,
"c": 0.17455,
"h": 136.2
},
"luminance": 0.25899
}Semantic roles & 50–950 ramp
primary
#509D1B
secondary
#9550C4
accent
#3AEDA4
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1206
muted
#7D817A