#40AFA5#40AFA5

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

Color values

HEX#40AFA5
RGBrgb(64, 175, 165)
HSLhsl(175, 46%, 47%)
HSVhsv(175, 63%, 69%)
CMYKcmyk(63.4%, 0%, 5.7%, 31.4%)
CIE-LABlab(65.33, -33.51, -4.16)
CIE-LCHlch(65.33, 33.77, 187.08°)
OKLaboklab(68.88% -0.0998 -0.0118)
OKLCHoklch(68.88% 0.101 186.7)
XYZxyz(24.2328, 34.4639, 40.9651)
Luminance0.3447 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40AFA5 #AF404A
analogous
#40AF6E #40AFA5 #4082AF
triadic
#40AFA5 #A540AF #AFA540
tetradic
#40AFA5 #6E40AF #AF404A #82AF40
square
#40AFA5 #6E40AF #AF404A #82AF40
split-complementary
#40AFA5 #AF4082 #AF6E40
monochromatic
#1F5550 #30827B #40AFA5 #65C7BE #92D7D1

Accessibility & contrast

On white

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

On black

7.89
#40AFA5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40AFA5
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40AFA5#FFFFFF#000000##000000
##40AFA51.002.667.897.89
#FFFFFF2.661.0021.0021.00
#0000007.8921.001.001.00
##0000007.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A6A6A5
Deuteranopia (green-blind)
#9599A6
Tritanopia (blue-blind)
#00B3AC
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #40afa5;
/* rgb */ color: rgb(64, 175, 165);
/* oklch */ color: oklch(68.9% 0.101 186.7);
Tailwind
colors: {
  custom: {
    50: '#82c7bf',
    500: '#40afa5',
    950: '#000000',
  },
}
SCSS
$custom: #40afa5;
$custom-light: #82c7bf;
$custom-dark: #000000;
JSON
{
  "hex": "#40afa5",
  "rgb": {
    "r": 64,
    "g": 175,
    "b": 165
  },
  "hsl": {
    "h": 174.595,
    "s": 46.444,
    "l": 46.863
  },
  "oklch": {
    "l": 0.68877,
    "c": 0.10052,
    "h": 186.7
  },
  "luminance": 0.34467
}

Semantic roles & 50–950 ramp

primary
#40AFA5
secondary
#C3888E
accent
#525ED6
background
#F8FCFB
surface
#F0F8F7
border
#CBD1D0
text
#0C1312
muted
#7D8281

Preview Lab

Preview with #40AFA5

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

Preview Lab → · Contrast checker → · Palette generator →

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