#509A21#509A21

#509A21 is a mid, vivid yellow-green. Relative luminance 0.249; OKLCH L 61.5% C 0.168 H 136.3°. Best body text is #000000 at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#509A21
RGBrgb(80, 154, 33)
HSLhsl(97, 65%, 37%)
HSVhsv(97, 79%, 60%)
CMYKcmyk(48.1%, 0%, 78.6%, 39.6%)
CIE-LABlab(57.00, -43.64, 52.15)
CIE-LCHlch(57.00, 68.00, 129.92°)
OKLaboklab(61.48% -0.1215 0.1161)
OKLCHoklch(61.48% 0.168 136.3)
XYZxyz(15.1380, 24.9255, 5.4520)
Luminance0.2493 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#509A21 #6B219A
analogous
#8D9A21 #509A21 #219A2E
triadic
#509A21 #21509A #9A2150
tetradic
#509A21 #218D9A #6B219A #9A2E21
square
#509A21 #218D9A #6B219A #9A2E21
split-complementary
#509A21 #2E219A #9A218D
monochromatic
#1C350B #366816 #509A21 #6ACC2C #8CDC5A

Accessibility & contrast

On white

3.51
#509A21 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.99
#509A21 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #509A21
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##509A21#FFFFFF#000000##000000
##509A211.003.515.995.99
#FFFFFF3.511.0021.0021.00
#0000005.9921.001.001.00
##0000005.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08D00
Deuteranopia (green-blind)
#96872E
Tritanopia (blue-blind)
#4C9483
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #509a21;
/* rgb */ color: rgb(80, 154, 33);
/* oklch */ color: oklch(61.5% 0.168 136.3);
Tailwind
colors: {
  custom: {
    50: '#88b866',
    500: '#509a21',
    950: '#000000',
  },
}
SCSS
$custom: #509a21;
$custom-light: #88b866;
$custom-dark: #000000;
JSON
{
  "hex": "#509a21",
  "rgb": {
    "r": 80,
    "g": 154,
    "b": 33
  },
  "hsl": {
    "h": 96.694,
    "s": 64.706,
    "l": 36.667
  },
  "oklch": {
    "l": 0.61482,
    "c": 0.16805,
    "h": 136.3
  },
  "luminance": 0.24926
}

Semantic roles & 50–950 ramp

primary
#509A21
secondary
#9757C0
accent
#40E8A7
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #509A21

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

Preview Lab → · Contrast checker → · Palette generator →

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