#509017#509017

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

Color values

HEX#509017
RGBrgb(80, 144, 23)
HSLhsl(92, 72%, 33%)
HSVhsv(92, 84%, 56%)
CMYKcmyk(44.4%, 0%, 84%, 43.5%)
CIE-LABlab(53.72, -40.06, 52.14)
CIE-LCHlch(53.72, 65.75, 127.54°)
OKLaboklab(58.77% -0.1125 0.1145)
OKLCHoklch(58.77% 0.161 134.5)
XYZxyz(13.4359, 21.7131, 4.2935)
Luminance0.2171 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#509017 #571790
analogous
#8C9017 #509017 #17901B
triadic
#509017 #175090 #901750
tetradic
#509017 #178C90 #571790 #901B17
square
#509017 #178C90 #571790 #901B17
split-complementary
#509017 #1B1790 #90178C
monochromatic
#152606 #335B0F #509017 #6DC51F #8CE141

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##509017#FFFFFF#000000##000000
##5090171.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)
#8D7F26
Tritanopia (blue-blind)
#4F8A7A
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #509017;
/* rgb */ color: rgb(80, 144, 23);
/* oklch */ color: oklch(58.8% 0.161 134.5);
Tailwind
colors: {
  custom: {
    50: '#87b161',
    500: '#509017',
    950: '#000000',
  },
}
SCSS
$custom: #509017;
$custom-light: #87b161;
$custom-dark: #000000;
JSON
{
  "hex": "#509017",
  "rgb": {
    "r": 80,
    "g": 144,
    "b": 23
  },
  "hsl": {
    "h": 91.736,
    "s": 72.455,
    "l": 32.745
  },
  "oklch": {
    "l": 0.58771,
    "c": 0.16053,
    "h": 134.5
  },
  "luminance": 0.21714
}

Semantic roles & 50–950 ramp

primary
#509017
secondary
#8542C1
accent
#39EF99
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0C1105
muted
#7D807A

Preview Lab

Preview with #509017

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

Preview Lab → · Contrast checker → · Palette generator →

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