#40AFA7#40AFA7

#40AFA7 is a light, moderate teal. Relative luminance 0.345; OKLCH L 68.9% C 0.100 H 188.4°. Best body text is #000000 at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#40AFA7
RGBrgb(64, 175, 167)
HSLhsl(176, 46%, 47%)
HSVhsv(176, 63%, 69%)
CMYKcmyk(63.4%, 0%, 4.6%, 31.4%)
CIE-LABlab(65.39, -32.96, -5.19)
CIE-LCHlch(65.39, 33.37, 188.94°)
OKLaboklab(68.94% -0.0989 -0.0146)
OKLCHoklch(68.94% 0.1 188.4)
XYZxyz(24.4162, 34.5373, 41.9313)
Luminance0.3454 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40AFA7 #AF4048
analogous
#40AF70 #40AFA7 #4080AF
triadic
#40AFA7 #A740AF #AFA740
tetradic
#40AFA7 #7040AF #AF4048 #80AF40
square
#40AFA7 #7040AF #AF4048 #80AF40
split-complementary
#40AFA7 #AF4080 #AF7040
monochromatic
#1F5551 #30827C #40AFA7 #65C7C0 #92D7D2

Accessibility & contrast

On white

2.66
#40AFA7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.91
#40AFA7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40AFA7
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40AFA7#FFFFFF#000000##000000
##40AFA71.002.667.917.91
#FFFFFF2.661.0021.0021.00
#0000007.9121.001.001.00
##0000007.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A6A6A7
Deuteranopia (green-blind)
#959AA8
Tritanopia (blue-blind)
#00B3AC
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #40afa7;
/* rgb */ color: rgb(64, 175, 167);
/* oklch */ color: oklch(68.9% 0.100 188.4);
Tailwind
colors: {
  custom: {
    50: '#82c7c1',
    500: '#40afa7',
    950: '#000000',
  },
}
SCSS
$custom: #40afa7;
$custom-light: #82c7c1;
$custom-dark: #000000;
JSON
{
  "hex": "#40afa7",
  "rgb": {
    "r": 64,
    "g": 175,
    "b": 167
  },
  "hsl": {
    "h": 175.676,
    "s": 46.444,
    "l": 46.863
  },
  "oklch": {
    "l": 0.68943,
    "c": 0.09999,
    "h": 188.4
  },
  "luminance": 0.3454
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #40AFA7

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

Preview Lab → · Contrast checker → · Palette generator →

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