#509A1E#509A1E

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

Color values

HEX#509A1E
RGBrgb(80, 154, 30)
HSLhsl(96, 67%, 36%)
HSVhsv(96, 81%, 60%)
CMYKcmyk(48.1%, 0%, 80.5%, 39.6%)
CIE-LABlab(56.99, -43.81, 53.09)
CIE-LCHlch(56.99, 68.83, 129.53°)
OKLaboklab(61.46% -0.1222 0.1176)
OKLCHoklch(61.46% 0.17 136.1)
XYZxyz(15.0978, 24.9094, 5.2405)
Luminance0.2491 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#509A1E #681E9A
analogous
#8E9A1E #509A1E #1E9A2A
triadic
#509A1E #1E509A #9A1E50
tetradic
#509A1E #1E8E9A #681E9A #9A2A1E
square
#509A1E #1E8E9A #681E9A #9A2A1E
split-complementary
#509A1E #2A1E9A #9A1E8E
monochromatic
#1B340A #356714 #509A1E #6BCD28 #8CDE55

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##509A1E#FFFFFF#000000##000000
##509A1E1.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)
#A08D00
Deuteranopia (green-blind)
#96872C
Tritanopia (blue-blind)
#4D9483
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #509a1e;
/* rgb */ color: rgb(80, 154, 30);
/* oklch */ color: oklch(61.5% 0.170 136.1);
Tailwind
colors: {
  custom: {
    50: '#88b865',
    500: '#509a1e',
    950: '#000000',
  },
}
SCSS
$custom: #509a1e;
$custom-light: #88b865;
$custom-dark: #000000;
JSON
{
  "hex": "#509a1e",
  "rgb": {
    "r": 80,
    "g": 154,
    "b": 30
  },
  "hsl": {
    "h": 95.806,
    "s": 67.391,
    "l": 36.078
  },
  "oklch": {
    "l": 0.61464,
    "c": 0.16957,
    "h": 136.1
  },
  "luminance": 0.2491
}

Semantic roles & 50–950 ramp

primary
#509A1E
secondary
#9553C1
accent
#3EEAA5
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #509A1E

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

Preview Lab → · Contrast checker → · Palette generator →

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