#40C7AB#40C7AB

#40C7AB is a light, vivid teal. Relative luminance 0.449; OKLCH L 75.0% C 0.122 H 176.0°. Best body text is #000000 at 9.98:1 contrast (WCAG AA passes).

Color values

HEX#40C7AB
RGBrgb(64, 199, 171)
HSLhsl(168, 55%, 52%)
HSVhsv(168, 68%, 78%)
CMYKcmyk(67.8%, 0%, 14.1%, 22%)
CIE-LABlab(72.81, -42.80, 3.48)
CIE-LCHlch(72.81, 42.94, 175.36°)
OKLaboklab(75.02% -0.1221 0.0086)
OKLCHoklch(75.02% 0.122 176)
XYZxyz(29.8848, 44.8737, 45.6067)
Luminance0.4488 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C7AB #C7405C
analogous
#40C768 #40C7AB #409FC7
triadic
#40C7AB #AB40C7 #C7AB40
tetradic
#40C7AB #6840C7 #C7405C #9FC740
square
#40C7AB #6840C7 #C7405C #9FC740
split-complementary
#40C7AB #C7409F #C76840
monochromatic
#206D5D #2E9C85 #40C7AB #6FD5C0 #9FE3D5

Accessibility & contrast

On white

2.11
#40C7AB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.98
#40C7AB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C7AB
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C7AB#FFFFFF#000000##000000
##40C7AB1.002.119.989.98
#FFFFFF2.111.0021.0021.00
#0000009.9821.001.001.00
##0000009.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0BBAA
Deuteranopia (green-blind)
#ADADAD
Tritanopia (blue-blind)
#00CABF
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #40c7ab;
/* rgb */ color: rgb(64, 199, 171);
/* oklch */ color: oklch(75.0% 0.122 176.0);
Tailwind
colors: {
  custom: {
    50: '#86d9c4',
    500: '#40c7ab',
    950: '#000000',
  },
}
SCSS
$custom: #40c7ab;
$custom-light: #86d9c4;
$custom-dark: #000000;
JSON
{
  "hex": "#40c7ab",
  "rgb": {
    "r": 64,
    "g": 199,
    "b": 171
  },
  "hsl": {
    "h": 167.556,
    "s": 54.656,
    "l": 51.569
  },
  "oklch": {
    "l": 0.75019,
    "c": 0.12236,
    "h": 176
  },
  "luminance": 0.44877
}

Semantic roles & 50–950 ramp

primary
#40C7AB
secondary
#CF94A0
accent
#4A69DE
background
#F8FDFC
surface
#F0FAF8
border
#CBD3D1
text
#0C1512
muted
#7D8381

Preview Lab

Preview with #40C7AB

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

Preview Lab → · Contrast checker → · Palette generator →

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