#509518#509518

#509518 is a mid, vivid yellow-green. Relative luminance 0.233; OKLCH L 60.1% C 0.166 H 135.2°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#509518
RGBrgb(80, 149, 24)
HSLhsl(93, 72%, 34%)
HSVhsv(93, 84%, 58%)
CMYKcmyk(46.3%, 0%, 83.9%, 41.6%)
CIE-LABlab(55.34, -42.08, 53.32)
CIE-LCHlch(55.34, 67.93, 128.28°)
OKLaboklab(60.11% -0.1179 0.1172)
OKLCHoklch(60.11% 0.166 135.2)
XYZxyz(14.2203, 23.2654, 4.6054)
Luminance0.2327 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#509518 #5D1895
analogous
#8F9518 #509518 #18951F
triadic
#509518 #185095 #951850
tetradic
#509518 #188F95 #5D1895 #951F18
square
#509518 #188F95 #5D1895 #951F18
split-complementary
#509518 #1F1895 #95188F
monochromatic
#172C07 #346010 #509518 #6CCA20 #8CE146

Accessibility & contrast

On white

3.71
#509518 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.65
#509518 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #509518
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##509518#FFFFFF#000000##000000
##5095181.003.715.655.65
#FFFFFF3.711.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8800
Deuteranopia (green-blind)
#928228
Tritanopia (blue-blind)
#4E8F7F
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #509518;
/* rgb */ color: rgb(80, 149, 24);
/* oklch */ color: oklch(60.1% 0.166 135.2);
Tailwind
colors: {
  custom: {
    50: '#88b562',
    500: '#509518',
    950: '#000000',
  },
}
SCSS
$custom: #509518;
$custom-light: #88b562;
$custom-dark: #000000;
JSON
{
  "hex": "#509518",
  "rgb": {
    "r": 80,
    "g": 149,
    "b": 24
  },
  "hsl": {
    "h": 93.12,
    "s": 72.254,
    "l": 33.922
  },
  "oklch": {
    "l": 0.60105,
    "c": 0.16621,
    "h": 135.2
  },
  "luminance": 0.23266
}

Semantic roles & 50–950 ramp

primary
#509518
secondary
#8B46C2
accent
#39EF9D
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #509518

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

Preview Lab → · Contrast checker → · Palette generator →

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