#21AB7E#21AB7E

#21AB7E is a light, vivid teal. Relative luminance 0.310; OKLCH L 66.0% C 0.131 H 165.0°. Best body text is #000000 at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#21AB7E
RGBrgb(33, 171, 126)
HSLhsl(160, 68%, 40%)
HSVhsv(160, 81%, 67%)
CMYKcmyk(80.7%, 0%, 26.3%, 32.9%)
CIE-LABlab(62.47, -46.11, 13.30)
CIE-LCHlch(62.47, 47.99, 163.91°)
OKLaboklab(66.03% -0.1266 0.0339)
OKLCHoklch(66.03% 0.131 165)
XYZxyz(18.9538, 30.9532, 24.7102)
Luminance0.3096 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21AB7E #AB214E
analogous
#21AB39 #21AB7E #2193AB
triadic
#21AB7E #7E21AB #AB7E21
tetradic
#21AB7E #3921AB #AB214E #93AB21
square
#21AB7E #3921AB #AB214E #93AB21
split-complementary
#21AB7E #AB2193 #AB3921
monochromatic
#0D4432 #177858 #21AB7E #32D7A1 #65E1B9

Accessibility & contrast

On white

2.92
#21AB7E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.19
#21AB7E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #21AB7E
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21AB7E#FFFFFF#000000##000000
##21AB7E1.002.927.197.19
#FFFFFF2.921.0021.0021.00
#0000007.1921.001.001.00
##0000007.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79E7C
Deuteranopia (green-blind)
#979281
Tritanopia (blue-blind)
#00AB9F
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #21ab7e;
/* rgb */ color: rgb(33, 171, 126);
/* oklch */ color: oklch(66.0% 0.131 165.0);
Tailwind
colors: {
  custom: {
    50: '#75c5a3',
    500: '#21ab7e',
    950: '#000000',
  },
}
SCSS
$custom: #21ab7e;
$custom-light: #75c5a3;
$custom-dark: #000000;
JSON
{
  "hex": "#21ab7e",
  "rgb": {
    "r": 33,
    "g": 171,
    "b": 126
  },
  "hsl": {
    "h": 160.435,
    "s": 67.647,
    "l": 40
  },
  "oklch": {
    "l": 0.66034,
    "c": 0.13109,
    "h": 165
  },
  "luminance": 0.30956
}

Semantic roles & 50–950 ramp

primary
#21AB7E
secondary
#C76182
accent
#3D76EB
background
#F7FCFA
surface
#EEF8F3
border
#C9D1CD
text
#0A130F
muted
#7C827F

Preview Lab

Preview with #21AB7E

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

Preview Lab → · Contrast checker → · Palette generator →

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