#50AA21#50AA21

#50AA21 is a light, vivid yellow-green. Relative luminance 0.306; OKLCH L 65.7% C 0.187 H 137.6°. Best body text is #000000 at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#50AA21
RGBrgb(80, 170, 33)
HSLhsl(99, 67%, 40%)
HSVhsv(99, 81%, 67%)
CMYKcmyk(52.9%, 0%, 80.6%, 33.3%)
CIE-LABlab(62.14, -49.90, 56.99)
CIE-LCHlch(62.14, 75.75, 131.20°)
OKLaboklab(65.71% -0.1383 0.1262)
OKLCHoklch(65.71% 0.187 137.6)
XYZxyz(17.9569, 30.5634, 6.3916)
Luminance0.3056 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50AA21 #7B21AA
analogous
#95AA21 #50AA21 #21AA36
triadic
#50AA21 #2150AA #AA2150
tetradic
#50AA21 #2195AA #7B21AA #AA3621
square
#50AA21 #2195AA #7B21AA #AA3621
split-complementary
#50AA21 #3621AA #AA2195
monochromatic
#20430D #387717 #50AA21 #6AD731 #8FE164

Accessibility & contrast

On white

2.95
#50AA21 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.11
#50AA21 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #50AA21
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50AA21#FFFFFF#000000##000000
##50AA211.002.957.117.11
#FFFFFF2.951.0021.0021.00
#0000007.1121.001.001.00
##0000007.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09B00
Deuteranopia (green-blind)
#A49331
Tritanopia (blue-blind)
#49A491
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #50aa21;
/* rgb */ color: rgb(80, 170, 33);
/* oklch */ color: oklch(65.7% 0.187 137.6);
Tailwind
colors: {
  custom: {
    50: '#8bc469',
    500: '#50aa21',
    950: '#000000',
  },
}
SCSS
$custom: #50aa21;
$custom-light: #8bc469;
$custom-dark: #000000;
JSON
{
  "hex": "#50aa21",
  "rgb": {
    "r": 80,
    "g": 170,
    "b": 33
  },
  "hsl": {
    "h": 99.416,
    "s": 67.488,
    "l": 39.804
  },
  "oklch": {
    "l": 0.65708,
    "c": 0.18725,
    "h": 137.6
  },
  "luminance": 0.30565
}

Semantic roles & 50–950 ramp

primary
#50AA21
secondary
#A361C6
accent
#3DEAAF
background
#F9FCF6
surface
#F1F8EB
border
#CBD1C6
text
#0D1307
muted
#7E827A

Preview Lab

Preview with #50AA21

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

Preview Lab → · Contrast checker → · Palette generator →

#50AA21 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva