#509B1A#509B1A
#509B1A is a mid, vivid yellow-green. Relative luminance 0.252; OKLCH L 61.7% C 0.173 H 135.9°. Best body text is #000000 at 6.04:1 contrast (WCAG AA passes).
Color values
| HEX | #509B1A |
|---|---|
| RGB | rgb(80, 155, 26) |
| HSL | hsl(95, 71%, 35%) |
| HSV | hsv(95, 83%, 61%) |
| CMYK | cmyk(48.4%, 0%, 83.2%, 39.2%) |
| CIE-LAB | lab(57.29, -44.42, 54.54) |
| CIE-LCH | lch(57.29, 70.34, 129.16°) |
| OKLab | oklab(61.71% -0.124 0.12) |
| OKLCH | oklch(61.71% 0.173 135.9) |
| XYZ | xyz(15.2157, 25.2217, 5.0436) |
| Luminance | 0.2522 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Grassy Green
#419C03
ΔE00 1.72
Grass Green
#3F9B0B
ΔE00 1.80
Lawn Green
#4DA409
ΔE00 3.01
Leaf Green
#5CA904
ΔE00 4.94
Grass
#5CAC2D
ΔE00 5.33
True Green
#089404
ΔE00 5.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#509B1A #651A9B
analogous
#909B1A #509B1A #1A9B25
triadic
#509B1A #1A509B #9B1A50
tetradic
#509B1A #1A909B #651A9B #9B251A
square
#509B1A #1A909B #651A9B #9B251A
split-complementary
#509B1A #251A9B #9B1A90
monochromatic
#1A3208 #356711 #509B1A #6BCF23 #8CE14E
Accessibility & contrast
On white
3.47
#509B1A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.04
#509B1A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #509B1A
6.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##509B1A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##509B1A | 1.00 | 3.47 | 6.04 | 6.04 |
| #FFFFFF | 3.47 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.04 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.04 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A18D00
Deuteranopia (green-blind)
#97872A
Tritanopia (blue-blind)
#4D9584
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #509b1a; /* rgb */ color: rgb(80, 155, 26); /* oklch */ color: oklch(61.7% 0.173 135.9);
Tailwind
colors: {
custom: {
50: '#89b964',
500: '#509b1a',
950: '#000000',
},
}SCSS
$custom: #509b1a; $custom-light: #89b964; $custom-dark: #000000;
JSON
{
"hex": "#509b1a",
"rgb": {
"r": 80,
"g": 155,
"b": 26
},
"hsl": {
"h": 94.884,
"s": 71.271,
"l": 35.49
},
"oklch": {
"l": 0.61708,
"c": 0.17259,
"h": 135.9
},
"luminance": 0.25223
}Semantic roles & 50–950 ramp
primary
#509B1A
secondary
#924DC4
accent
#3AEEA3
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A