#40D5B8#40D5B8

#40D5B8 is a light, vivid teal. Relative luminance 0.521; OKLCH L 78.8% C 0.130 H 176.7°. Best body text is #000000 at 11.43:1 contrast (WCAG AA passes).

Color values

HEX#40D5B8
RGBrgb(64, 213, 184)
HSLhsl(168, 64%, 54%)
HSVhsv(168, 70%, 84%)
CMYKcmyk(70%, 0%, 13.6%, 16.5%)
CIE-LABlab(77.36, -45.56, 3.07)
CIE-LCHlch(77.36, 45.66, 176.15°)
OKLaboklab(78.84% -0.1302 0.0074)
OKLCHoklch(78.84% 0.13 176.7)
XYZxyz(34.5560, 52.1352, 53.5800)
Luminance0.5214 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40D5B8 #D5405D
analogous
#40D56E #40D5B8 #40A8D5
triadic
#40D5B8 #B840D5 #D5B840
tetradic
#40D5B8 #6E40D5 #D5405D #A8D540
square
#40D5B8 #6E40D5 #D5405D #A8D540
split-complementary
#40D5B8 #D540A8 #D56E40
monochromatic
#1C7F6B #27B196 #40D5B8 #72E0CB #A4EBDD

Accessibility & contrast

On white

1.84
#40D5B8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.43
#40D5B8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40D5B8
11.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40D5B8#FFFFFF#000000##000000
##40D5B81.001.8411.4311.43
#FFFFFF1.841.0021.0021.00
#00000011.4321.001.001.00
##00000011.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDC8B7
Deuteranopia (green-blind)
#B8B9BA
Tritanopia (blue-blind)
#00D8CC
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #40d5b8;
/* rgb */ color: rgb(64, 213, 184);
/* oklch */ color: oklch(78.8% 0.130 176.7);
Tailwind
colors: {
  custom: {
    50: '#89e3cd',
    500: '#40d5b8',
    950: '#000000',
  },
}
SCSS
$custom: #40d5b8;
$custom-light: #89e3cd;
$custom-dark: #000000;
JSON
{
  "hex": "#40d5b8",
  "rgb": {
    "r": 64,
    "g": 213,
    "b": 184
  },
  "hsl": {
    "h": 168.322,
    "s": 63.948,
    "l": 54.314
  },
  "oklch": {
    "l": 0.78843,
    "c": 0.1304,
    "h": 176.7
  },
  "luminance": 0.52139
}

Semantic roles & 50–950 ramp

primary
#40D5B8
secondary
#863343
accent
#4161E7
background
#FCFEFE
surface
#F4FCFA
border
#CED5D3
text
#0D1513
muted
#7F8483

Preview Lab

Preview with #40D5B8

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

Preview Lab → · Contrast checker → · Palette generator →

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