#509C1D#509C1D

#509C1D is a mid, vivid yellow-green. Relative luminance 0.256; OKLCH L 62.0% C 0.172 H 136.2°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#509C1D
RGBrgb(80, 156, 29)
HSLhsl(96, 69%, 36%)
HSVhsv(96, 81%, 61%)
CMYKcmyk(48.7%, 0%, 81.4%, 38.8%)
CIE-LABlab(57.63, -44.67, 53.99)
CIE-LCHlch(57.63, 70.07, 129.60°)
OKLaboklab(61.99% -0.1245 0.1193)
OKLCHoklch(61.99% 0.172 136.2)
XYZxyz(15.4181, 25.5701, 5.2852)
Luminance0.2557 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#509C1D #691D9C
analogous
#909C1D #509C1D #1D9C2A
triadic
#509C1D #1D509C #9C1D50
tetradic
#509C1D #1D909C #691D9C #9C2A1D
square
#509C1D #1D909C #691D9C #9C2A1D
split-complementary
#509C1D #2A1D9C #9C1D90
monochromatic
#1B350A #366813 #509C1D #6AD027 #8CDF54

Accessibility & contrast

On white

3.43
#509C1D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.11
#509C1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #509C1D
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##509C1D#FFFFFF#000000##000000
##509C1D1.003.436.116.11
#FFFFFF3.431.0021.0021.00
#0000006.1121.001.001.00
##0000006.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A28E00
Deuteranopia (green-blind)
#98882C
Tritanopia (blue-blind)
#4C9685
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #509c1d;
/* rgb */ color: rgb(80, 156, 29);
/* oklch */ color: oklch(62.0% 0.172 136.2);
Tailwind
colors: {
  custom: {
    50: '#89ba65',
    500: '#509c1d',
    950: '#000000',
  },
}
SCSS
$custom: #509c1d;
$custom-light: #89ba65;
$custom-dark: #000000;
JSON
{
  "hex": "#509c1d",
  "rgb": {
    "r": 80,
    "g": 156,
    "b": 29
  },
  "hsl": {
    "h": 95.906,
    "s": 68.649,
    "l": 36.275
  },
  "oklch": {
    "l": 0.61988,
    "c": 0.17246,
    "h": 136.2
  },
  "luminance": 0.25571
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #509C1D

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

Preview Lab → · Contrast checker → · Palette generator →

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