#40B8AB#40B8AB

#40B8AB is a light, moderate teal. Relative luminance 0.383; OKLCH L 71.3% C 0.107 H 184.9°. Best body text is #000000 at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#40B8AB
RGBrgb(64, 184, 171)
HSLhsl(174, 48%, 49%)
HSVhsv(174, 65%, 72%)
CMYKcmyk(65.2%, 0%, 7.1%, 27.8%)
CIE-LABlab(68.25, -36.07, -3.18)
CIE-LCHlch(68.25, 36.21, 185.04°)
OKLaboklab(71.3% -0.1066 -0.0092)
OKLCHoklch(71.3% 0.107 184.9)
XYZxyz(26.6021, 38.3083, 44.5124)
Luminance0.3831 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B8AB #B8404D
analogous
#40B86F #40B8AB #4089B8
triadic
#40B8AB #AB40B8 #B8AB40
tetradic
#40B8AB #6F40B8 #B8404D #89B840
square
#40B8AB #6F40B8 #B8404D #89B840
split-complementary
#40B8AB #B84089 #B86F40
monochromatic
#205D57 #308B81 #40B8AB #6ACBC1 #97DBD4

Accessibility & contrast

On white

2.42
#40B8AB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.66
#40B8AB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B8AB
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B8AB#FFFFFF#000000##000000
##40B8AB1.002.428.668.66
#FFFFFF2.421.0021.0021.00
#0000008.6621.001.001.00
##0000008.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AFAEAB
Deuteranopia (green-blind)
#9DA1AC
Tritanopia (blue-blind)
#00BCB4
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #40b8ab;
/* rgb */ color: rgb(64, 184, 171);
/* oklch */ color: oklch(71.3% 0.107 184.9);
Tailwind
colors: {
  custom: {
    50: '#84cec3',
    500: '#40b8ab',
    950: '#000000',
  },
}
SCSS
$custom: #40b8ab;
$custom-light: #84cec3;
$custom-dark: #000000;
JSON
{
  "hex": "#40b8ab",
  "rgb": {
    "r": 64,
    "g": 184,
    "b": 171
  },
  "hsl": {
    "h": 173.5,
    "s": 48.387,
    "l": 48.627
  },
  "oklch": {
    "l": 0.71303,
    "c": 0.10698,
    "h": 184.9
  },
  "luminance": 0.38311
}

Semantic roles & 50–950 ramp

primary
#40B8AB
secondary
#C78D93
accent
#505FD8
background
#F8FCFC
surface
#F0F9F8
border
#CBD2D1
text
#0C1312
muted
#7D8281

Preview Lab

Preview with #40B8AB

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

Preview Lab → · Contrast checker → · Palette generator →

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