#40AFA2#40AFA2

#40AFA2 is a light, moderate teal. Relative luminance 0.344; OKLCH L 68.8% C 0.101 H 184.3°. Best body text is #000000 at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#40AFA2
RGBrgb(64, 175, 162)
HSLhsl(173, 46%, 47%)
HSVhsv(173, 63%, 69%)
CMYKcmyk(63.4%, 0%, 7.4%, 31.4%)
CIE-LABlab(65.24, -34.32, -2.62)
CIE-LCHlch(65.24, 34.42, 184.36°)
OKLaboklab(68.78% -0.1012 -0.0076)
OKLCHoklch(68.78% 0.101 184.3)
XYZxyz(23.9629, 34.3560, 39.5439)
Luminance0.3436 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40AFA2 #AF404D
analogous
#40AF6B #40AFA2 #4085AF
triadic
#40AFA2 #A240AF #AFA240
tetradic
#40AFA2 #6B40AF #AF404D #85AF40
square
#40AFA2 #6B40AF #AF404D #85AF40
split-complementary
#40AFA2 #AF4085 #AF6B40
monochromatic
#1F554F #308279 #40AFA2 #65C7BB #92D7CF

Accessibility & contrast

On white

2.67
#40AFA2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.87
#40AFA2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40AFA2
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40AFA2#FFFFFF#000000##000000
##40AFA21.002.677.877.87
#FFFFFF2.671.0021.0021.00
#0000007.8721.001.001.00
##0000007.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A7A5A2
Deuteranopia (green-blind)
#9699A3
Tritanopia (blue-blind)
#00B3AB
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #40afa2;
/* rgb */ color: rgb(64, 175, 162);
/* oklch */ color: oklch(68.8% 0.101 184.3);
Tailwind
colors: {
  custom: {
    50: '#82c7bd',
    500: '#40afa2',
    950: '#000000',
  },
}
SCSS
$custom: #40afa2;
$custom-light: #82c7bd;
$custom-dark: #000000;
JSON
{
  "hex": "#40afa2",
  "rgb": {
    "r": 64,
    "g": 175,
    "b": 162
  },
  "hsl": {
    "h": 172.973,
    "s": 46.444,
    "l": 46.863
  },
  "oklch": {
    "l": 0.68779,
    "c": 0.10148,
    "h": 184.3
  },
  "luminance": 0.34359
}

Semantic roles & 50–950 ramp

primary
#40AFA2
secondary
#C3888F
accent
#5261D6
background
#F8FCFB
surface
#F0F8F6
border
#CBD1D0
text
#0C1312
muted
#7D8281

Preview Lab

Preview with #40AFA2

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

Preview Lab → · Contrast checker → · Palette generator →

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