#40A7AB#40A7AB

#40A7AB is a light, moderate teal. Relative luminance 0.317; OKLCH L 67.1% C 0.094 H 198.8°. Best body text is #000000 at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#40A7AB
RGBrgb(64, 167, 171)
HSLhsl(182, 46%, 46%)
HSVhsv(182, 63%, 67%)
CMYKcmyk(62.6%, 2.3%, 0%, 32.9%)
CIE-LABlab(63.07, -27.96, -10.87)
CIE-LCHlch(63.07, 30.00, 201.25°)
OKLaboklab(67.1% -0.0886 -0.0301)
OKLCHoklch(67.1% 0.094 198.8)
XYZxyz(23.2806, 31.6652, 43.4053)
Luminance0.3167 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A7AB #AB4440
analogous
#40AB79 #40A7AB #4071AB
triadic
#40A7AB #AB40A7 #A7AB40
tetradic
#40A7AB #7940AB #AB4440 #71AB40
square
#40A7AB #7940AB #AB4440 #71AB40
split-complementary
#40A7AB #AB4071 #AB7940
monochromatic
#1F5052 #2F7C7E #40A7AB #63C1C5 #90D3D5

Accessibility & contrast

On white

2.86
#40A7AB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.33
#40A7AB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40A7AB
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A7AB#FFFFFF#000000##000000
##40A7AB1.002.867.337.33
#FFFFFF2.861.0021.0021.00
#0000007.3321.001.001.00
##0000007.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9CA0AB
Deuteranopia (green-blind)
#8B93AC
Tritanopia (blue-blind)
#00ADA8
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #40a7ab;
/* rgb */ color: rgb(64, 167, 171);
/* oklch */ color: oklch(67.1% 0.094 198.8);
Tailwind
colors: {
  custom: {
    50: '#82c1c4',
    500: '#40a7ab',
    950: '#000000',
  },
}
SCSS
$custom: #40a7ab;
$custom-light: #82c1c4;
$custom-dark: #000000;
JSON
{
  "hex": "#40a7ab",
  "rgb": {
    "r": 64,
    "g": 167,
    "b": 171
  },
  "hsl": {
    "h": 182.243,
    "s": 45.532,
    "l": 46.078
  },
  "oklch": {
    "l": 0.67103,
    "c": 0.09359,
    "h": 198.8
  },
  "luminance": 0.31668
}

Semantic roles & 50–950 ramp

primary
#40A7AB
secondary
#C18886
accent
#5753D5
background
#F8FBFC
surface
#F0F7F8
border
#CBD0D1
text
#0C1212
muted
#7D8181

Preview Lab

Preview with #40A7AB

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

Preview Lab → · Contrast checker → · Palette generator →

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