#509F28#509F28

#509F28 is a light, vivid yellow-green. Relative luminance 0.267; OKLCH L 62.9% C 0.170 H 137.3°. Best body text is #000000 at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#509F28
RGBrgb(80, 159, 40)
HSLhsl(100, 60%, 39%)
HSVhsv(100, 75%, 62%)
CMYKcmyk(49.7%, 0%, 74.8%, 37.6%)
CIE-LABlab(58.65, -45.19, 51.34)
CIE-LCHlch(58.65, 68.40, 131.36°)
OKLaboklab(62.85% -0.1252 0.1154)
OKLCHoklch(62.85% 0.17 137.3)
XYZxyz(16.0889, 26.6538, 6.3040)
Luminance0.2666 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#509F28 #77289F
analogous
#8C9F28 #509F28 #289F3C
triadic
#509F28 #28509F #9F2850
tetradic
#509F28 #288C9F #77289F #9F3C28
square
#509F28 #288C9F #77289F #9F3C28
split-complementary
#509F28 #3C289F #9F288C
monochromatic
#1F3D0F #376E1C #509F28 #6ACD37 #8ED968

Accessibility & contrast

On white

3.32
#509F28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.33
#509F28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #509F28
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##509F28#FFFFFF#000000##000000
##509F281.003.326.336.33
#FFFFFF3.321.0021.0021.00
#0000006.3321.001.001.00
##0000006.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49110
Deuteranopia (green-blind)
#9A8B34
Tritanopia (blue-blind)
#4B9988
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #509f28;
/* rgb */ color: rgb(80, 159, 40);
/* oklch */ color: oklch(62.9% 0.170 137.3);
Tailwind
colors: {
  custom: {
    50: '#89bc6a',
    500: '#509f28',
    950: '#000000',
  },
}
SCSS
$custom: #509f28;
$custom-light: #89bc6a;
$custom-dark: #000000;
JSON
{
  "hex": "#509f28",
  "rgb": {
    "r": 80,
    "g": 159,
    "b": 40
  },
  "hsl": {
    "h": 99.832,
    "s": 59.799,
    "l": 39.02
  },
  "oklch": {
    "l": 0.62851,
    "c": 0.17032,
    "h": 137.3
  },
  "luminance": 0.26655
}

Semantic roles & 50–950 ramp

primary
#509F28
secondary
#A064BF
accent
#45E3AE
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1207
muted
#7D817A

Preview Lab

Preview with #509F28

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

Preview Lab → · Contrast checker → · Palette generator →

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