#21AF5E#21AF5E

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

Color values

HEX#21AF5E
RGBrgb(33, 175, 94)
HSLhsl(146, 68%, 41%)
HSVhsv(146, 81%, 69%)
CMYKcmyk(81.1%, 0%, 46.3%, 31.4%)
CIE-LABlab(63.17, -54.24, 31.45)
CIE-LCHlch(63.17, 62.70, 149.89°)
OKLaboklab(66.42% -0.1456 0.0772)
OKLCHoklch(66.42% 0.165 152.1)
XYZxyz(17.9759, 31.7892, 15.7760)
Luminance0.3179 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21AF5E #AF2172
analogous
#2BAF21 #21AF5E #21AFA5
triadic
#21AF5E #5E21AF #AF5E21
tetradic
#21AF5E #212BAF #AF2172 #AFA521
square
#21AF5E #212BAF #AF2172 #AFA521
split-complementary
#21AF5E #A521AF #AF212B
monochromatic
#0E4827 #177C42 #21AF5E #34D97B #68E39D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##21AF5E#FFFFFF#000000##000000
##21AF5E1.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)
#AFA058
Deuteranopia (green-blind)
#9F9464
Tritanopia (blue-blind)
#00AC9C
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #21af5e;
/* rgb */ color: rgb(33, 175, 94);
/* oklch */ color: oklch(66.4% 0.165 152.1);
Tailwind
colors: {
  custom: {
    50: '#76c88d',
    500: '#21af5e',
    950: '#000000',
  },
}
SCSS
$custom: #21af5e;
$custom-light: #76c88d;
$custom-dark: #000000;
JSON
{
  "hex": "#21af5e",
  "rgb": {
    "r": 33,
    "g": 175,
    "b": 94
  },
  "hsl": {
    "h": 145.775,
    "s": 68.269,
    "l": 40.784
  },
  "oklch": {
    "l": 0.66419,
    "c": 0.16484,
    "h": 152.1
  },
  "luminance": 0.31791
}

Semantic roles & 50–950 ramp

primary
#21AF5E
secondary
#C8649D
accent
#3DA0EB
background
#F7FCF8
surface
#EEF8F0
border
#C9D1CB
text
#0A130C
muted
#7C827D

Preview Lab

Preview with #21AF5E

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

Preview Lab → · Contrast checker → · Palette generator →

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