#40D8AC#40D8AC

#40D8AC is a light, vivid teal. Relative luminance 0.532; OKLCH L 79.3% C 0.141 H 169.2°. Best body text is #000000 at 11.64:1 contrast (WCAG AA passes).

Color values

HEX#40D8AC
RGBrgb(64, 216, 172)
HSLhsl(163, 66%, 55%)
HSVhsv(163, 70%, 85%)
CMYKcmyk(70.4%, 0%, 20.4%, 15.3%)
CIE-LABlab(77.98, -49.75, 10.36)
CIE-LCHlch(77.98, 50.82, 168.24°)
OKLaboklab(79.25% -0.1387 0.0265)
OKLCHoklch(79.25% 0.141 169.2)
XYZxyz(34.1127, 53.1763, 47.4880)
Luminance0.5318 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40D8AC #D8406C
analogous
#40D860 #40D8AC #40B8D8
triadic
#40D8AC #AC40D8 #D8AC40
tetradic
#40D8AC #6040D8 #D8406C #B8D840
square
#40D8AC #6040D8 #D8406C #B8D840
split-complementary
#40D8AC #D840B8 #D86040
monochromatic
#1B8365 #25B68C #40D8AC #73E2C2 #A6EDD8

Accessibility & contrast

On white

1.80
#40D8AC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.64
#40D8AC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40D8AC
11.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40D8AC#FFFFFF#000000##000000
##40D8AC1.001.8011.6411.64
#FFFFFF1.801.0021.0021.00
#00000011.6421.001.001.00
##00000011.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2C9AA
Deuteranopia (green-blind)
#BEBBAF
Tritanopia (blue-blind)
#00D9CB
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #40d8ac;
/* rgb */ color: rgb(64, 216, 172);
/* oklch */ color: oklch(79.3% 0.141 169.2);
Tailwind
colors: {
  custom: {
    50: '#89e5c4',
    500: '#40d8ac',
    950: '#000000',
  },
}
SCSS
$custom: #40d8ac;
$custom-light: #89e5c4;
$custom-dark: #000000;
JSON
{
  "hex": "#40d8ac",
  "rgb": {
    "r": 64,
    "g": 216,
    "b": 172
  },
  "hsl": {
    "h": 162.632,
    "s": 66.087,
    "l": 54.902
  },
  "oklch": {
    "l": 0.79253,
    "c": 0.14117,
    "h": 169.2
  },
  "luminance": 0.5318
}

Semantic roles & 50–950 ramp

primary
#40D8AC
secondary
#8A334C
accent
#3F70E9
background
#FCFEFD
surface
#F4FCF9
border
#CED5D2
text
#0D1612
muted
#7F8482

Preview Lab

Preview with #40D8AC

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

Preview Lab → · Contrast checker → · Palette generator →

#40D8AC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva