#40C7B2#40C7B2

#40C7B2 is a light, moderate teal. Relative luminance 0.452; OKLCH L 75.2% C 0.119 H 180.4°. Best body text is #000000 at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#40C7B2
RGBrgb(64, 199, 178)
HSLhsl(171, 55%, 52%)
HSVhsv(171, 68%, 78%)
CMYKcmyk(67.8%, 0%, 10.6%, 22%)
CIE-LABlab(72.99, -41.00, -0.06)
CIE-LCHlch(72.99, 41.00, 180.08°)
OKLaboklab(75.22% -0.1189 -0.0008)
OKLCHoklch(75.22% 0.119 180.4)
XYZxyz(30.5698, 45.1477, 49.2141)
Luminance0.4515 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C7B2 #C74055
analogous
#40C76F #40C7B2 #4099C7
triadic
#40C7B2 #B240C7 #C7B240
tetradic
#40C7B2 #6F40C7 #C74055 #99C740
square
#40C7B2 #6F40C7 #C74055 #99C740
split-complementary
#40C7B2 #C74099 #C76F40
monochromatic
#206D61 #2E9C8B #40C7B2 #6FD5C5 #9FE3D8

Accessibility & contrast

On white

2.09
#40C7B2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.03
#40C7B2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C7B2
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C7B2#FFFFFF#000000##000000
##40C7B21.002.0910.0310.03
#FFFFFF2.091.0021.0021.00
#00000010.0321.001.001.00
##00000010.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEBBB1
Deuteranopia (green-blind)
#ABADB4
Tritanopia (blue-blind)
#00CAC1
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #40c7b2;
/* rgb */ color: rgb(64, 199, 178);
/* oklch */ color: oklch(75.2% 0.119 180.4);
Tailwind
colors: {
  custom: {
    50: '#86d8c9',
    500: '#40c7b2',
    950: '#000000',
  },
}
SCSS
$custom: #40c7b2;
$custom-light: #86d8c9;
$custom-dark: #000000;
JSON
{
  "hex": "#40c7b2",
  "rgb": {
    "r": 64,
    "g": 199,
    "b": 178
  },
  "hsl": {
    "h": 170.667,
    "s": 54.656,
    "l": 51.569
  },
  "oklch": {
    "l": 0.75225,
    "c": 0.11886,
    "h": 180.4
  },
  "luminance": 0.45151
}

Semantic roles & 50–950 ramp

primary
#40C7B2
secondary
#CF949D
accent
#4A61DE
background
#F8FDFC
surface
#F0FAF8
border
#CBD3D1
text
#0D1413
muted
#7D8382

Preview Lab

Preview with #40C7B2

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

Preview Lab → · Contrast checker → · Palette generator →

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