#21A778#21A778

#21A778 is a light, vivid teal. Relative luminance 0.293; OKLCH L 64.8% C 0.131 H 163.5°. Best body text is #000000 at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#21A778
RGBrgb(33, 167, 120)
HSLhsl(159, 67%, 39%)
HSVhsv(159, 80%, 65%)
CMYKcmyk(80.2%, 0%, 28.1%, 34.5%)
CIE-LABlab(61.06, -45.90, 14.65)
CIE-LCHlch(61.06, 48.18, 162.30°)
OKLaboklab(64.83% -0.1256 0.0373)
OKLCHoklch(64.83% 0.131 163.5)
XYZxyz(17.8341, 29.3146, 22.4840)
Luminance0.2932 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21A778 #A72150
analogous
#21A735 #21A778 #2193A7
triadic
#21A778 #7821A7 #A77821
tetradic
#21A778 #3521A7 #A72150 #93A721
square
#21A778 #3521A7 #A72150 #93A721
split-complementary
#21A778 #A72193 #A73521
monochromatic
#0D412F #177453 #21A778 #2FD69B #62E0B4

Accessibility & contrast

On white

3.06
#21A778 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.86
#21A778 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #21A778
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21A778#FFFFFF#000000##000000
##21A7781.003.066.866.86
#FFFFFF3.061.0021.0021.00
#0000006.8621.001.001.00
##0000006.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49A75
Deuteranopia (green-blind)
#948F7B
Tritanopia (blue-blind)
#00A79A
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #21a778;
/* rgb */ color: rgb(33, 167, 120);
/* oklch */ color: oklch(64.8% 0.131 163.5);
Tailwind
colors: {
  custom: {
    50: '#74c29f',
    500: '#21a778',
    950: '#000000',
  },
}
SCSS
$custom: #21a778;
$custom-light: #74c29f;
$custom-dark: #000000;
JSON
{
  "hex": "#21a778",
  "rgb": {
    "r": 33,
    "g": 167,
    "b": 120
  },
  "hsl": {
    "h": 158.955,
    "s": 67,
    "l": 39.216
  },
  "oklch": {
    "l": 0.64831,
    "c": 0.13102,
    "h": 163.5
  },
  "luminance": 0.29317
}

Semantic roles & 50–950 ramp

primary
#21A778
secondary
#C55F83
accent
#3E7AEA
background
#F7FCF9
surface
#EEF8F2
border
#C9D1CC
text
#0A120E
muted
#7C817E

Preview Lab

Preview with #21A778

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

Preview Lab → · Contrast checker → · Palette generator →

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