#509A28#509A28

#509A28 is a mid, vivid yellow-green. Relative luminance 0.250; OKLCH L 61.5% C 0.164 H 136.9°. Best body text is #000000 at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#509A28
RGBrgb(80, 154, 40)
HSLhsl(99, 59%, 38%)
HSVhsv(99, 74%, 60%)
CMYKcmyk(48.1%, 0%, 74%, 39.6%)
CIE-LABlab(57.05, -43.18, 49.73)
CIE-LCHlch(57.05, 65.86, 130.96°)
OKLaboklab(61.53% -0.1198 0.1121)
OKLCHoklch(61.53% 0.164 136.9)
XYZxyz(15.2464, 24.9689, 6.0232)
Luminance0.2497 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#509A28 #72289A
analogous
#899A28 #509A28 #289A39
triadic
#509A28 #28509A #9A2850
tetradic
#509A28 #28899A #72289A #9A3928
square
#509A28 #28899A #72289A #9A3928
split-complementary
#509A28 #39289A #9A2889
monochromatic
#1E390F #37691B #509A28 #69CA35 #8DD765

Accessibility & contrast

On white

3.50
#509A28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.99
#509A28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #509A28
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##509A28#FFFFFF#000000##000000
##509A281.003.505.995.99
#FFFFFF3.501.0021.0021.00
#0000005.9921.001.001.00
##0000005.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8D13
Deuteranopia (green-blind)
#958733
Tritanopia (blue-blind)
#4C9484
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #509a28;
/* rgb */ color: rgb(80, 154, 40);
/* oklch */ color: oklch(61.5% 0.164 136.9);
Tailwind
colors: {
  custom: {
    50: '#88b86a',
    500: '#509a28',
    950: '#000000',
  },
}
SCSS
$custom: #509a28;
$custom-light: #88b86a;
$custom-dark: #000000;
JSON
{
  "hex": "#509a28",
  "rgb": {
    "r": 80,
    "g": 154,
    "b": 40
  },
  "hsl": {
    "h": 98.947,
    "s": 58.763,
    "l": 38.039
  },
  "oklch": {
    "l": 0.6153,
    "c": 0.16405,
    "h": 136.9
  },
  "luminance": 0.2497
}

Semantic roles & 50–950 ramp

primary
#509A28
secondary
#9D61BD
accent
#46E2AB
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1107
muted
#7D807A

Preview Lab

Preview with #509A28

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

Preview Lab → · Contrast checker → · Palette generator →

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