#509918#509918

#509918 is a mid, vivid yellow-green. Relative luminance 0.246; OKLCH L 61.2% C 0.171 H 135.6°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#509918
RGBrgb(80, 153, 24)
HSLhsl(94, 73%, 35%)
HSVhsv(94, 84%, 60%)
CMYKcmyk(47.7%, 0%, 84.3%, 40%)
CIE-LABlab(56.64, -43.71, 54.49)
CIE-LCHlch(56.64, 69.85, 128.74°)
OKLaboklab(61.17% -0.1222 0.1196)
OKLCHoklch(61.17% 0.171 135.6)
XYZxyz(14.8640, 24.5529, 4.8199)
Luminance0.2455 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#509918 #611899
analogous
#919918 #509918 #189920
triadic
#509918 #185099 #991850
tetradic
#509918 #189199 #611899 #992018
square
#509918 #189199 #611899 #992018
split-complementary
#509918 #201899 #991891
monochromatic
#192F07 #346410 #509918 #6CCE20 #8CE249

Accessibility & contrast

On white

3.55
#509918 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.91
#509918 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #509918
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##509918#FFFFFF#000000##000000
##5099181.003.555.915.91
#FFFFFF3.551.0021.0021.00
#0000005.9121.001.001.00
##0000005.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8C00
Deuteranopia (green-blind)
#958628
Tritanopia (blue-blind)
#4D9382
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #509918;
/* rgb */ color: rgb(80, 153, 24);
/* oklch */ color: oklch(61.2% 0.171 135.6);
Tailwind
colors: {
  custom: {
    50: '#89b862',
    500: '#509918',
    950: '#000000',
  },
}
SCSS
$custom: #509918;
$custom-light: #89b862;
$custom-dark: #000000;
JSON
{
  "hex": "#509918",
  "rgb": {
    "r": 80,
    "g": 153,
    "b": 24
  },
  "hsl": {
    "h": 93.953,
    "s": 72.881,
    "l": 34.706
  },
  "oklch": {
    "l": 0.61167,
    "c": 0.17103,
    "h": 135.6
  },
  "luminance": 0.24554
}

Semantic roles & 50–950 ramp

primary
#509918
secondary
#8F49C4
accent
#38F0A0
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #509918

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

Preview Lab → · Contrast checker → · Palette generator →

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