#21AF50#21AF50

#21AF50 is a light, vivid green. Relative luminance 0.316; OKLCH L 66.2% C 0.177 H 148.8°. Best body text is #000000 at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#21AF50
RGBrgb(33, 175, 80)
HSLhsl(140, 68%, 41%)
HSVhsv(140, 81%, 69%)
CMYKcmyk(81.1%, 0%, 54.3%, 31.4%)
CIE-LABlab(62.98, -56.50, 38.29)
CIE-LCHlch(62.98, 68.25, 145.87°)
OKLaboklab(66.2% -0.1517 0.0919)
OKLCHoklch(66.2% 0.177 148.8)
XYZxyz(17.4037, 31.5603, 12.7624)
Luminance0.3156 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21AF50 #AF2180
analogous
#39AF21 #21AF50 #21AF97
triadic
#21AF50 #5021AF #AF5021
tetradic
#21AF50 #2139AF #AF2180 #AF9721
square
#21AF50 #2139AF #AF2180 #AF9721
split-complementary
#21AF50 #9721AF #AF2139
monochromatic
#0E4821 #177C38 #21AF50 #34D96B #68E390

Accessibility & contrast

On white

2.87
#21AF50 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.31
#21AF50 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #21AF50
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21AF50#FFFFFF#000000##000000
##21AF501.002.877.317.31
#FFFFFF2.871.0021.0021.00
#0000007.3121.001.001.00
##0000007.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19F47
Deuteranopia (green-blind)
#A19457
Tritanopia (blue-blind)
#00AB99
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #21af50;
/* rgb */ color: rgb(33, 175, 80);
/* oklch */ color: oklch(66.2% 0.177 148.8);
Tailwind
colors: {
  custom: {
    50: '#76c883',
    500: '#21af50',
    950: '#000000',
  },
}
SCSS
$custom: #21af50;
$custom-light: #76c883;
$custom-dark: #000000;
JSON
{
  "hex": "#21af50",
  "rgb": {
    "r": 33,
    "g": 175,
    "b": 80
  },
  "hsl": {
    "h": 139.859,
    "s": 68.269,
    "l": 40.784
  },
  "oklch": {
    "l": 0.66199,
    "c": 0.17737,
    "h": 148.8
  },
  "luminance": 0.31562
}

Semantic roles & 50–950 ramp

primary
#21AF50
secondary
#C864A7
accent
#3DB1EB
background
#F7FCF8
surface
#EEF8EF
border
#C9D1CA
text
#0A130B
muted
#7C827C

Preview Lab

Preview with #21AF50

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

Preview Lab → · Contrast checker → · Palette generator →

#21AF50 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva