#40D8AB#40D8AB

#40D8AB is a light, vivid teal. Relative luminance 0.531; OKLCH L 79.2% C 0.142 H 168.7°. Best body text is #000000 at 11.63:1 contrast (WCAG AA passes).

Color values

HEX#40D8AB
RGBrgb(64, 216, 171)
HSLhsl(162, 66%, 55%)
HSVhsv(162, 70%, 85%)
CMYKcmyk(70.4%, 0%, 20.8%, 15.3%)
CIE-LABlab(77.96, -49.99, 10.86)
CIE-LCHlch(77.96, 51.16, 167.74°)
OKLaboklab(79.23% -0.1391 0.0278)
OKLCHoklch(79.23% 0.142 168.7)
XYZxyz(34.0170, 53.1381, 46.9841)
Luminance0.5314 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40D8AB #D8406D
analogous
#40D85F #40D8AB #40B9D8
triadic
#40D8AB #AB40D8 #D8AB40
tetradic
#40D8AB #5F40D8 #D8406D #B9D840
square
#40D8AB #5F40D8 #D8406D #B9D840
split-complementary
#40D8AB #D840B9 #D85F40
monochromatic
#1B8364 #25B68B #40D8AB #73E2C1 #A6EDD8

Accessibility & contrast

On white

1.81
#40D8AB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.63
#40D8AB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40D8AB
11.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40D8AB#FFFFFF#000000##000000
##40D8AB1.001.8111.6311.63
#FFFFFF1.811.0021.0021.00
#00000011.6321.001.001.00
##00000011.6321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #40d8ab;
/* rgb */ color: rgb(64, 216, 171);
/* oklch */ color: oklch(79.2% 0.142 168.7);
Tailwind
colors: {
  custom: {
    50: '#89e5c4',
    500: '#40d8ab',
    950: '#000000',
  },
}
SCSS
$custom: #40d8ab;
$custom-light: #89e5c4;
$custom-dark: #000000;
JSON
{
  "hex": "#40d8ab",
  "rgb": {
    "r": 64,
    "g": 216,
    "b": 171
  },
  "hsl": {
    "h": 162.237,
    "s": 66.087,
    "l": 54.902
  },
  "oklch": {
    "l": 0.79227,
    "c": 0.14187,
    "h": 168.7
  },
  "luminance": 0.53142
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #40D8AB

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

Preview Lab → · Contrast checker → · Palette generator →

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