#509E1C#509E1C

#509E1C is a light, vivid yellow-green. Relative luminance 0.262; OKLCH L 62.5% C 0.175 H 136.3°. Best body text is #000000 at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#509E1C
RGBrgb(80, 158, 28)
HSLhsl(96, 70%, 36%)
HSVhsv(96, 82%, 62%)
CMYKcmyk(49.4%, 0%, 82.3%, 38%)
CIE-LABlab(58.27, -45.51, 54.86)
CIE-LCHlch(58.27, 71.29, 129.68°)
OKLaboklab(62.51% -0.1268 0.121)
OKLCHoklch(62.51% 0.175 136.3)
XYZxyz(15.7443, 26.2420, 5.3340)
Luminance0.2624 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#509E1C #6A1C9E
analogous
#919E1C #509E1C #1C9E29
triadic
#509E1C #1C509E #9E1C50
tetradic
#509E1C #1C919E #6A1C9E #9E291C
square
#509E1C #1C919E #6A1C9E #9E291C
split-complementary
#509E1C #291C9E #9E1C91
monochromatic
#1B360A #366A13 #509E1C #6AD225 #8CE154

Accessibility & contrast

On white

3.36
#509E1C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.25
#509E1C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #509E1C
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##509E1C#FFFFFF#000000##000000
##509E1C1.003.366.256.25
#FFFFFF3.361.0021.0021.00
#0000006.2521.001.001.00
##0000006.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49000
Deuteranopia (green-blind)
#9A8A2C
Tritanopia (blue-blind)
#4C9886
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #509e1c;
/* rgb */ color: rgb(80, 158, 28);
/* oklch */ color: oklch(62.5% 0.175 136.3);
Tailwind
colors: {
  custom: {
    50: '#89bb65',
    500: '#509e1c',
    950: '#000000',
  },
}
SCSS
$custom: #509e1c;
$custom-light: #89bb65;
$custom-dark: #000000;
JSON
{
  "hex": "#509e1c",
  "rgb": {
    "r": 80,
    "g": 158,
    "b": 28
  },
  "hsl": {
    "h": 96,
    "s": 69.892,
    "l": 36.471
  },
  "oklch": {
    "l": 0.62513,
    "c": 0.17531,
    "h": 136.3
  },
  "luminance": 0.26243
}

Semantic roles & 50–950 ramp

primary
#509E1C
secondary
#9652C4
accent
#3BEDA6
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1206
muted
#7D817A

Preview Lab

Preview with #509E1C

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

Preview Lab → · Contrast checker → · Palette generator →

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