#40B7B2#40B7B2

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

Color values

HEX#40B7B2
RGBrgb(64, 183, 178)
HSLhsl(177, 48%, 48%)
HSVhsv(177, 65%, 72%)
CMYKcmyk(65%, 0%, 2.7%, 28.2%)
CIE-LABlab(68.14, -33.68, -7.19)
CIE-LCHlch(68.14, 34.44, 192.05°)
OKLaboklab(71.29% -0.1024 -0.0201)
OKLCHoklch(71.29% 0.104 191.1)
XYZxyz(27.0801, 38.1683, 48.0509)
Luminance0.3817 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B7B2 #B74045
analogous
#40B776 #40B7B2 #4080B7
triadic
#40B7B2 #B240B7 #B7B240
tetradic
#40B7B2 #7640B7 #B74045 #80B740
square
#40B7B2 #7640B7 #B74045 #80B740
split-complementary
#40B7B2 #B74080 #B77640
monochromatic
#205C5A #308A86 #40B7B2 #69CBC7 #97DBD8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40B7B2#FFFFFF#000000##000000
##40B7B21.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)
#ACAEB2
Deuteranopia (green-blind)
#9AA0B3
Tritanopia (blue-blind)
#00BCB5
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #40b7b2;
/* rgb */ color: rgb(64, 183, 178);
/* oklch */ color: oklch(71.3% 0.104 191.1);
Tailwind
colors: {
  custom: {
    50: '#84cdc9',
    500: '#40b7b2',
    950: '#000000',
  },
}
SCSS
$custom: #40b7b2;
$custom-light: #84cdc9;
$custom-dark: #000000;
JSON
{
  "hex": "#40b7b2",
  "rgb": {
    "r": 64,
    "g": 183,
    "b": 178
  },
  "hsl": {
    "h": 177.479,
    "s": 48.178,
    "l": 48.431
  },
  "oklch": {
    "l": 0.71287,
    "c": 0.10436,
    "h": 191.1
  },
  "luminance": 0.38171
}

Semantic roles & 50–950 ramp

primary
#40B7B2
secondary
#C68D8F
accent
#5056D8
background
#F8FCFC
surface
#F0F9F8
border
#CBD2D1
text
#0C1313
muted
#7D8282

Preview Lab

Preview with #40B7B2

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

Preview Lab → · Contrast checker → · Palette generator →

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