#509D1D#509D1D

#509D1D is a light, vivid yellow-green. Relative luminance 0.259; OKLCH L 62.3% C 0.174 H 136.3°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#509D1D
RGBrgb(80, 157, 29)
HSLhsl(96, 69%, 36%)
HSVhsv(96, 82%, 62%)
CMYKcmyk(49%, 0%, 81.5%, 38.4%)
CIE-LABlab(57.95, -45.07, 54.28)
CIE-LCHlch(57.95, 70.55, 129.70°)
OKLaboklab(62.25% -0.1256 0.1199)
OKLCHoklch(62.25% 0.174 136.3)
XYZxyz(15.5866, 25.9071, 5.3414)
Luminance0.2591 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#509D1D #6A1D9D
analogous
#909D1D #509D1D #1D9D2A
triadic
#509D1D #1D509D #9D1D50
tetradic
#509D1D #1D909D #6A1D9D #9D2A1D
square
#509D1D #1D909D #6A1D9D #9D2A1D
split-complementary
#509D1D #2A1D9D #9D1D90
monochromatic
#1B360A #366913 #509D1D #6AD127 #8CE055

Accessibility & contrast

On white

3.40
#509D1D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.18
#509D1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #509D1D
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##509D1D#FFFFFF#000000##000000
##509D1D1.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A38F00
Deuteranopia (green-blind)
#99892C
Tritanopia (blue-blind)
#4C9786
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #509d1d;
/* rgb */ color: rgb(80, 157, 29);
/* oklch */ color: oklch(62.3% 0.174 136.3);
Tailwind
colors: {
  custom: {
    50: '#89ba65',
    500: '#509d1d',
    950: '#000000',
  },
}
SCSS
$custom: #509d1d;
$custom-light: #89ba65;
$custom-dark: #000000;
JSON
{
  "hex": "#509d1d",
  "rgb": {
    "r": 80,
    "g": 157,
    "b": 29
  },
  "hsl": {
    "h": 96.094,
    "s": 68.817,
    "l": 36.471
  },
  "oklch": {
    "l": 0.62253,
    "c": 0.17366,
    "h": 136.3
  },
  "luminance": 0.25908
}

Semantic roles & 50–950 ramp

primary
#509D1D
secondary
#9653C3
accent
#3CECA6
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1206
muted
#7D817A

Preview Lab

Preview with #509D1D

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

Preview Lab → · Contrast checker → · Palette generator →

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