#21A789#21A789

#21A789 is a light, moderate teal. Relative luminance 0.298; OKLCH L 65.3% C 0.118 H 172.9°. Best body text is #000000 at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#21A789
RGBrgb(33, 167, 137)
HSLhsl(167, 67%, 39%)
HSVhsv(167, 80%, 65%)
CMYKcmyk(80.2%, 0%, 18%, 34.5%)
CIE-LABlab(61.45, -41.70, 5.74)
CIE-LCHlch(61.45, 42.09, 172.17°)
OKLaboklab(65.28% -0.1173 0.0145)
OKLCHoklch(65.28% 0.118 172.9)
XYZxyz(18.9589, 29.7645, 28.4080)
Luminance0.2977 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21A789 #A7213F
analogous
#21A746 #21A789 #2182A7
triadic
#21A789 #8921A7 #A78921
tetradic
#21A789 #4621A7 #A7213F #82A721
square
#21A789 #4621A7 #A7213F #82A721
split-complementary
#21A789 #A72182 #A74621
monochromatic
#0D4135 #17745F #21A789 #2FD6B1 #62E0C4

Accessibility & contrast

On white

3.02
#21A789 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.95
#21A789 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #21A789
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21A789#FFFFFF#000000##000000
##21A7891.003.026.956.95
#FFFFFF3.021.0021.0021.00
#0000006.9521.001.001.00
##0000006.9521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #21a789;
/* rgb */ color: rgb(33, 167, 137);
/* oklch */ color: oklch(65.3% 0.118 172.9);
Tailwind
colors: {
  custom: {
    50: '#75c2ab',
    500: '#21a789',
    950: '#000000',
  },
}
SCSS
$custom: #21a789;
$custom-light: #75c2ab;
$custom-dark: #000000;
JSON
{
  "hex": "#21a789",
  "rgb": {
    "r": 33,
    "g": 167,
    "b": 137
  },
  "hsl": {
    "h": 166.567,
    "s": 67,
    "l": 39.216
  },
  "oklch": {
    "l": 0.65283,
    "c": 0.1182,
    "h": 172.9
  },
  "luminance": 0.29767
}

Semantic roles & 50–950 ramp

primary
#21A789
secondary
#C55F76
accent
#3E64EA
background
#F7FCFA
surface
#EEF8F4
border
#C9D1CE
text
#0A1210
muted
#7C817F

Preview Lab

Preview with #21A789

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

Preview Lab → · Contrast checker → · Palette generator →

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