#40B8A7#40B8A7

#40B8A7 is a light, moderate teal. Relative luminance 0.382; OKLCH L 71.2% C 0.108 H 181.9°. Best body text is #000000 at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#40B8A7
RGBrgb(64, 184, 167)
HSLhsl(172, 48%, 49%)
HSVhsv(172, 65%, 72%)
CMYKcmyk(65.2%, 0%, 9.2%, 27.8%)
CIE-LABlab(68.14, -37.14, -1.14)
CIE-LCHlch(68.14, 37.16, 181.76°)
OKLaboklab(71.18% -0.1084 -0.0037)
OKLCHoklch(71.18% 0.108 181.9)
XYZxyz(26.2266, 38.1581, 42.5348)
Luminance0.3816 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B8A7 #B84051
analogous
#40B86B #40B8A7 #408DB8
triadic
#40B8A7 #A740B8 #B8A740
tetradic
#40B8A7 #6B40B8 #B84051 #8DB840
square
#40B8A7 #6B40B8 #B84051 #8DB840
split-complementary
#40B8A7 #B8408D #B86B40
monochromatic
#205D55 #308B7E #40B8A7 #6ACBBD #97DBD1

Accessibility & contrast

On white

2.43
#40B8A7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.63
#40B8A7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B8A7
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B8A7#FFFFFF#000000##000000
##40B8A71.002.438.638.63
#FFFFFF2.431.0021.0021.00
#0000008.6321.001.001.00
##0000008.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B0AEA6
Deuteranopia (green-blind)
#9EA1A9
Tritanopia (blue-blind)
#00BBB3
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #40b8a7;
/* rgb */ color: rgb(64, 184, 167);
/* oklch */ color: oklch(71.2% 0.108 181.9);
Tailwind
colors: {
  custom: {
    50: '#84cec1',
    500: '#40b8a7',
    950: '#000000',
  },
}
SCSS
$custom: #40b8a7;
$custom-light: #84cec1;
$custom-dark: #000000;
JSON
{
  "hex": "#40b8a7",
  "rgb": {
    "r": 64,
    "g": 184,
    "b": 167
  },
  "hsl": {
    "h": 171.5,
    "s": 48.387,
    "l": 48.627
  },
  "oklch": {
    "l": 0.71177,
    "c": 0.10847,
    "h": 181.9
  },
  "luminance": 0.38161
}

Semantic roles & 50–950 ramp

primary
#40B8A7
secondary
#C78D95
accent
#5063D8
background
#F8FCFB
surface
#F0F9F7
border
#CBD2D0
text
#0C1312
muted
#7D8281

Preview Lab

Preview with #40B8A7

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

Preview Lab → · Contrast checker → · Palette generator →

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