#40D4B2#40D4B2

#40D4B2 is a light, vivid teal. Relative luminance 0.514; OKLCH L 78.4% C 0.133 H 173.9°. Best body text is #000000 at 11.28:1 contrast (WCAG AA passes).

Color values

HEX#40D4B2
RGBrgb(64, 212, 178)
HSLhsl(166, 63%, 54%)
HSVhsv(166, 70%, 83%)
CMYKcmyk(69.8%, 0%, 16%, 16.9%)
CIE-LABlab(76.91, -46.63, 5.63)
CIE-LCHlch(76.91, 46.97, 173.11°)
OKLaboklab(78.43% -0.1319 0.0142)
OKLCHoklch(78.43% 0.133 173.9)
XYZxyz(33.6897, 51.3874, 50.2541)
Luminance0.5139 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40D4B2 #D44062
analogous
#40D468 #40D4B2 #40ACD4
triadic
#40D4B2 #B240D4 #D4B240
tetradic
#40D4B2 #6840D4 #D44062 #ACD440
square
#40D4B2 #6840D4 #D44062 #ACD440
split-complementary
#40D4B2 #D440AC #D46840
monochromatic
#1C7D67 #27AF90 #40D4B2 #72DFC6 #A4EADA

Accessibility & contrast

On white

1.86
#40D4B2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.28
#40D4B2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40D4B2
11.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40D4B2#FFFFFF#000000##000000
##40D4B21.001.8611.2811.28
#FFFFFF1.861.0021.0021.00
#00000011.2821.001.001.00
##00000011.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDC6B0
Deuteranopia (green-blind)
#B9B8B4
Tritanopia (blue-blind)
#00D6CA
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #40d4b2;
/* rgb */ color: rgb(64, 212, 178);
/* oklch */ color: oklch(78.4% 0.133 173.9);
Tailwind
colors: {
  custom: {
    50: '#88e2c9',
    500: '#40d4b2',
    950: '#000000',
  },
}
SCSS
$custom: #40d4b2;
$custom-light: #88e2c9;
$custom-dark: #000000;
JSON
{
  "hex": "#40d4b2",
  "rgb": {
    "r": 64,
    "g": 212,
    "b": 178
  },
  "hsl": {
    "h": 166.216,
    "s": 63.248,
    "l": 54.118
  },
  "oklch": {
    "l": 0.78428,
    "c": 0.1327,
    "h": 173.9
  },
  "luminance": 0.51391
}

Semantic roles & 50–950 ramp

primary
#40D4B2
secondary
#853346
accent
#4267E6
background
#FCFEFD
surface
#F4FCF9
border
#CED5D2
text
#0D1513
muted
#7F8482

Preview Lab

Preview with #40D4B2

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

Preview Lab → · Contrast checker → · Palette generator →

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