#509F17#509F17

#509F17 is a light, vivid yellow-green. Relative luminance 0.266; OKLCH L 62.8% C 0.179 H 136.2°. Best body text is #000000 at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#509F17
RGBrgb(80, 159, 23)
HSLhsl(95, 75%, 36%)
HSVhsv(95, 86%, 62%)
CMYKcmyk(49.7%, 0%, 85.5%, 37.6%)
CIE-LABlab(58.57, -46.14, 56.46)
CIE-LCHlch(58.57, 72.91, 129.25°)
OKLaboklab(62.75% -0.1288 0.1237)
OKLCHoklch(62.75% 0.179 136.2)
XYZxyz(15.8606, 26.5625, 5.1018)
Luminance0.2656 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#509F17 #66179F
analogous
#949F17 #509F17 #179F22
triadic
#509F17 #17509F #9F1750
tetradic
#509F17 #17949F #66179F #9F2217
square
#509F17 #17949F #66179F #9F2217
split-complementary
#509F17 #22179F #9F1794
monochromatic
#1A3408 #356A0F #509F17 #6BD41F #8CE54B

Accessibility & contrast

On white

3.33
#509F17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.31
#509F17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #509F17
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##509F17#FFFFFF#000000##000000
##509F171.003.336.316.31
#FFFFFF3.331.0021.0021.00
#0000006.3121.001.001.00
##0000006.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59100
Deuteranopia (green-blind)
#9B8A29
Tritanopia (blue-blind)
#4C9987
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #509f17;
/* rgb */ color: rgb(80, 159, 23);
/* oklch */ color: oklch(62.8% 0.179 136.2);
Tailwind
colors: {
  custom: {
    50: '#89bc63',
    500: '#509f17',
    950: '#000000',
  },
}
SCSS
$custom: #509f17;
$custom-light: #89bc63;
$custom-dark: #000000;
JSON
{
  "hex": "#509f17",
  "rgb": {
    "r": 80,
    "g": 159,
    "b": 23
  },
  "hsl": {
    "h": 94.853,
    "s": 74.725,
    "l": 35.686
  },
  "oklch": {
    "l": 0.62754,
    "c": 0.17853,
    "h": 136.2
  },
  "luminance": 0.26564
}

Semantic roles & 50–950 ramp

primary
#509F17
secondary
#934BC7
accent
#36F1A3
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1206
muted
#7D817A

Preview Lab

Preview with #509F17

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

Preview Lab → · Contrast checker → · Palette generator →

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