#40D8C2#40D8C2

#40D8C2 is a light, vivid teal. Relative luminance 0.541; OKLCH L 79.9% C 0.129 H 181.0°. Best body text is #000000 at 11.82:1 contrast (WCAG AA passes).

Color values

HEX#40D8C2
RGBrgb(64, 216, 194)
HSLhsl(171, 66%, 55%)
HSVhsv(171, 70%, 85%)
CMYKcmyk(70.4%, 0%, 10.2%, 15.3%)
CIE-LABlab(78.52, -44.29, -0.60)
CIE-LCHlch(78.52, 44.29, 180.78°)
OKLaboklab(79.87% -0.1286 -0.0023)
OKLCHoklch(79.87% 0.129 181)
XYZxyz(36.4031, 54.0925, 59.5508)
Luminance0.5410 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40D8C2 #D84056
analogous
#40D876 #40D8C2 #40A2D8
triadic
#40D8C2 #C240D8 #D8C240
tetradic
#40D8C2 #7640D8 #D84056 #A2D840
square
#40D8C2 #7640D8 #D84056 #A2D840
split-complementary
#40D8C2 #D840A2 #D87640
monochromatic
#1B8374 #25B6A1 #40D8C2 #73E2D2 #A6EDE2

Accessibility & contrast

On white

1.78
#40D8C2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.82
#40D8C2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40D8C2
11.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40D8C2#FFFFFF#000000##000000
##40D8C21.001.7811.8211.82
#FFFFFF1.781.0021.0021.00
#00000011.8221.001.001.00
##00000011.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CECBC1
Deuteranopia (green-blind)
#B9BCC4
Tritanopia (blue-blind)
#00DCD1
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #40d8c2;
/* rgb */ color: rgb(64, 216, 194);
/* oklch */ color: oklch(79.9% 0.129 181.0);
Tailwind
colors: {
  custom: {
    50: '#8ae5d4',
    500: '#40d8c2',
    950: '#000000',
  },
}
SCSS
$custom: #40d8c2;
$custom-light: #8ae5d4;
$custom-dark: #000000;
JSON
{
  "hex": "#40d8c2",
  "rgb": {
    "r": 64,
    "g": 216,
    "b": 194
  },
  "hsl": {
    "h": 171.316,
    "s": 66.087,
    "l": 54.902
  },
  "oklch": {
    "l": 0.7987,
    "c": 0.12865,
    "h": 181
  },
  "luminance": 0.54097
}

Semantic roles & 50–950 ramp

primary
#40D8C2
secondary
#8A333F
accent
#3F57E9
background
#FCFEFE
surface
#F4FCFB
border
#CED5D4
text
#0D1614
muted
#7F8483

Preview Lab

Preview with #40D8C2

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

Preview Lab → · Contrast checker → · Palette generator →

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