#509E21#509E21

#509E21 is a light, vivid yellow-green. Relative luminance 0.263; OKLCH L 62.5% C 0.173 H 136.7°. Best body text is #000000 at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#509E21
RGBrgb(80, 158, 33)
HSLhsl(97, 65%, 37%)
HSVhsv(97, 79%, 62%)
CMYKcmyk(49.4%, 0%, 79.1%, 38%)
CIE-LABlab(58.29, -45.24, 53.38)
CIE-LCHlch(58.29, 69.97, 130.28°)
OKLaboklab(62.54% -0.1258 0.1186)
OKLCHoklch(62.54% 0.173 136.7)
XYZxyz(15.8092, 26.2679, 5.6757)
Luminance0.2627 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#509E21 #6F219E
analogous
#8F9E21 #509E21 #219E31
triadic
#509E21 #21509E #9E2150
tetradic
#509E21 #218F9E #6F219E #9E3121
square
#509E21 #218F9E #6F219E #9E3121
split-complementary
#509E21 #31219E #9E218F
monochromatic
#1D390C #366B16 #509E21 #6AD12C #8DDD5C

Accessibility & contrast

On white

3.36
#509E21 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.25
#509E21 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #509E21
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##509E21#FFFFFF#000000##000000
##509E211.003.366.256.25
#FFFFFF3.361.0021.0021.00
#0000006.2521.001.001.00
##0000006.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49000
Deuteranopia (green-blind)
#998A2F
Tritanopia (blue-blind)
#4C9887
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #509e21;
/* rgb */ color: rgb(80, 158, 33);
/* oklch */ color: oklch(62.5% 0.173 136.7);
Tailwind
colors: {
  custom: {
    50: '#89bb67',
    500: '#509e21',
    950: '#000000',
  },
}
SCSS
$custom: #509e21;
$custom-light: #89bb67;
$custom-dark: #000000;
JSON
{
  "hex": "#509e21",
  "rgb": {
    "r": 80,
    "g": 158,
    "b": 33
  },
  "hsl": {
    "h": 97.44,
    "s": 65.445,
    "l": 37.451
  },
  "oklch": {
    "l": 0.6254,
    "c": 0.17294,
    "h": 136.7
  },
  "luminance": 0.26269
}

Semantic roles & 50–950 ramp

primary
#509E21
secondary
#9A59C1
accent
#3FE8A9
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1206
muted
#7D817A

Preview Lab

Preview with #509E21

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

Preview Lab → · Contrast checker → · Palette generator →

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