#509A1D#509A1D

#509A1D is a mid, vivid yellow-green. Relative luminance 0.249; OKLCH L 61.5% C 0.170 H 136.0°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#509A1D
RGBrgb(80, 154, 29)
HSLhsl(96, 68%, 36%)
HSVhsv(96, 81%, 60%)
CMYKcmyk(48.1%, 0%, 81.2%, 39.6%)
CIE-LABlab(56.98, -43.87, 53.39)
CIE-LCHlch(56.98, 69.10, 129.41°)
OKLaboklab(61.46% -0.1224 0.1181)
OKLCHoklch(61.46% 0.17 136)
XYZxyz(15.0852, 24.9044, 5.1743)
Luminance0.2490 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#509A1D #671D9A
analogous
#8E9A1D #509A1D #1D9A28
triadic
#509A1D #1D509A #9A1D50
tetradic
#509A1D #1D8E9A #671D9A #9A281D
square
#509A1D #1D8E9A #671D9A #9A281D
split-complementary
#509A1D #281D9A #9A1D8E
monochromatic
#1A330A #356613 #509A1D #6BCE27 #8CDF53

Accessibility & contrast

On white

3.51
#509A1D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.98
#509A1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #509A1D
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##509A1D#FFFFFF#000000##000000
##509A1D1.003.515.985.98
#FFFFFF3.511.0021.0021.00
#0000005.9821.001.001.00
##0000005.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08D00
Deuteranopia (green-blind)
#96872C
Tritanopia (blue-blind)
#4D9483
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #509a1d;
/* rgb */ color: rgb(80, 154, 29);
/* oklch */ color: oklch(61.5% 0.170 136.0);
Tailwind
colors: {
  custom: {
    50: '#88b865',
    500: '#509a1d',
    950: '#000000',
  },
}
SCSS
$custom: #509a1d;
$custom-light: #88b865;
$custom-dark: #000000;
JSON
{
  "hex": "#509a1d",
  "rgb": {
    "r": 80,
    "g": 154,
    "b": 29
  },
  "hsl": {
    "h": 95.52,
    "s": 68.306,
    "l": 35.882
  },
  "oklch": {
    "l": 0.61458,
    "c": 0.17004,
    "h": 136
  },
  "luminance": 0.24905
}

Semantic roles & 50–950 ramp

primary
#509A1D
secondary
#9451C2
accent
#3DEBA4
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #509A1D

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

Preview Lab → · Contrast checker → · Palette generator →

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