#509E28#509E28

#509E28 is a light, vivid yellow-green. Relative luminance 0.263; OKLCH L 62.6% C 0.169 H 137.3°. Best body text is #000000 at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#509E28
RGBrgb(80, 158, 40)
HSLhsl(100, 60%, 39%)
HSVhsv(100, 75%, 62%)
CMYKcmyk(49.4%, 0%, 74.7%, 38%)
CIE-LABlab(58.33, -44.79, 51.02)
CIE-LCHlch(58.33, 67.89, 131.28°)
OKLaboklab(62.59% -0.1242 0.1148)
OKLCHoklch(62.59% 0.169 137.3)
XYZxyz(15.9176, 26.3113, 6.2469)
Luminance0.2631 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#509E28 #76289E
analogous
#8B9E28 #509E28 #289E3B
triadic
#509E28 #28509E #9E2850
tetradic
#509E28 #288B9E #76289E #9E3B28
square
#509E28 #288B9E #76289E #9E3B28
split-complementary
#509E28 #3B289E #9E288B
monochromatic
#1F3C0F #376D1C #509E28 #6ACC37 #8ED968

Accessibility & contrast

On white

3.35
#509E28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.26
#509E28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #509E28
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##509E28#FFFFFF#000000##000000
##509E281.003.356.266.26
#FFFFFF3.351.0021.0021.00
#0000006.2621.001.001.00
##0000006.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A39011
Deuteranopia (green-blind)
#998A34
Tritanopia (blue-blind)
#4B9887
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #509e28;
/* rgb */ color: rgb(80, 158, 40);
/* oklch */ color: oklch(62.6% 0.169 137.3);
Tailwind
colors: {
  custom: {
    50: '#89bb6a',
    500: '#509e28',
    950: '#000000',
  },
}
SCSS
$custom: #509e28;
$custom-light: #89bb6a;
$custom-dark: #000000;
JSON
{
  "hex": "#509e28",
  "rgb": {
    "r": 80,
    "g": 158,
    "b": 40
  },
  "hsl": {
    "h": 99.661,
    "s": 59.596,
    "l": 38.824
  },
  "oklch": {
    "l": 0.62587,
    "c": 0.16907,
    "h": 137.3
  },
  "luminance": 0.26312
}

Semantic roles & 50–950 ramp

primary
#509E28
secondary
#A063BF
accent
#45E3AD
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1207
muted
#7D817A

Preview Lab

Preview with #509E28

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

Preview Lab → · Contrast checker → · Palette generator →

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