#21A797#21A797

#21A797 is a light, moderate teal. Relative luminance 0.302; OKLCH L 65.7% C 0.111 H 182.5°. Best body text is #000000 at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#21A797
RGBrgb(33, 167, 151)
HSLhsl(173, 67%, 39%)
HSVhsv(173, 80%, 65%)
CMYKcmyk(80.2%, 0%, 9.6%, 34.5%)
CIE-LABlab(61.82, -37.89, -1.57)
CIE-LCHlch(61.82, 37.92, 182.38°)
OKLaboklab(65.71% -0.1106 -0.0049)
OKLCHoklch(65.71% 0.111 182.5)
XYZxyz(20.0291, 30.1926, 34.0443)
Luminance0.3019 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21A797 #A72131
analogous
#21A754 #21A797 #2174A7
triadic
#21A797 #9721A7 #A79721
tetradic
#21A797 #5421A7 #A72131 #74A721
square
#21A797 #5421A7 #A72131 #74A721
split-complementary
#21A797 #A72174 #A75421
monochromatic
#0D413B #177469 #21A797 #2FD6C2 #62E0D1

Accessibility & contrast

On white

2.98
#21A797 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.04
#21A797 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #21A797
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21A797#FFFFFF#000000##000000
##21A7971.002.987.047.04
#FFFFFF2.981.0021.0021.00
#0000007.0421.001.001.00
##0000007.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F9D96
Deuteranopia (green-blind)
#8D9098
Tritanopia (blue-blind)
#00AAA2
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #21a797;
/* rgb */ color: rgb(33, 167, 151);
/* oklch */ color: oklch(65.7% 0.111 182.5);
Tailwind
colors: {
  custom: {
    50: '#76c2b5',
    500: '#21a797',
    950: '#000000',
  },
}
SCSS
$custom: #21a797;
$custom-light: #76c2b5;
$custom-dark: #000000;
JSON
{
  "hex": "#21a797",
  "rgb": {
    "r": 33,
    "g": 167,
    "b": 151
  },
  "hsl": {
    "h": 172.836,
    "s": 67,
    "l": 39.216
  },
  "oklch": {
    "l": 0.65708,
    "c": 0.11069,
    "h": 182.5
  },
  "luminance": 0.30195
}

Semantic roles & 50–950 ramp

primary
#21A797
secondary
#C55F6B
accent
#3E52EA
background
#F7FCFB
surface
#EEF8F6
border
#C9D1D0
text
#0A1211
muted
#7C8180

Preview Lab

Preview with #21A797

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

Preview Lab → · Contrast checker → · Palette generator →

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