#509B1D#509B1D

#509B1D is a mid, vivid yellow-green. Relative luminance 0.252; OKLCH L 61.7% C 0.171 H 136.1°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#509B1D
RGBrgb(80, 155, 29)
HSLhsl(96, 68%, 36%)
HSVhsv(96, 81%, 61%)
CMYKcmyk(48.4%, 0%, 81.3%, 39.2%)
CIE-LABlab(57.30, -44.27, 53.69)
CIE-LCHlch(57.30, 69.58, 129.51°)
OKLaboklab(61.72% -0.1234 0.1187)
OKLCHoklch(61.72% 0.171 136.1)
XYZxyz(15.2510, 25.2359, 5.2295)
Luminance0.2524 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#509B1D #681D9B
analogous
#8F9B1D #509B1D #1D9B29
triadic
#509B1D #1D509B #9B1D50
tetradic
#509B1D #1D8F9B #681D9B #9B291D
square
#509B1D #1D8F9B #681D9B #9B291D
split-complementary
#509B1D #291D9B #9B1D8F
monochromatic
#1B340A #356713 #509B1D #6BCF27 #8CDF53

Accessibility & contrast

On white

3.47
#509B1D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.05
#509B1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #509B1D
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##509B1D#FFFFFF#000000##000000
##509B1D1.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18D00
Deuteranopia (green-blind)
#97872C
Tritanopia (blue-blind)
#4D9584
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #509b1d;
/* rgb */ color: rgb(80, 155, 29);
/* oklch */ color: oklch(61.7% 0.171 136.1);
Tailwind
colors: {
  custom: {
    50: '#89b965',
    500: '#509b1d',
    950: '#000000',
  },
}
SCSS
$custom: #509b1d;
$custom-light: #89b965;
$custom-dark: #000000;
JSON
{
  "hex": "#509b1d",
  "rgb": {
    "r": 80,
    "g": 155,
    "b": 29
  },
  "hsl": {
    "h": 95.714,
    "s": 68.478,
    "l": 36.078
  },
  "oklch": {
    "l": 0.61723,
    "c": 0.17125,
    "h": 136.1
  },
  "luminance": 0.25237
}

Semantic roles & 50–950 ramp

primary
#509B1D
secondary
#9552C2
accent
#3CEBA5
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #509B1D

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

Preview Lab → · Contrast checker → · Palette generator →

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