#21AF5F#21AF5F

#21AF5F is a light, vivid green. Relative luminance 0.318; OKLCH L 66.4% C 0.164 H 152.3°. Best body text is #000000 at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#21AF5F
RGBrgb(33, 175, 95)
HSLhsl(146, 68%, 41%)
HSVhsv(146, 81%, 69%)
CMYKcmyk(81.1%, 0%, 45.7%, 31.4%)
CIE-LABlab(63.18, -54.06, 30.95)
CIE-LCHlch(63.18, 62.30, 150.21°)
OKLaboklab(66.44% -0.1452 0.0761)
OKLCHoklch(66.44% 0.164 152.3)
XYZxyz(18.0211, 31.8073, 16.0139)
Luminance0.3181 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21AF5F #AF2171
analogous
#2AAF21 #21AF5F #21AFA6
triadic
#21AF5F #5F21AF #AF5F21
tetradic
#21AF5F #212AAF #AF2171 #AFA621
square
#21AF5F #212AAF #AF2171 #AFA621
split-complementary
#21AF5F #A621AF #AF212A
monochromatic
#0E4827 #177C43 #21AF5F #34D97C #68E39D

Accessibility & contrast

On white

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

On black

7.36
#21AF5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #21AF5F
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21AF5F#FFFFFF#000000##000000
##21AF5F1.002.857.367.36
#FFFFFF2.851.0021.0021.00
#0000007.3621.001.001.00
##0000007.3621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #21af5f;
/* rgb */ color: rgb(33, 175, 95);
/* oklch */ color: oklch(66.4% 0.164 152.3);
Tailwind
colors: {
  custom: {
    50: '#76c88d',
    500: '#21af5f',
    950: '#000000',
  },
}
SCSS
$custom: #21af5f;
$custom-light: #76c88d;
$custom-dark: #000000;
JSON
{
  "hex": "#21af5f",
  "rgb": {
    "r": 33,
    "g": 175,
    "b": 95
  },
  "hsl": {
    "h": 146.197,
    "s": 68.269,
    "l": 40.784
  },
  "oklch": {
    "l": 0.66437,
    "c": 0.16393,
    "h": 152.3
  },
  "luminance": 0.3181
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #21AF5F

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

Preview Lab → · Contrast checker → · Palette generator →

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