#509D1C#509D1C

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

Color values

HEX#509D1C
RGBrgb(80, 157, 28)
HSLhsl(96, 70%, 36%)
HSVhsv(96, 82%, 62%)
CMYKcmyk(49%, 0%, 82.2%, 38.4%)
CIE-LABlab(57.94, -45.12, 54.57)
CIE-LCHlch(57.94, 70.81, 129.58°)
OKLaboklab(62.25% -0.1258 0.1204)
OKLCHoklch(62.25% 0.174 136.3)
XYZxyz(15.5744, 25.9022, 5.2773)
Luminance0.2590 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#509D1C #691C9D
analogous
#919D1C #509D1C #1C9D29
triadic
#509D1C #1C509D #9D1C50
tetradic
#509D1C #1C919D #691C9D #9D291C
square
#509D1C #1C919D #691C9D #9D291C
split-complementary
#509D1C #291C9D #9D1C91
monochromatic
#1B3509 #366913 #509D1C #6AD125 #8CE053

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##509D1C#FFFFFF#000000##000000
##509D1C1.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: #509d1c;
/* rgb */ color: rgb(80, 157, 28);
/* oklch */ color: oklch(62.2% 0.174 136.3);
Tailwind
colors: {
  custom: {
    50: '#89ba65',
    500: '#509d1c',
    950: '#000000',
  },
}
SCSS
$custom: #509d1c;
$custom-light: #89ba65;
$custom-dark: #000000;
JSON
{
  "hex": "#509d1c",
  "rgb": {
    "r": 80,
    "g": 157,
    "b": 28
  },
  "hsl": {
    "h": 95.814,
    "s": 69.73,
    "l": 36.275
  },
  "oklch": {
    "l": 0.62248,
    "c": 0.17411,
    "h": 136.3
  },
  "luminance": 0.25903
}

Semantic roles & 50–950 ramp

primary
#509D1C
secondary
#9551C3
accent
#3BEDA5
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1206
muted
#7D817A

Preview Lab

Preview with #509D1C

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

Preview Lab → · Contrast checker → · Palette generator →

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