#509018#509018

#509018 is a mid, vivid yellow-green. Relative luminance 0.217; OKLCH L 58.8% C 0.160 H 134.6°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#509018
RGBrgb(80, 144, 24)
HSLhsl(92, 71%, 33%)
HSVhsv(92, 83%, 56%)
CMYKcmyk(44.4%, 0%, 83.3%, 43.5%)
CIE-LABlab(53.73, -40.01, 51.86)
CIE-LCHlch(53.73, 65.50, 127.65°)
OKLaboklab(58.78% -0.1123 0.1141)
OKLCHoklch(58.78% 0.16 134.6)
XYZxyz(13.4461, 21.7172, 4.3473)
Luminance0.2172 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#509018 #581890
analogous
#8C9018 #509018 #18901C
triadic
#509018 #185090 #901850
tetradic
#509018 #188C90 #581890 #901C18
square
#509018 #188C90 #581890 #901C18
split-complementary
#509018 #1C1890 #90188C
monochromatic
#162707 #335C0F #509018 #6DC421 #8CE043

Accessibility & contrast

On white

3.93
#509018 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#509018 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #509018
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##509018#FFFFFF#000000##000000
##5090181.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#968400
Deuteranopia (green-blind)
#8D7F27
Tritanopia (blue-blind)
#4F8A7A
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #509018;
/* rgb */ color: rgb(80, 144, 24);
/* oklch */ color: oklch(58.8% 0.160 134.6);
Tailwind
colors: {
  custom: {
    50: '#87b161',
    500: '#509018',
    950: '#000000',
  },
}
SCSS
$custom: #509018;
$custom-light: #87b161;
$custom-dark: #000000;
JSON
{
  "hex": "#509018",
  "rgb": {
    "r": 80,
    "g": 144,
    "b": 24
  },
  "hsl": {
    "h": 92,
    "s": 71.429,
    "l": 32.941
  },
  "oklch": {
    "l": 0.58776,
    "c": 0.1601,
    "h": 134.6
  },
  "luminance": 0.21718
}

Semantic roles & 50–950 ramp

primary
#509018
secondary
#8643C0
accent
#3AEE9A
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0C1105
muted
#7D807A

Preview Lab

Preview with #509018

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

Preview Lab → · Contrast checker → · Palette generator →

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