#40D4C8#40D4C8

#40D4C8 is a light, vivid teal. Relative luminance 0.523; OKLCH L 79.1% C 0.123 H 187.0°. Best body text is #000000 at 11.47:1 contrast (WCAG AA passes).

Color values

HEX#40D4C8
RGBrgb(64, 212, 200)
HSLhsl(175, 63%, 54%)
HSVhsv(175, 70%, 83%)
CMYKcmyk(69.8%, 0%, 5.7%, 16.9%)
CIE-LABlab(77.49, -40.93, -5.33)
CIE-LCHlch(77.49, 41.27, 187.42°)
OKLaboklab(79.08% -0.122 -0.0151)
OKLCHoklch(79.08% 0.123 187)
XYZxyz(36.0783, 52.3429, 62.8341)
Luminance0.5235 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40D4C8 #D4404C
analogous
#40D47E #40D4C8 #4096D4
triadic
#40D4C8 #C840D4 #D4C840
tetradic
#40D4C8 #7E40D4 #D4404C #96D440
square
#40D4C8 #7E40D4 #D4404C #96D440
split-complementary
#40D4C8 #D44096 #D47E40
monochromatic
#1C7D75 #27AFA4 #40D4C8 #72DFD6 #A4EAE5

Accessibility & contrast

On white

1.83
#40D4C8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.47
#40D4C8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40D4C8
11.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40D4C8#FFFFFF#000000##000000
##40D4C81.001.8311.4711.47
#FFFFFF1.831.0021.0021.00
#00000011.4721.001.001.00
##00000011.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9C9C8
Deuteranopia (green-blind)
#B4B9C9
Tritanopia (blue-blind)
#00D9D0
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #40d4c8;
/* rgb */ color: rgb(64, 212, 200);
/* oklch */ color: oklch(79.1% 0.123 187.0);
Tailwind
colors: {
  custom: {
    50: '#8ae2d8',
    500: '#40d4c8',
    950: '#000000',
  },
}
SCSS
$custom: #40d4c8;
$custom-light: #8ae2d8;
$custom-dark: #000000;
JSON
{
  "hex": "#40d4c8",
  "rgb": {
    "r": 64,
    "g": 212,
    "b": 200
  },
  "hsl": {
    "h": 175.135,
    "s": 63.248,
    "l": 54.118
  },
  "oklch": {
    "l": 0.79084,
    "c": 0.12295,
    "h": 187
  },
  "luminance": 0.52347
}

Semantic roles & 50–950 ramp

primary
#40D4C8
secondary
#85333A
accent
#424FE6
background
#FCFEFE
surface
#F4FCFB
border
#CED5D4
text
#0D1514
muted
#7F8483

Preview Lab

Preview with #40D4C8

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

Preview Lab → · Contrast checker → · Palette generator →

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