#509F18#509F18

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

Color values

HEX#509F18
RGBrgb(80, 159, 24)
HSLhsl(95, 74%, 36%)
HSVhsv(95, 85%, 62%)
CMYKcmyk(49.7%, 0%, 84.9%, 37.6%)
CIE-LABlab(58.57, -46.09, 56.22)
CIE-LCHlch(58.57, 72.70, 129.35°)
OKLaboklab(62.76% -0.1286 0.1233)
OKLCHoklch(62.76% 0.178 136.2)
XYZxyz(15.8708, 26.5666, 5.1555)
Luminance0.2657 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#509F18 #67189F
analogous
#939F18 #509F18 #189F23
triadic
#509F18 #18509F #9F1850
tetradic
#509F18 #18939F #67189F #9F2318
square
#509F18 #18939F #67189F #9F2318
split-complementary
#509F18 #23189F #9F1893
monochromatic
#1A3508 #356A10 #509F18 #6BD420 #8CE44D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##509F18#FFFFFF#000000##000000
##509F181.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)
#9B8A2A
Tritanopia (blue-blind)
#4C9987
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #509f18;
/* rgb */ color: rgb(80, 159, 24);
/* oklch */ color: oklch(62.8% 0.178 136.2);
Tailwind
colors: {
  custom: {
    50: '#89bc63',
    500: '#509f18',
    950: '#000000',
  },
}
SCSS
$custom: #509f18;
$custom-light: #89bc63;
$custom-dark: #000000;
JSON
{
  "hex": "#509f18",
  "rgb": {
    "r": 80,
    "g": 159,
    "b": 24
  },
  "hsl": {
    "h": 95.111,
    "s": 73.77,
    "l": 35.882
  },
  "oklch": {
    "l": 0.62758,
    "c": 0.17815,
    "h": 136.2
  },
  "luminance": 0.26568
}

Semantic roles & 50–950 ramp

primary
#509F18
secondary
#944DC6
accent
#37F0A4
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1206
muted
#7D817A

Preview Lab

Preview with #509F18

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

Preview Lab → · Contrast checker → · Palette generator →

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