#509B1F#509B1F
#509B1F is a mid, vivid yellow-green. Relative luminance 0.252; OKLCH L 61.7% C 0.170 H 136.3°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).
Color values
| HEX | #509B1F |
|---|---|
| RGB | rgb(80, 155, 31) |
| HSL | hsl(96, 67%, 36%) |
| HSV | hsv(96, 80%, 61%) |
| CMYK | cmyk(48.4%, 0%, 80%, 39.2%) |
| CIE-LAB | lab(57.31, -44.16, 53.09) |
| CIE-LCH | lch(57.31, 69.05, 129.75°) |
| OKLab | oklab(61.73% -0.123 0.1177) |
| OKLCH | oklch(61.73% 0.17 136.3) |
| XYZ | xyz(15.2765, 25.2461, 5.3641) |
| Luminance | 0.2525 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Grass Green
#3F9B0B
ΔE00 1.88
Grassy Green
#419C03
ΔE00 1.91
Lawn Green
#4DA409
ΔE00 3.19
Leaf Green
#5CA904
ΔE00 5.14
Grass
#5CAC2D
ΔE00 5.30
True Green
#089404
ΔE00 5.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#509B1F #6A1F9B
analogous
#8E9B1F #509B1F #1F9B2C
triadic
#509B1F #1F509B #9B1F50
tetradic
#509B1F #1F8E9B #6A1F9B #9B2C1F
square
#509B1F #1F8E9B #6A1F9B #9B2C1F
split-complementary
#509B1F #2C1F9B #9B1F8E
monochromatic
#1B350B #366815 #509B1F #6ACE29 #8CDD57
Accessibility & contrast
On white
3.47
#509B1F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.05
#509B1F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #509B1F
6.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##509B1F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##509B1F | 1.00 | 3.47 | 6.05 | 6.05 |
| #FFFFFF | 3.47 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.05 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.05 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A18D00
Deuteranopia (green-blind)
#97872D
Tritanopia (blue-blind)
#4C9584
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #509b1f; /* rgb */ color: rgb(80, 155, 31); /* oklch */ color: oklch(61.7% 0.170 136.3);
Tailwind
colors: {
custom: {
50: '#89b966',
500: '#509b1f',
950: '#000000',
},
}SCSS
$custom: #509b1f; $custom-light: #89b966; $custom-dark: #000000;
JSON
{
"hex": "#509b1f",
"rgb": {
"r": 80,
"g": 155,
"b": 31
},
"hsl": {
"h": 96.29,
"s": 66.667,
"l": 36.471
},
"oklch": {
"l": 0.61734,
"c": 0.17029,
"h": 136.3
},
"luminance": 0.25247
}Semantic roles & 50–950 ramp
primary
#509B1F
secondary
#9655C1
accent
#3EEAA6
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A