#21AF60#21AF60

#21AF60 is a light, vivid green. Relative luminance 0.318; OKLCH L 66.5% C 0.163 H 152.6°. Best body text is #000000 at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#21AF60
RGBrgb(33, 175, 96)
HSLhsl(147, 68%, 41%)
HSVhsv(147, 81%, 69%)
CMYKcmyk(81.1%, 0%, 45.1%, 31.4%)
CIE-LABlab(63.20, -53.89, 30.45)
CIE-LCHlch(63.20, 61.90, 150.53°)
OKLaboklab(66.45% -0.1447 0.075)
OKLCHoklch(66.45% 0.163 152.6)
XYZxyz(18.0668, 31.8256, 16.2548)
Luminance0.3183 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21AF60 #AF2170
analogous
#29AF21 #21AF60 #21AFA7
triadic
#21AF60 #6021AF #AF6021
tetradic
#21AF60 #2129AF #AF2170 #AFA721
square
#21AF60 #2129AF #AF2170 #AFA721
split-complementary
#21AF60 #A721AF #AF2129
monochromatic
#0E4828 #177C44 #21AF60 #34D97D #68E39E

Accessibility & contrast

On white

2.85
#21AF60 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.37
#21AF60 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #21AF60
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21AF60#FFFFFF#000000##000000
##21AF601.002.857.377.37
#FFFFFF2.851.0021.0021.00
#0000007.3721.001.001.00
##0000007.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AFA05A
Deuteranopia (green-blind)
#9F9466
Tritanopia (blue-blind)
#00AC9C
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #21af60;
/* rgb */ color: rgb(33, 175, 96);
/* oklch */ color: oklch(66.5% 0.163 152.6);
Tailwind
colors: {
  custom: {
    50: '#76c88e',
    500: '#21af60',
    950: '#000000',
  },
}
SCSS
$custom: #21af60;
$custom-light: #76c88e;
$custom-dark: #000000;
JSON
{
  "hex": "#21af60",
  "rgb": {
    "r": 33,
    "g": 175,
    "b": 96
  },
  "hsl": {
    "h": 146.62,
    "s": 68.269,
    "l": 40.784
  },
  "oklch": {
    "l": 0.66454,
    "c": 0.16301,
    "h": 152.6
  },
  "luminance": 0.31828
}

Semantic roles & 50–950 ramp

primary
#21AF60
secondary
#C8649C
accent
#3D9EEB
background
#F7FCF8
surface
#EEF8F0
border
#C9D1CB
text
#0A130C
muted
#7C827D

Preview Lab

Preview with #21AF60

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

Preview Lab → · Contrast checker → · Palette generator →

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