#21AC7B#21AC7B

#21AC7B is a light, vivid teal. Relative luminance 0.313; OKLCH L 66.2% C 0.135 H 163.2°. Best body text is #000000 at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#21AC7B
RGBrgb(33, 172, 123)
HSLhsl(159, 68%, 40%)
HSVhsv(159, 81%, 67%)
CMYKcmyk(80.8%, 0%, 28.5%, 32.5%)
CIE-LABlab(62.72, -47.21, 15.31)
CIE-LCHlch(62.72, 49.63, 162.04°)
OKLaboklab(66.22% -0.1291 0.039)
OKLCHoklch(66.22% 0.135 163.2)
XYZxyz(18.9527, 31.2561, 23.7692)
Luminance0.3126 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21AC7B #AC2152
analogous
#21AC35 #21AC7B #2197AC
triadic
#21AC7B #7B21AC #AC7B21
tetradic
#21AC7B #3521AC #AC2152 #97AC21
square
#21AC7B #3521AC #AC2152 #97AC21
split-complementary
#21AC7B #AC2197 #AC3521
monochromatic
#0D4532 #177956 #21AC7B #32D89D #66E2B6

Accessibility & contrast

On white

2.90
#21AC7B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.25
#21AC7B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #21AC7B
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21AC7B#FFFFFF#000000##000000
##21AC7B1.002.907.257.25
#FFFFFF2.901.0021.0021.00
#0000007.2521.001.001.00
##0000007.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99F78
Deuteranopia (green-blind)
#98937E
Tritanopia (blue-blind)
#00AC9F
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #21ac7b;
/* rgb */ color: rgb(33, 172, 123);
/* oklch */ color: oklch(66.2% 0.135 163.2);
Tailwind
colors: {
  custom: {
    50: '#75c6a1',
    500: '#21ac7b',
    950: '#000000',
  },
}
SCSS
$custom: #21ac7b;
$custom-light: #75c6a1;
$custom-dark: #000000;
JSON
{
  "hex": "#21ac7b",
  "rgb": {
    "r": 33,
    "g": 172,
    "b": 123
  },
  "hsl": {
    "h": 158.849,
    "s": 67.805,
    "l": 40.196
  },
  "oklch": {
    "l": 0.66222,
    "c": 0.13483,
    "h": 163.2
  },
  "luminance": 0.31258
}

Semantic roles & 50–950 ramp

primary
#21AC7B
secondary
#C76285
accent
#3D7AEB
background
#F7FCF9
surface
#EEF8F2
border
#C9D1CC
text
#0A130F
muted
#7C827E

Preview Lab

Preview with #21AC7B

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

Preview Lab → · Contrast checker → · Palette generator →

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