#509B19#509B19
#509B19 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 | #509B19 |
|---|---|
| RGB | rgb(80, 155, 25) |
| HSL | hsl(95, 72%, 35%) |
| HSV | hsv(95, 84%, 61%) |
| CMYK | cmyk(48.4%, 0%, 83.9%, 39.2%) |
| CIE-LAB | lab(57.29, -44.47, 54.80) |
| CIE-LCH | lch(57.29, 70.57, 129.05°) |
| OKLab | oklab(61.7% -0.1242 0.1204) |
| OKLCH | oklch(61.7% 0.173 135.9) |
| XYZ | xyz(15.2047, 25.2173, 4.9858) |
| Luminance | 0.2522 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Grassy Green
#419C03
ΔE00 1.70
Grass Green
#3F9B0B
ΔE00 1.80
Lawn Green
#4DA409
ΔE00 2.99
Leaf Green
#5CA904
ΔE00 4.90
Grass
#5CAC2D
ΔE00 5.33
True Green
#089404
ΔE00 5.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#509B19 #64199B
analogous
#919B19 #509B19 #199B23
triadic
#509B19 #19509B #9B1950
tetradic
#509B19 #19919B #64199B #9B2319
square
#509B19 #19919B #64199B #9B2319
split-complementary
#509B19 #23199B #9B1991
monochromatic
#1A3208 #356611 #509B19 #6BD022 #8CE24C
Accessibility & contrast
On white
3.47
#509B19 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.04
#509B19 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #509B19
6.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##509B19 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##509B19 | 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)
#978729
Tritanopia (blue-blind)
#4D9584
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #509b19; /* rgb */ color: rgb(80, 155, 25); /* oklch */ color: oklch(61.7% 0.173 135.9);
Tailwind
colors: {
custom: {
50: '#89b963',
500: '#509b19',
950: '#000000',
},
}SCSS
$custom: #509b19; $custom-light: #89b963; $custom-dark: #000000;
JSON
{
"hex": "#509b19",
"rgb": {
"r": 80,
"g": 155,
"b": 25
},
"hsl": {
"h": 94.615,
"s": 72.222,
"l": 35.294
},
"oklch": {
"l": 0.61703,
"c": 0.17301,
"h": 135.9
},
"luminance": 0.25218
}Semantic roles & 50–950 ramp
primary
#509B19
secondary
#914CC4
accent
#39EFA2
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A