#509F16#509F16

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

Color values

HEX#509F16
RGBrgb(80, 159, 22)
HSLhsl(95, 76%, 35%)
HSVhsv(95, 86%, 62%)
CMYKcmyk(49.7%, 0%, 86.2%, 37.6%)
CIE-LABlab(58.56, -46.18, 56.70)
CIE-LCHlch(58.56, 73.13, 129.16°)
OKLaboklab(62.75% -0.1289 0.124)
OKLCHoklch(62.75% 0.179 136.1)
XYZxyz(15.8508, 26.5586, 5.0500)
Luminance0.2656 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#509F16 #65169F
analogous
#949F16 #509F16 #169F21
triadic
#509F16 #16509F #9F1650
tetradic
#509F16 #16949F #65169F #9F2116
square
#509F16 #16949F #65169F #9F2116
split-complementary
#509F16 #21169F #9F1694
monochromatic
#1A3307 #35690F #509F16 #6BD51D #8CE64A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##509F16#FFFFFF#000000##000000
##509F161.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: #509f16;
/* rgb */ color: rgb(80, 159, 22);
/* oklch */ color: oklch(62.7% 0.179 136.1);
Tailwind
colors: {
  custom: {
    50: '#89bc63',
    500: '#509f16',
    950: '#000000',
  },
}
SCSS
$custom: #509f16;
$custom-light: #89bc63;
$custom-dark: #000000;
JSON
{
  "hex": "#509f16",
  "rgb": {
    "r": 80,
    "g": 159,
    "b": 22
  },
  "hsl": {
    "h": 94.599,
    "s": 75.691,
    "l": 35.49
  },
  "oklch": {
    "l": 0.6275,
    "c": 0.1789,
    "h": 136.1
  },
  "luminance": 0.2656
}

Semantic roles & 50–950 ramp

primary
#509F16
secondary
#924AC7
accent
#36F2A2
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1206
muted
#7D817A

Preview Lab

Preview with #509F16

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

Preview Lab → · Contrast checker → · Palette generator →

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