#21A787#21A787

#21A787 is a light, moderate teal. Relative luminance 0.297; OKLCH L 65.2% C 0.120 H 171.7°. Best body text is #000000 at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#21A787
RGBrgb(33, 167, 135)
HSLhsl(166, 67%, 39%)
HSVhsv(166, 80%, 65%)
CMYKcmyk(80.2%, 0%, 19.2%, 34.5%)
CIE-LABlab(61.40, -42.22, 6.79)
CIE-LCHlch(61.40, 42.76, 170.87°)
OKLaboklab(65.23% -0.1183 0.0173)
OKLCHoklch(65.23% 0.12 171.7)
XYZxyz(18.8167, 29.7077, 27.6594)
Luminance0.2971 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21A787 #A72141
analogous
#21A744 #21A787 #2184A7
triadic
#21A787 #8721A7 #A78721
tetradic
#21A787 #4421A7 #A72141 #84A721
square
#21A787 #4421A7 #A72141 #84A721
split-complementary
#21A787 #A72184 #A74421
monochromatic
#0D4134 #17745E #21A787 #2FD6AE #62E0C2

Accessibility & contrast

On white

3.03
#21A787 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.94
#21A787 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #21A787
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21A787#FFFFFF#000000##000000
##21A7871.003.036.946.94
#FFFFFF3.031.0021.0021.00
#0000006.9421.001.001.00
##0000006.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A29B85
Deuteranopia (green-blind)
#918F89
Tritanopia (blue-blind)
#00A99E
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #21a787;
/* rgb */ color: rgb(33, 167, 135);
/* oklch */ color: oklch(65.2% 0.120 171.7);
Tailwind
colors: {
  custom: {
    50: '#74c2aa',
    500: '#21a787',
    950: '#000000',
  },
}
SCSS
$custom: #21a787;
$custom-light: #74c2aa;
$custom-dark: #000000;
JSON
{
  "hex": "#21a787",
  "rgb": {
    "r": 33,
    "g": 167,
    "b": 135
  },
  "hsl": {
    "h": 165.672,
    "s": 67,
    "l": 39.216
  },
  "oklch": {
    "l": 0.65226,
    "c": 0.11952,
    "h": 171.7
  },
  "luminance": 0.2971
}

Semantic roles & 50–950 ramp

primary
#21A787
secondary
#C55F77
accent
#3E67EA
background
#F7FCFA
surface
#EEF8F4
border
#C9D1CE
text
#0A1210
muted
#7C817F

Preview Lab

Preview with #21A787

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

Preview Lab → · Contrast checker → · Palette generator →

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