#21A87F#21A87F

#21A87F is a light, vivid teal. Relative luminance 0.299; OKLCH L 65.3% C 0.127 H 166.7°. Best body text is #000000 at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#21A87F
RGBrgb(33, 168, 127)
HSLhsl(162, 67%, 39%)
HSVhsv(162, 80%, 66%)
CMYKcmyk(80.4%, 0%, 24.4%, 34.1%)
CIE-LABlab(61.53, -44.64, 11.43)
CIE-LCHlch(61.53, 46.08, 165.64°)
OKLaboklab(65.27% -0.1232 0.0292)
OKLCHoklch(65.27% 0.127 166.7)
XYZxyz(18.4584, 29.8586, 24.8650)
Luminance0.2986 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21A87F #A8214A
analogous
#21A83C #21A87F #218EA8
triadic
#21A87F #7F21A8 #A87F21
tetradic
#21A87F #3C21A8 #A8214A #8EA821
square
#21A87F #3C21A8 #A8214A #8EA821
split-complementary
#21A87F #A8218E #A83C21
monochromatic
#0D4232 #177558 #21A87F #30D6A4 #63E0BA

Accessibility & contrast

On white

3.01
#21A87F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.97
#21A87F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #21A87F
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21A87F#FFFFFF#000000##000000
##21A87F1.003.016.976.97
#FFFFFF3.011.0021.0021.00
#0000006.9721.001.001.00
##0000006.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49C7D
Deuteranopia (green-blind)
#949082
Tritanopia (blue-blind)
#00A99D
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #21a87f;
/* rgb */ color: rgb(33, 168, 127);
/* oklch */ color: oklch(65.3% 0.127 166.7);
Tailwind
colors: {
  custom: {
    50: '#74c3a4',
    500: '#21a87f',
    950: '#000000',
  },
}
SCSS
$custom: #21a87f;
$custom-light: #74c3a4;
$custom-dark: #000000;
JSON
{
  "hex": "#21a87f",
  "rgb": {
    "r": 33,
    "g": 168,
    "b": 127
  },
  "hsl": {
    "h": 161.778,
    "s": 67.164,
    "l": 39.412
  },
  "oklch": {
    "l": 0.65271,
    "c": 0.12658,
    "h": 166.7
  },
  "luminance": 0.29861
}

Semantic roles & 50–950 ramp

primary
#21A87F
secondary
#C55F7E
accent
#3E72EA
background
#F7FCFA
surface
#EEF8F4
border
#C9D1CE
text
#0A120F
muted
#7C817F

Preview Lab

Preview with #21A87F

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

Preview Lab → · Contrast checker → · Palette generator →

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