#21A271#21A271

#21A271 is a light, vivid teal. Relative luminance 0.274; OKLCH L 63.3% C 0.131 H 161.8°. Best body text is #000000 at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#21A271
RGBrgb(33, 162, 113)
HSLhsl(157, 66%, 38%)
HSVhsv(157, 80%, 64%)
CMYKcmyk(79.6%, 0%, 30.2%, 36.5%)
CIE-LABlab(59.30, -45.50, 16.09)
CIE-LCHlch(59.30, 48.26, 160.53°)
OKLaboklab(63.34% -0.124 0.0409)
OKLCHoklch(63.34% 0.131 161.8)
XYZxyz(16.5264, 27.3542, 20.0285)
Luminance0.2736 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21A271 #A22152
analogous
#21A230 #21A271 #2192A2
triadic
#21A271 #7121A2 #A27121
tetradic
#21A271 #3021A2 #A22152 #92A221
square
#21A271 #3021A2 #A22152 #92A221
split-complementary
#21A271 #A22192 #A23021
monochromatic
#0C3C2A #176F4E #21A271 #2CD494 #5FDEAE

Accessibility & contrast

On white

3.25
#21A271 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.47
#21A271 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #21A271
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21A271#FFFFFF#000000##000000
##21A2711.003.256.476.47
#FFFFFF3.251.0021.0021.00
#0000006.4721.001.001.00
##0000006.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F956E
Deuteranopia (green-blind)
#908A74
Tritanopia (blue-blind)
#00A295
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #21a271;
/* rgb */ color: rgb(33, 162, 113);
/* oklch */ color: oklch(63.3% 0.131 161.8);
Tailwind
colors: {
  custom: {
    50: '#73be9a',
    500: '#21a271',
    950: '#000000',
  },
}
SCSS
$custom: #21a271;
$custom-light: #73be9a;
$custom-dark: #000000;
JSON
{
  "hex": "#21a271",
  "rgb": {
    "r": 33,
    "g": 162,
    "b": 113
  },
  "hsl": {
    "h": 157.209,
    "s": 66.154,
    "l": 38.235
  },
  "oklch": {
    "l": 0.63336,
    "c": 0.13059,
    "h": 161.8
  },
  "luminance": 0.27356
}

Semantic roles & 50–950 ramp

primary
#21A271
secondary
#C35C83
accent
#3F7FE9
background
#F7FBF9
surface
#EEF7F2
border
#C9D0CC
text
#09120E
muted
#7B817E

Preview Lab

Preview with #21A271

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

Preview Lab → · Contrast checker → · Palette generator →

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