#509B1E#509B1E

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

Color values

HEX#509B1E
RGBrgb(80, 155, 30)
HSLhsl(96, 68%, 36%)
HSVhsv(96, 81%, 61%)
CMYKcmyk(48.4%, 0%, 80.6%, 39.2%)
CIE-LABlab(57.31, -44.21, 53.39)
CIE-LCHlch(57.31, 69.32, 129.63°)
OKLaboklab(61.73% -0.1232 0.1182)
OKLCHoklch(61.73% 0.171 136.2)
XYZxyz(15.2635, 25.2409, 5.2957)
Luminance0.2524 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#509B1E #691E9B
analogous
#8F9B1E #509B1E #1E9B2B
triadic
#509B1E #1E509B #9B1E50
tetradic
#509B1E #1E8F9B #691E9B #9B2B1E
square
#509B1E #1E8F9B #691E9B #9B2B1E
split-complementary
#509B1E #2B1E9B #9B1E8F
monochromatic
#1B340A #366814 #509B1E #6ACE28 #8CDE55

Accessibility & contrast

On white

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

On black

6.05
#509B1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #509B1E
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##509B1E#FFFFFF#000000##000000
##509B1E1.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #509b1e;
/* rgb */ color: rgb(80, 155, 30);
/* oklch */ color: oklch(61.7% 0.171 136.2);
Tailwind
colors: {
  custom: {
    50: '#89b965',
    500: '#509b1e',
    950: '#000000',
  },
}
SCSS
$custom: #509b1e;
$custom-light: #89b965;
$custom-dark: #000000;
JSON
{
  "hex": "#509b1e",
  "rgb": {
    "r": 80,
    "g": 155,
    "b": 30
  },
  "hsl": {
    "h": 96,
    "s": 67.568,
    "l": 36.275
  },
  "oklch": {
    "l": 0.61729,
    "c": 0.17078,
    "h": 136.2
  },
  "luminance": 0.25242
}

Semantic roles & 50–950 ramp

primary
#509B1E
secondary
#9553C2
accent
#3DEAA5
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #509B1E

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

Preview Lab → · Contrast checker → · Palette generator →

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