#509A2A#509A2A

#509A2A is a mid, vivid yellow-green. Relative luminance 0.250; OKLCH L 61.5% C 0.163 H 137.1°. Best body text is #000000 at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#509A2A
RGBrgb(80, 154, 42)
HSLhsl(100, 57%, 38%)
HSVhsv(100, 73%, 60%)
CMYKcmyk(48.1%, 0%, 72.7%, 39.6%)
CIE-LABlab(57.06, -43.03, 48.99)
CIE-LCHlch(57.06, 65.20, 131.29°)
OKLaboklab(61.55% -0.1193 0.1108)
OKLCHoklch(61.55% 0.163 137.1)
XYZxyz(15.2813, 24.9828, 6.2070)
Luminance0.2498 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#509A2A #742A9A
analogous
#889A2A #509A2A #2A9A3C
triadic
#509A2A #2A509A #9A2A50
tetradic
#509A2A #2A889A #742A9A #9A3C2A
square
#509A2A #2A889A #742A9A #9A3C2A
split-complementary
#509A2A #3C2A9A #9A2A88
monochromatic
#1E3A10 #376A1D #509A2A #69C938 #8ED668

Accessibility & contrast

On white

3.50
#509A2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.00
#509A2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #509A2A
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##509A2A#FFFFFF#000000##000000
##509A2A1.003.506.006.00
#FFFFFF3.501.0021.0021.00
#0000006.0021.001.001.00
##0000006.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8D17
Deuteranopia (green-blind)
#958735
Tritanopia (blue-blind)
#4C9484
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #509a2a;
/* rgb */ color: rgb(80, 154, 42);
/* oklch */ color: oklch(61.5% 0.163 137.1);
Tailwind
colors: {
  custom: {
    50: '#88b86b',
    500: '#509a2a',
    950: '#000000',
  },
}
SCSS
$custom: #509a2a;
$custom-light: #88b86b;
$custom-dark: #000000;
JSON
{
  "hex": "#509a2a",
  "rgb": {
    "r": 80,
    "g": 154,
    "b": 42
  },
  "hsl": {
    "h": 99.643,
    "s": 57.143,
    "l": 38.431
  },
  "oklch": {
    "l": 0.61545,
    "c": 0.16279,
    "h": 137.1
  },
  "luminance": 0.24984
}

Semantic roles & 50–950 ramp

primary
#509A2A
secondary
#9E63BC
accent
#47E0AC
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1107
muted
#7D807A

Preview Lab

Preview with #509A2A

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

Preview Lab → · Contrast checker → · Palette generator →

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