#509D1C#509D1C
#509D1C is a light, vivid yellow-green. Relative luminance 0.259; OKLCH L 62.2% C 0.174 H 136.3°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).
Color values
| HEX | #509D1C |
|---|---|
| RGB | rgb(80, 157, 28) |
| HSL | hsl(96, 70%, 36%) |
| HSV | hsv(96, 82%, 62%) |
| CMYK | cmyk(49%, 0%, 82.2%, 38.4%) |
| CIE-LAB | lab(57.94, -45.12, 54.57) |
| CIE-LCH | lch(57.94, 70.81, 129.58°) |
| OKLab | oklab(62.25% -0.1258 0.1204) |
| OKLCH | oklch(62.25% 0.174 136.3) |
| XYZ | xyz(15.5744, 25.9022, 5.2773) |
| Luminance | 0.2590 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Grassy Green
#419C03
ΔE00 1.74
Grass Green
#3F9B0B
ΔE00 1.90
Lawn Green
#4DA409
ΔE00 2.48
Leaf Green
#5CA904
ΔE00 4.46
Grass
#5CAC2D
ΔE00 4.71
Leaf
#71AA34
ΔE00 5.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#509D1C #691C9D
analogous
#919D1C #509D1C #1C9D29
triadic
#509D1C #1C509D #9D1C50
tetradic
#509D1C #1C919D #691C9D #9D291C
square
#509D1C #1C919D #691C9D #9D291C
split-complementary
#509D1C #291C9D #9D1C91
monochromatic
#1B3509 #366913 #509D1C #6AD125 #8CE053
Accessibility & contrast
On white
3.40
#509D1C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.18
#509D1C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #509D1C
6.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##509D1C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##509D1C | 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)
#99892C
Tritanopia (blue-blind)
#4C9786
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #509d1c; /* rgb */ color: rgb(80, 157, 28); /* oklch */ color: oklch(62.2% 0.174 136.3);
Tailwind
colors: {
custom: {
50: '#89ba65',
500: '#509d1c',
950: '#000000',
},
}SCSS
$custom: #509d1c; $custom-light: #89ba65; $custom-dark: #000000;
JSON
{
"hex": "#509d1c",
"rgb": {
"r": 80,
"g": 157,
"b": 28
},
"hsl": {
"h": 95.814,
"s": 69.73,
"l": 36.275
},
"oklch": {
"l": 0.62248,
"c": 0.17411,
"h": 136.3
},
"luminance": 0.25903
}Semantic roles & 50–950 ramp
primary
#509D1C
secondary
#9551C3
accent
#3BEDA5
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1206
muted
#7D817A