#509E17#509E17

#509E17 is a light, vivid yellow-green. Relative luminance 0.262; OKLCH L 62.5% C 0.177 H 136.1°. Best body text is #000000 at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#509E17
RGBrgb(80, 158, 23)
HSLhsl(95, 75%, 35%)
HSVhsv(95, 85%, 62%)
CMYKcmyk(49.4%, 0%, 85.4%, 38%)
CIE-LABlab(58.25, -45.74, 56.18)
CIE-LCHlch(58.25, 72.44, 129.16°)
OKLaboklab(62.49% -0.1277 0.1231)
OKLCHoklch(62.49% 0.177 136.1)
XYZxyz(15.6894, 26.2200, 5.0447)
Luminance0.2622 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#509E17 #65179E
analogous
#939E17 #509E17 #179E22
triadic
#509E17 #17509E #9E1750
tetradic
#509E17 #17939E #65179E #9E2217
square
#509E17 #17939E #65179E #9E2217
split-complementary
#509E17 #22179E #9E1793
monochromatic
#1A3307 #35690F #509E17 #6BD31F #8CE54B

Accessibility & contrast

On white

3.36
#509E17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.24
#509E17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #509E17
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##509E17#FFFFFF#000000##000000
##509E171.003.366.246.24
#FFFFFF3.361.0021.0021.00
#0000006.2421.001.001.00
##0000006.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49000
Deuteranopia (green-blind)
#9A8A29
Tritanopia (blue-blind)
#4C9886
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #509e17;
/* rgb */ color: rgb(80, 158, 23);
/* oklch */ color: oklch(62.5% 0.177 136.1);
Tailwind
colors: {
  custom: {
    50: '#89bb63',
    500: '#509e17',
    950: '#000000',
  },
}
SCSS
$custom: #509e17;
$custom-light: #89bb63;
$custom-dark: #000000;
JSON
{
  "hex": "#509e17",
  "rgb": {
    "r": 80,
    "g": 158,
    "b": 23
  },
  "hsl": {
    "h": 94.667,
    "s": 74.586,
    "l": 35.49
  },
  "oklch": {
    "l": 0.62489,
    "c": 0.17735,
    "h": 136.1
  },
  "luminance": 0.26221
}

Semantic roles & 50–950 ramp

primary
#509E17
secondary
#924AC6
accent
#37F1A2
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1206
muted
#7D817A

Preview Lab

Preview with #509E17

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

Preview Lab → · Contrast checker → · Palette generator →

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