#509728#509728

#509728 is a mid, vivid yellow-green. Relative luminance 0.240; OKLCH L 60.7% C 0.160 H 136.6°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#509728
RGBrgb(80, 151, 40)
HSLhsl(98, 58%, 37%)
HSVhsv(98, 74%, 59%)
CMYKcmyk(47%, 0%, 73.5%, 40.8%)
CIE-LABlab(56.08, -41.95, 48.76)
CIE-LCHlch(56.08, 64.32, 130.70°)
OKLaboklab(60.74% -0.1165 0.11)
OKLCHoklch(60.74% 0.16 136.6)
XYZxyz(14.7575, 23.9909, 5.8602)
Luminance0.2399 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#509728 #6F2897
analogous
#889728 #509728 #289737
triadic
#509728 #285097 #972850
tetradic
#509728 #288897 #6F2897 #973728
square
#509728 #288897 #6F2897 #973728
split-complementary
#509728 #372897 #972888
monochromatic
#1D360E #36671B #509728 #6AC735 #8DD664

Accessibility & contrast

On white

3.62
#509728 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#509728 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #509728
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##509728#FFFFFF#000000##000000
##5097281.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8A14
Deuteranopia (green-blind)
#938433
Tritanopia (blue-blind)
#4C9181
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #509728;
/* rgb */ color: rgb(80, 151, 40);
/* oklch */ color: oklch(60.7% 0.160 136.6);
Tailwind
colors: {
  custom: {
    50: '#88b669',
    500: '#509728',
    950: '#000000',
  },
}
SCSS
$custom: #509728;
$custom-light: #88b669;
$custom-dark: #000000;
JSON
{
  "hex": "#509728",
  "rgb": {
    "r": 80,
    "g": 151,
    "b": 40
  },
  "hsl": {
    "h": 98.378,
    "s": 58.115,
    "l": 37.451
  },
  "oklch": {
    "l": 0.60736,
    "c": 0.16024,
    "h": 136.6
  },
  "luminance": 0.23992
}

Semantic roles & 50–950 ramp

primary
#509728
secondary
#9A5FBC
accent
#46E1AA
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1107
muted
#7D807A

Preview Lab

Preview with #509728

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

Preview Lab → · Contrast checker → · Palette generator →

#509728 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva