#509727#509727

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

Color values

HEX#509727
RGBrgb(80, 151, 39)
HSLhsl(98, 59%, 37%)
HSVhsv(98, 74%, 59%)
CMYKcmyk(47%, 0%, 74.2%, 40.8%)
CIE-LABlab(56.07, -42.02, 49.13)
CIE-LCHlch(56.07, 64.65, 130.54°)
OKLaboklab(60.73% -0.1168 0.1107)
OKLCHoklch(60.73% 0.161 136.5)
XYZxyz(14.7407, 23.9842, 5.7717)
Luminance0.2399 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#509727 #6E2797
analogous
#889727 #509727 #279736
triadic
#509727 #275097 #972750
tetradic
#509727 #278897 #6E2797 #973627
square
#509727 #278897 #6E2797 #973627
split-complementary
#509727 #362797 #972788
monochromatic
#1C360E #36661A #509727 #6AC834 #8DD662

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##509727#FFFFFF#000000##000000
##5097271.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)
#9C8A12
Deuteranopia (green-blind)
#938432
Tritanopia (blue-blind)
#4D9181
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #509727;
/* rgb */ color: rgb(80, 151, 39);
/* oklch */ color: oklch(60.7% 0.161 136.5);
Tailwind
colors: {
  custom: {
    50: '#88b669',
    500: '#509727',
    950: '#000000',
  },
}
SCSS
$custom: #509727;
$custom-light: #88b669;
$custom-dark: #000000;
JSON
{
  "hex": "#509727",
  "rgb": {
    "r": 80,
    "g": 151,
    "b": 39
  },
  "hsl": {
    "h": 98.036,
    "s": 58.947,
    "l": 37.255
  },
  "oklch": {
    "l": 0.60729,
    "c": 0.16087,
    "h": 136.5
  },
  "luminance": 0.23985
}

Semantic roles & 50–950 ramp

primary
#509727
secondary
#9A5EBC
accent
#46E2A9
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1107
muted
#7D807A

Preview Lab

Preview with #509727

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

Preview Lab → · Contrast checker → · Palette generator →

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