#509B18#509B18

#509B18 is a mid, vivid yellow-green. Relative luminance 0.252; OKLCH L 61.7% C 0.173 H 135.8°. Best body text is #000000 at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#509B18
RGBrgb(80, 155, 24)
HSLhsl(94, 73%, 35%)
HSVhsv(94, 85%, 61%)
CMYKcmyk(48.4%, 0%, 84.5%, 39.2%)
CIE-LABlab(57.28, -44.51, 55.06)
CIE-LCHlch(57.28, 70.81, 128.95°)
OKLaboklab(61.7% -0.1244 0.1209)
OKLCHoklch(61.7% 0.173 135.8)
XYZxyz(15.1941, 25.2131, 4.9300)
Luminance0.2521 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#509B18 #63189B
analogous
#919B18 #509B18 #189B21
triadic
#509B18 #18509B #9B1850
tetradic
#509B18 #18919B #63189B #9B2118
square
#509B18 #18919B #63189B #9B2118
split-complementary
#509B18 #21189B #9B1891
monochromatic
#193108 #356610 #509B18 #6BD020 #8CE34A

Accessibility & contrast

On white

3.48
#509B18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.04
#509B18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #509B18
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##509B18#FFFFFF#000000##000000
##509B181.003.486.046.04
#FFFFFF3.481.0021.0021.00
#0000006.0421.001.001.00
##0000006.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18D00
Deuteranopia (green-blind)
#978729
Tritanopia (blue-blind)
#4D9584
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #509b18;
/* rgb */ color: rgb(80, 155, 24);
/* oklch */ color: oklch(61.7% 0.173 135.8);
Tailwind
colors: {
  custom: {
    50: '#89b963',
    500: '#509b18',
    950: '#000000',
  },
}
SCSS
$custom: #509b18;
$custom-light: #89b963;
$custom-dark: #000000;
JSON
{
  "hex": "#509b18",
  "rgb": {
    "r": 80,
    "g": 155,
    "b": 24
  },
  "hsl": {
    "h": 94.351,
    "s": 73.184,
    "l": 35.098
  },
  "oklch": {
    "l": 0.61698,
    "c": 0.17341,
    "h": 135.8
  },
  "luminance": 0.25214
}

Semantic roles & 50–950 ramp

primary
#509B18
secondary
#904AC5
accent
#38F0A1
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #509B18

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

Preview Lab → · Contrast checker → · Palette generator →

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