#21AF78#21AF78

#21AF78 is a light, vivid teal. Relative luminance 0.323; OKLCH L 66.9% C 0.141 H 160.9°. Best body text is #000000 at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#21AF78
RGBrgb(33, 175, 120)
HSLhsl(157, 68%, 41%)
HSVhsv(157, 81%, 69%)
CMYKcmyk(81.1%, 0%, 31.4%, 31.4%)
CIE-LABlab(63.62, -49.08, 18.19)
CIE-LCHlch(63.62, 52.34, 159.67°)
OKLaboklab(66.94% -0.1335 0.0461)
OKLCHoklch(66.94% 0.141 160.9)
XYZxyz(19.3452, 32.3369, 22.9877)
Luminance0.3234 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21AF78 #AF2158
analogous
#21AF31 #21AF78 #219FAF
triadic
#21AF78 #7821AF #AF7821
tetradic
#21AF78 #3121AF #AF2158 #9FAF21
square
#21AF78 #3121AF #AF2158 #9FAF21
split-complementary
#21AF78 #AF219F #AF3121
monochromatic
#0E4831 #177C55 #21AF78 #34D999 #68E3B3

Accessibility & contrast

On white

2.81
#21AF78 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.47
#21AF78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #21AF78
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21AF78#FFFFFF#000000##000000
##21AF781.002.817.477.47
#FFFFFF2.811.0021.0021.00
#0000007.4721.001.001.00
##0000007.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#ACA175
Deuteranopia (green-blind)
#9C957C
Tritanopia (blue-blind)
#00AEA0
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #21af78;
/* rgb */ color: rgb(33, 175, 120);
/* oklch */ color: oklch(66.9% 0.141 160.9);
Tailwind
colors: {
  custom: {
    50: '#76c89f',
    500: '#21af78',
    950: '#000000',
  },
}
SCSS
$custom: #21af78;
$custom-light: #76c89f;
$custom-dark: #000000;
JSON
{
  "hex": "#21af78",
  "rgb": {
    "r": 33,
    "g": 175,
    "b": 120
  },
  "hsl": {
    "h": 156.761,
    "s": 68.269,
    "l": 40.784
  },
  "oklch": {
    "l": 0.66941,
    "c": 0.1412,
    "h": 160.9
  },
  "luminance": 0.32339
}

Semantic roles & 50–950 ramp

primary
#21AF78
secondary
#C8648B
accent
#3D80EB
background
#F7FCF9
surface
#EEF8F2
border
#C9D1CC
text
#0A130E
muted
#7C827E

Preview Lab

Preview with #21AF78

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

Preview Lab → · Contrast checker → · Palette generator →

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