#509B1A#509B1A

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

Color values

HEX#509B1A
RGBrgb(80, 155, 26)
HSLhsl(95, 71%, 35%)
HSVhsv(95, 83%, 61%)
CMYKcmyk(48.4%, 0%, 83.2%, 39.2%)
CIE-LABlab(57.29, -44.42, 54.54)
CIE-LCHlch(57.29, 70.34, 129.16°)
OKLaboklab(61.71% -0.124 0.12)
OKLCHoklch(61.71% 0.173 135.9)
XYZxyz(15.2157, 25.2217, 5.0436)
Luminance0.2522 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#509B1A #651A9B
analogous
#909B1A #509B1A #1A9B25
triadic
#509B1A #1A509B #9B1A50
tetradic
#509B1A #1A909B #651A9B #9B251A
square
#509B1A #1A909B #651A9B #9B251A
split-complementary
#509B1A #251A9B #9B1A90
monochromatic
#1A3208 #356711 #509B1A #6BCF23 #8CE14E

Accessibility & contrast

On white

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

On black

6.04
#509B1A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #509B1A
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##509B1A#FFFFFF#000000##000000
##509B1A1.003.476.046.04
#FFFFFF3.471.0021.0021.00
#0000006.0421.001.001.00
##0000006.0421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #509b1a;
/* rgb */ color: rgb(80, 155, 26);
/* oklch */ color: oklch(61.7% 0.173 135.9);
Tailwind
colors: {
  custom: {
    50: '#89b964',
    500: '#509b1a',
    950: '#000000',
  },
}
SCSS
$custom: #509b1a;
$custom-light: #89b964;
$custom-dark: #000000;
JSON
{
  "hex": "#509b1a",
  "rgb": {
    "r": 80,
    "g": 155,
    "b": 26
  },
  "hsl": {
    "h": 94.884,
    "s": 71.271,
    "l": 35.49
  },
  "oklch": {
    "l": 0.61708,
    "c": 0.17259,
    "h": 135.9
  },
  "luminance": 0.25223
}

Semantic roles & 50–950 ramp

primary
#509B1A
secondary
#924DC4
accent
#3AEEA3
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #509B1A

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

Preview Lab → · Contrast checker → · Palette generator →

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