#21A878#21A878

#21A878 is a light, vivid teal. Relative luminance 0.297; OKLCH L 65.1% C 0.132 H 163.1°. Best body text is #000000 at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#21A878
RGBrgb(33, 168, 120)
HSLhsl(159, 67%, 39%)
HSVhsv(159, 80%, 66%)
CMYKcmyk(80.4%, 0%, 28.6%, 34.1%)
CIE-LABlab(61.38, -46.30, 15.09)
CIE-LCHlch(61.38, 48.70, 161.95°)
OKLaboklab(65.1% -0.1266 0.0384)
OKLCHoklch(65.1% 0.132 163.1)
XYZxyz(18.0180, 29.6824, 22.5453)
Luminance0.2969 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21A878 #A82151
analogous
#21A835 #21A878 #2195A8
triadic
#21A878 #7821A8 #A87821
tetradic
#21A878 #3521A8 #A82151 #95A821
square
#21A878 #3521A8 #A82151 #95A821
split-complementary
#21A878 #A82195 #A83521
monochromatic
#0D422F #177553 #21A878 #30D69B #63E0B4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##21A878#FFFFFF#000000##000000
##21A8781.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)
#A59B75
Deuteranopia (green-blind)
#958F7B
Tritanopia (blue-blind)
#00A89B
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #21a878;
/* rgb */ color: rgb(33, 168, 120);
/* oklch */ color: oklch(65.1% 0.132 163.1);
Tailwind
colors: {
  custom: {
    50: '#74c39f',
    500: '#21a878',
    950: '#000000',
  },
}
SCSS
$custom: #21a878;
$custom-light: #74c39f;
$custom-dark: #000000;
JSON
{
  "hex": "#21a878",
  "rgb": {
    "r": 33,
    "g": 168,
    "b": 120
  },
  "hsl": {
    "h": 158.667,
    "s": 67.164,
    "l": 39.412
  },
  "oklch": {
    "l": 0.65095,
    "c": 0.13229,
    "h": 163.1
  },
  "luminance": 0.29685
}

Semantic roles & 50–950 ramp

primary
#21A878
secondary
#C55F84
accent
#3E7BEA
background
#F7FCF9
surface
#EEF8F2
border
#C9D1CC
text
#0A120E
muted
#7C817E

Preview Lab

Preview with #21A878

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

Preview Lab → · Contrast checker → · Palette generator →

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