#509D26#509D26

#509D26 is a light, vivid yellow-green. Relative luminance 0.260; OKLCH L 62.3% C 0.169 H 137.0°. Best body text is #000000 at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#509D26
RGBrgb(80, 157, 38)
HSLhsl(99, 61%, 38%)
HSVhsv(99, 76%, 62%)
CMYKcmyk(49%, 0%, 75.8%, 38.4%)
CIE-LABlab(58.00, -44.53, 51.41)
CIE-LCHlch(58.00, 68.01, 130.90°)
OKLaboklab(62.31% -0.1236 0.1153)
OKLCHoklch(62.31% 0.169 137)
XYZxyz(15.7146, 25.9583, 6.0157)
Luminance0.2596 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#509D26 #73269D
analogous
#8B9D26 #509D26 #269D38
triadic
#509D26 #26509D #9D2650
tetradic
#509D26 #268B9D #73269D #9D3826
square
#509D26 #268B9D #73269D #9D3826
split-complementary
#509D26 #38269D #9D268B
monochromatic
#1E3A0E #376C1A #509D26 #69CE33 #8DD964

Accessibility & contrast

On white

3.39
#509D26 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.19
#509D26 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #509D26
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##509D26#FFFFFF#000000##000000
##509D261.003.396.196.19
#FFFFFF3.391.0021.0021.00
#0000006.1921.001.001.00
##0000006.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A28F0D
Deuteranopia (green-blind)
#988932
Tritanopia (blue-blind)
#4C9786
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #509d26;
/* rgb */ color: rgb(80, 157, 38);
/* oklch */ color: oklch(62.3% 0.169 137.0);
Tailwind
colors: {
  custom: {
    50: '#89ba69',
    500: '#509d26',
    950: '#000000',
  },
}
SCSS
$custom: #509d26;
$custom-light: #89ba69;
$custom-dark: #000000;
JSON
{
  "hex": "#509d26",
  "rgb": {
    "r": 80,
    "g": 157,
    "b": 38
  },
  "hsl": {
    "h": 98.824,
    "s": 61.026,
    "l": 38.235
  },
  "oklch": {
    "l": 0.62309,
    "c": 0.169,
    "h": 137
  },
  "luminance": 0.25959
}

Semantic roles & 50–950 ramp

primary
#509D26
secondary
#9D60BF
accent
#44E4AC
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1207
muted
#7D817A

Preview Lab

Preview with #509D26

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

Preview Lab → · Contrast checker → · Palette generator →

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