#509A1A#509A1A

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

Color values

HEX#509A1A
RGBrgb(80, 154, 26)
HSLhsl(95, 71%, 35%)
HSVhsv(95, 83%, 60%)
CMYKcmyk(48.1%, 0%, 83.1%, 39.6%)
CIE-LABlab(56.97, -44.02, 54.24)
CIE-LCHlch(56.97, 69.86, 129.06°)
OKLaboklab(61.44% -0.1229 0.1194)
OKLCHoklch(61.44% 0.171 135.8)
XYZxyz(15.0499, 24.8903, 4.9884)
Luminance0.2489 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#509A1A #641A9A
analogous
#909A1A #509A1A #1A9A24
triadic
#509A1A #1A509A #9A1A50
tetradic
#509A1A #1A909A #641A9A #9A241A
square
#509A1A #1A909A #641A9A #9A241A
split-complementary
#509A1A #241A9A #9A1A90
monochromatic
#1A3108 #356611 #509A1A #6BCE23 #8CE14D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##509A1A#FFFFFF#000000##000000
##509A1A1.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)
#A08C00
Deuteranopia (green-blind)
#96862A
Tritanopia (blue-blind)
#4D9483
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #509a1a;
/* rgb */ color: rgb(80, 154, 26);
/* oklch */ color: oklch(61.4% 0.171 135.8);
Tailwind
colors: {
  custom: {
    50: '#89b863',
    500: '#509a1a',
    950: '#000000',
  },
}
SCSS
$custom: #509a1a;
$custom-light: #89b863;
$custom-dark: #000000;
JSON
{
  "hex": "#509a1a",
  "rgb": {
    "r": 80,
    "g": 154,
    "b": 26
  },
  "hsl": {
    "h": 94.688,
    "s": 71.111,
    "l": 35.294
  },
  "oklch": {
    "l": 0.61442,
    "c": 0.17139,
    "h": 135.8
  },
  "luminance": 0.24891
}

Semantic roles & 50–950 ramp

primary
#509A1A
secondary
#914DC3
accent
#3AEEA2
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #509A1A

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

Preview Lab → · Contrast checker → · Palette generator →

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