#40AFA8#40AFA8

#40AFA8 is a light, moderate teal. Relative luminance 0.346; OKLCH L 69.0% C 0.100 H 189.2°. Best body text is #000000 at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#40AFA8
RGBrgb(64, 175, 168)
HSLhsl(176, 46%, 47%)
HSVhsv(176, 63%, 69%)
CMYKcmyk(63.4%, 0%, 4%, 31.4%)
CIE-LABlab(65.42, -32.68, -5.70)
CIE-LCHlch(65.42, 33.18, 189.89°)
OKLaboklab(68.98% -0.0985 -0.016)
OKLCHoklch(68.98% 0.1 189.2)
XYZxyz(24.5090, 34.5744, 42.4201)
Luminance0.3458 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40AFA8 #AF4047
analogous
#40AF71 #40AFA8 #407FAF
triadic
#40AFA8 #A840AF #AFA840
tetradic
#40AFA8 #7140AF #AF4047 #7FAF40
square
#40AFA8 #7140AF #AF4047 #7FAF40
split-complementary
#40AFA8 #AF407F #AF7140
monochromatic
#1F5552 #30827D #40AFA8 #65C7C1 #92D7D3

Accessibility & contrast

On white

2.65
#40AFA8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.92
#40AFA8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40AFA8
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40AFA8#FFFFFF#000000##000000
##40AFA81.002.657.927.92
#FFFFFF2.651.0021.0021.00
#0000007.9221.001.001.00
##0000007.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A6A6A8
Deuteranopia (green-blind)
#959AA9
Tritanopia (blue-blind)
#00B3AD
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #40afa8;
/* rgb */ color: rgb(64, 175, 168);
/* oklch */ color: oklch(69.0% 0.100 189.2);
Tailwind
colors: {
  custom: {
    50: '#82c7c1',
    500: '#40afa8',
    950: '#000000',
  },
}
SCSS
$custom: #40afa8;
$custom-light: #82c7c1;
$custom-dark: #000000;
JSON
{
  "hex": "#40afa8",
  "rgb": {
    "r": 64,
    "g": 175,
    "b": 168
  },
  "hsl": {
    "h": 176.216,
    "s": 46.444,
    "l": 46.863
  },
  "oklch": {
    "l": 0.68976,
    "c": 0.09976,
    "h": 189.2
  },
  "luminance": 0.34577
}

Semantic roles & 50–950 ramp

primary
#40AFA8
secondary
#C3888C
accent
#525AD6
background
#F8FCFB
surface
#F0F8F7
border
#CBD1D0
text
#0C1312
muted
#7D8281

Preview Lab

Preview with #40AFA8

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

Preview Lab → · Contrast checker → · Palette generator →

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