#21A798#21A798

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

Color values

HEX#21A798
RGBrgb(33, 167, 152)
HSLhsl(173, 67%, 39%)
HSVhsv(173, 80%, 65%)
CMYKcmyk(80.2%, 0%, 9%, 34.5%)
CIE-LABlab(61.85, -37.61, -2.09)
CIE-LCHlch(61.85, 37.67, 183.19°)
OKLaboklab(65.74% -0.1101 -0.0063)
OKLCHoklch(65.74% 0.11 183.3)
XYZxyz(20.1106, 30.2252, 34.4738)
Luminance0.3023 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21A798 #A72130
analogous
#21A755 #21A798 #2173A7
triadic
#21A798 #9821A7 #A79821
tetradic
#21A798 #5521A7 #A72130 #73A721
square
#21A798 #5521A7 #A72130 #73A721
split-complementary
#21A798 #A72173 #A75521
monochromatic
#0D413B #177469 #21A798 #2FD6C3 #62E0D2

Accessibility & contrast

On white

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

On black

7.05
#21A798 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #21A798
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21A798#FFFFFF#000000##000000
##21A7981.002.987.057.05
#FFFFFF2.981.0021.0021.00
#0000007.0521.001.001.00
##0000007.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F9D97
Deuteranopia (green-blind)
#8D9099
Tritanopia (blue-blind)
#00ABA2
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #21a798;
/* rgb */ color: rgb(33, 167, 152);
/* oklch */ color: oklch(65.7% 0.110 183.3);
Tailwind
colors: {
  custom: {
    50: '#76c2b6',
    500: '#21a798',
    950: '#000000',
  },
}
SCSS
$custom: #21a798;
$custom-light: #76c2b6;
$custom-dark: #000000;
JSON
{
  "hex": "#21a798",
  "rgb": {
    "r": 33,
    "g": 167,
    "b": 152
  },
  "hsl": {
    "h": 173.284,
    "s": 67,
    "l": 39.216
  },
  "oklch": {
    "l": 0.6574,
    "c": 0.11029,
    "h": 183.3
  },
  "luminance": 0.30228
}

Semantic roles & 50–950 ramp

primary
#21A798
secondary
#C55F6A
accent
#3E51EA
background
#F7FCFB
surface
#EEF8F6
border
#C9D1D0
text
#0A1211
muted
#7C8180

Preview Lab

Preview with #21A798

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

Preview Lab → · Contrast checker → · Palette generator →

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