#509F1A#509F1A
#509F1A is a light, vivid yellow-green. Relative luminance 0.266; OKLCH L 62.8% C 0.177 H 136.3°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).
Color values
| HEX | #509F1A |
|---|---|
| RGB | rgb(80, 159, 26) |
| HSL | hsl(96, 72%, 36%) |
| HSV | hsv(96, 84%, 62%) |
| CMYK | cmyk(49.7%, 0%, 83.6%, 37.6%) |
| CIE-LAB | lab(58.58, -46.00, 55.70) |
| CIE-LCH | lch(58.58, 72.24, 129.55°) |
| OKLab | oklab(62.77% -0.1283 0.1225) |
| OKLCH | oklch(62.77% 0.177 136.3) |
| XYZ | xyz(15.8924, 26.5752, 5.2692) |
| Luminance | 0.2658 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Lawn Green
#4DA409
ΔE00 1.83
Grassy Green
#419C03
ΔE00 1.88
Grass Green
#3F9B0B
ΔE00 2.17
Leaf Green
#5CA904
ΔE00 3.84
Grass
#5CAC2D
ΔE00 4.14
Leaf
#71AA34
ΔE00 5.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#509F1A #691A9F
analogous
#939F1A #509F1A #1A9F27
triadic
#509F1A #1A509F #9F1A50
tetradic
#509F1A #1A939F #691A9F #9F271A
square
#509F1A #1A939F #691A9F #9F271A
split-complementary
#509F1A #271A9F #9F1A93
monochromatic
#1B3609 #366A11 #509F1A #6AD423 #8CE351
Accessibility & contrast
On white
3.33
#509F1A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.32
#509F1A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #509F1A
6.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##509F1A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##509F1A | 1.00 | 3.33 | 6.32 | 6.32 |
| #FFFFFF | 3.33 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.32 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.32 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A59100
Deuteranopia (green-blind)
#9B8A2B
Tritanopia (blue-blind)
#4C9987
Achromatopsia (no color)
#8D8D8D
Design tokens & code
CSS
--color: #509f1a; /* rgb */ color: rgb(80, 159, 26); /* oklch */ color: oklch(62.8% 0.177 136.3);
Tailwind
colors: {
custom: {
50: '#89bc64',
500: '#509f1a',
950: '#000000',
},
}SCSS
$custom: #509f1a; $custom-light: #89bc64; $custom-dark: #000000;
JSON
{
"hex": "#509f1a",
"rgb": {
"r": 80,
"g": 159,
"b": 26
},
"hsl": {
"h": 95.639,
"s": 71.892,
"l": 36.275
},
"oklch": {
"l": 0.62767,
"c": 0.17735,
"h": 136.3
},
"luminance": 0.26576
}Semantic roles & 50–950 ramp
primary
#509F1A
secondary
#9550C5
accent
#39EFA5
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1206
muted
#7D817A