#509C28#509C28

#509C28 is a light, vivid yellow-green. Relative luminance 0.256; OKLCH L 62.1% C 0.167 H 137.1°. Best body text is #000000 at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#509C28
RGBrgb(80, 156, 40)
HSLhsl(99, 59%, 38%)
HSVhsv(99, 74%, 61%)
CMYKcmyk(48.7%, 0%, 74.4%, 38.8%)
CIE-LABlab(57.69, -43.99, 50.38)
CIE-LCHlch(57.69, 66.88, 131.13°)
OKLaboklab(62.06% -0.122 0.1134)
OKLCHoklch(62.06% 0.167 137.1)
XYZxyz(15.5793, 25.6346, 6.1341)
Luminance0.2564 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#509C28 #74289C
analogous
#8A9C28 #509C28 #289C3A
triadic
#509C28 #28509C #9C2850
tetradic
#509C28 #288A9C #74289C #9C3A28
square
#509C28 #288A9C #74289C #9C3A28
split-complementary
#509C28 #3A289C #9C288A
monochromatic
#1E3B0F #376B1C #509C28 #69CB36 #8ED867

Accessibility & contrast

On white

3.43
#509C28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.13
#509C28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #509C28
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##509C28#FFFFFF#000000##000000
##509C281.003.436.136.13
#FFFFFF3.431.0021.0021.00
#0000006.1321.001.001.00
##0000006.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18F12
Deuteranopia (green-blind)
#978834
Tritanopia (blue-blind)
#4C9686
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #509c28;
/* rgb */ color: rgb(80, 156, 40);
/* oklch */ color: oklch(62.1% 0.167 137.1);
Tailwind
colors: {
  custom: {
    50: '#88ba6a',
    500: '#509c28',
    950: '#000000',
  },
}
SCSS
$custom: #509c28;
$custom-light: #88ba6a;
$custom-dark: #000000;
JSON
{
  "hex": "#509c28",
  "rgb": {
    "r": 80,
    "g": 156,
    "b": 40
  },
  "hsl": {
    "h": 99.31,
    "s": 59.184,
    "l": 38.431
  },
  "oklch": {
    "l": 0.62059,
    "c": 0.16657,
    "h": 137.1
  },
  "luminance": 0.25636
}

Semantic roles & 50–950 ramp

primary
#509C28
secondary
#9E62BE
accent
#45E2AC
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1107
muted
#7D807A

Preview Lab

Preview with #509C28

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

Preview Lab → · Contrast checker → · Palette generator →

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