#509D28#509D28

#509D28 is a light, vivid yellow-green. Relative luminance 0.260; OKLCH L 62.3% C 0.168 H 137.2°. Best body text is #000000 at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#509D28
RGBrgb(80, 157, 40)
HSLhsl(99, 59%, 39%)
HSVhsv(99, 75%, 62%)
CMYKcmyk(49%, 0%, 74.5%, 38.4%)
CIE-LABlab(58.01, -44.39, 50.70)
CIE-LCHlch(58.01, 67.39, 131.20°)
OKLaboklab(62.32% -0.1231 0.1141)
OKLCHoklch(62.32% 0.168 137.2)
XYZxyz(15.7478, 25.9715, 6.1903)
Luminance0.2597 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#509D28 #75289D
analogous
#8A9D28 #509D28 #289D3A
triadic
#509D28 #28509D #9D2850
tetradic
#509D28 #288A9D #75289D #9D3A28
square
#509D28 #288A9D #75289D #9D3A28
split-complementary
#509D28 #3A289D #9D288A
monochromatic
#1E3B0F #376C1C #509D28 #69CC36 #8ED867

Accessibility & contrast

On white

3.39
#509D28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.19
#509D28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #509D28
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##509D28#FFFFFF#000000##000000
##509D281.003.396.196.19
#FFFFFF3.391.0021.0021.00
#0000006.1921.001.001.00
##0000006.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A28F11
Deuteranopia (green-blind)
#988934
Tritanopia (blue-blind)
#4B9786
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #509d28;
/* rgb */ color: rgb(80, 157, 40);
/* oklch */ color: oklch(62.3% 0.168 137.2);
Tailwind
colors: {
  custom: {
    50: '#88ba6a',
    500: '#509d28',
    950: '#000000',
  },
}
SCSS
$custom: #509d28;
$custom-light: #88ba6a;
$custom-dark: #000000;
JSON
{
  "hex": "#509d28",
  "rgb": {
    "r": 80,
    "g": 157,
    "b": 40
  },
  "hsl": {
    "h": 99.487,
    "s": 59.391,
    "l": 38.627
  },
  "oklch": {
    "l": 0.62323,
    "c": 0.16783,
    "h": 137.2
  },
  "luminance": 0.25973
}

Semantic roles & 50–950 ramp

primary
#509D28
secondary
#9F62BE
accent
#45E3AD
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1207
muted
#7D817A

Preview Lab

Preview with #509D28

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#509D28 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva