#509D27#509D27

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

Color values

HEX#509D27
RGBrgb(80, 157, 39)
HSLhsl(99, 60%, 38%)
HSVhsv(99, 75%, 62%)
CMYKcmyk(49%, 0%, 75.2%, 38.4%)
CIE-LABlab(58.00, -44.46, 51.06)
CIE-LCHlch(58.00, 67.70, 131.05°)
OKLaboklab(62.32% -0.1233 0.1147)
OKLCHoklch(62.32% 0.168 137.1)
XYZxyz(15.7310, 25.9648, 6.1018)
Luminance0.2597 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#509D27 #74279D
analogous
#8B9D27 #509D27 #279D39
triadic
#509D27 #27509D #9D2750
tetradic
#509D27 #278B9D #74279D #9D3927
square
#509D27 #278B9D #74279D #9D3927
split-complementary
#509D27 #39279D #9D278B
monochromatic
#1E3B0F #376C1B #509D27 #69CD35 #8ED966

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##509D27#FFFFFF#000000##000000
##509D271.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)
#A28F0F
Deuteranopia (green-blind)
#988933
Tritanopia (blue-blind)
#4B9786
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #509d27;
/* rgb */ color: rgb(80, 157, 39);
/* oklch */ color: oklch(62.3% 0.168 137.1);
Tailwind
colors: {
  custom: {
    50: '#88ba6a',
    500: '#509d27',
    950: '#000000',
  },
}
SCSS
$custom: #509d27;
$custom-light: #88ba6a;
$custom-dark: #000000;
JSON
{
  "hex": "#509d27",
  "rgb": {
    "r": 80,
    "g": 157,
    "b": 39
  },
  "hsl": {
    "h": 99.153,
    "s": 60.204,
    "l": 38.431
  },
  "oklch": {
    "l": 0.62316,
    "c": 0.16842,
    "h": 137.1
  },
  "luminance": 0.25966
}

Semantic roles & 50–950 ramp

primary
#509D27
secondary
#9E61BF
accent
#44E3AC
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1207
muted
#7D817A

Preview Lab

Preview with #509D27

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

Preview Lab → · Contrast checker → · Palette generator →

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