#40B7A2#40B7A2

#40B7A2 is a light, moderate teal. Relative luminance 0.376; OKLCH L 70.8% C 0.110 H 179.0°. Best body text is #000000 at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#40B7A2
RGBrgb(64, 183, 162)
HSLhsl(169, 48%, 48%)
HSVhsv(169, 65%, 72%)
CMYKcmyk(65%, 0%, 11.5%, 28.2%)
CIE-LABlab(67.70, -38.00, 0.97)
CIE-LCHlch(67.70, 38.02, 178.53°)
OKLaboklab(70.78% -0.1097 0.002)
OKLCHoklch(70.78% 0.11 179)
XYZxyz(25.5663, 37.5628, 40.0784)
Luminance0.3757 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B7A2 #B74055
analogous
#40B766 #40B7A2 #4090B7
triadic
#40B7A2 #A240B7 #B7A240
tetradic
#40B7A2 #6640B7 #B74055 #90B740
square
#40B7A2 #6640B7 #B74055 #90B740
split-complementary
#40B7A2 #B74090 #B76640
monochromatic
#205C52 #308A7A #40B7A2 #69CBBA #97DBCF

Accessibility & contrast

On white

2.47
#40B7A2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.51
#40B7A2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B7A2
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B7A2#FFFFFF#000000##000000
##40B7A21.002.478.518.51
#FFFFFF2.471.0021.0021.00
#0000008.5121.001.001.00
##0000008.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B0ACA1
Deuteranopia (green-blind)
#9EA0A4
Tritanopia (blue-blind)
#00BAB1
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #40b7a2;
/* rgb */ color: rgb(64, 183, 162);
/* oklch */ color: oklch(70.8% 0.110 179.0);
Tailwind
colors: {
  custom: {
    50: '#83cdbd',
    500: '#40b7a2',
    950: '#000000',
  },
}
SCSS
$custom: #40b7a2;
$custom-light: #83cdbd;
$custom-dark: #000000;
JSON
{
  "hex": "#40b7a2",
  "rgb": {
    "r": 64,
    "g": 183,
    "b": 162
  },
  "hsl": {
    "h": 169.412,
    "s": 48.178,
    "l": 48.431
  },
  "oklch": {
    "l": 0.70775,
    "c": 0.10968,
    "h": 179
  },
  "luminance": 0.37566
}

Semantic roles & 50–950 ramp

primary
#40B7A2
secondary
#C68D97
accent
#5068D8
background
#F8FCFB
surface
#F0F9F6
border
#CBD2D0
text
#0C1312
muted
#7D8281

Preview Lab

Preview with #40B7A2

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

Preview Lab → · Contrast checker → · Palette generator →

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