#40C7A2#40C7A2

#40C7A2 is a light, vivid teal. Relative luminance 0.445; OKLCH L 74.8% C 0.128 H 170.8°. Best body text is #000000 at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#40C7A2
RGBrgb(64, 199, 162)
HSLhsl(164, 55%, 52%)
HSVhsv(164, 68%, 78%)
CMYKcmyk(67.8%, 0%, 18.6%, 22%)
CIE-LABlab(72.59, -45.03, 8.03)
CIE-LCHlch(72.59, 45.74, 169.88°)
OKLaboklab(74.77% -0.1262 0.0205)
OKLCHoklch(74.77% 0.128 170.8)
XYZxyz(29.0560, 44.5422, 41.2416)
Luminance0.4455 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C7A2 #C74065
analogous
#40C75F #40C7A2 #40A8C7
triadic
#40C7A2 #A240C7 #C7A240
tetradic
#40C7A2 #5F40C7 #C74065 #A8C740
square
#40C7A2 #5F40C7 #C74065 #A8C740
split-complementary
#40C7A2 #C740A8 #C75F40
monochromatic
#206D58 #2E9C7E #40C7A2 #6FD5B9 #9FE3D0

Accessibility & contrast

On white

2.12
#40C7A2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.91
#40C7A2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C7A2
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C7A2#FFFFFF#000000##000000
##40C7A21.002.129.919.91
#FFFFFF2.121.0021.0021.00
#0000009.9121.001.001.00
##0000009.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1BAA0
Deuteranopia (green-blind)
#AFADA5
Tritanopia (blue-blind)
#00C9BC
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #40c7a2;
/* rgb */ color: rgb(64, 199, 162);
/* oklch */ color: oklch(74.8% 0.128 170.8);
Tailwind
colors: {
  custom: {
    50: '#85d9bd',
    500: '#40c7a2',
    950: '#000000',
  },
}
SCSS
$custom: #40c7a2;
$custom-light: #85d9bd;
$custom-dark: #000000;
JSON
{
  "hex": "#40c7a2",
  "rgb": {
    "r": 64,
    "g": 199,
    "b": 162
  },
  "hsl": {
    "h": 163.556,
    "s": 54.656,
    "l": 51.569
  },
  "oklch": {
    "l": 0.74767,
    "c": 0.12788,
    "h": 170.8
  },
  "luminance": 0.44545
}

Semantic roles & 50–950 ramp

primary
#40C7A2
secondary
#CF94A4
accent
#4A72DE
background
#F8FDFB
surface
#F0FAF6
border
#CBD3D0
text
#0C1512
muted
#7D8381

Preview Lab

Preview with #40C7A2

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

Preview Lab → · Contrast checker → · Palette generator →

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