#40AF9D#40AF9D

#40AF9D is a light, moderate teal. Relative luminance 0.342; OKLCH L 68.6% C 0.103 H 180.4°. Best body text is #000000 at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#40AF9D
RGBrgb(64, 175, 157)
HSLhsl(170, 46%, 47%)
HSVhsv(170, 63%, 69%)
CMYKcmyk(63.4%, 0%, 10.3%, 31.4%)
CIE-LABlab(65.11, -35.66, -0.04)
CIE-LCHlch(65.11, 35.66, 180.06°)
OKLaboklab(68.62% -0.1035 -0.0007)
OKLCHoklch(68.62% 0.103 180.4)
XYZxyz(23.5273, 34.1817, 37.2496)
Luminance0.3418 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40AF9D #AF4052
analogous
#40AF65 #40AF9D #408AAF
triadic
#40AF9D #9D40AF #AF9D40
tetradic
#40AF9D #6540AF #AF4052 #8AAF40
square
#40AF9D #6540AF #AF4052 #8AAF40
split-complementary
#40AF9D #AF408A #AF6540
monochromatic
#1F554D #308275 #40AF9D #65C7B7 #92D7CC

Accessibility & contrast

On white

2.68
#40AF9D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.84
#40AF9D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40AF9D
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40AF9D#FFFFFF#000000##000000
##40AF9D1.002.687.847.84
#FFFFFF2.681.0021.0021.00
#0000007.8421.001.001.00
##0000007.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A8A59C
Deuteranopia (green-blind)
#97999F
Tritanopia (blue-blind)
#00B2A9
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #40af9d;
/* rgb */ color: rgb(64, 175, 157);
/* oklch */ color: oklch(68.6% 0.103 180.4);
Tailwind
colors: {
  custom: {
    50: '#82c7b9',
    500: '#40af9d',
    950: '#000000',
  },
}
SCSS
$custom: #40af9d;
$custom-light: #82c7b9;
$custom-dark: #000000;
JSON
{
  "hex": "#40af9d",
  "rgb": {
    "r": 64,
    "g": 175,
    "b": 157
  },
  "hsl": {
    "h": 170.27,
    "s": 46.444,
    "l": 46.863
  },
  "oklch": {
    "l": 0.68622,
    "c": 0.10349,
    "h": 180.4
  },
  "luminance": 0.34184
}

Semantic roles & 50–950 ramp

primary
#40AF9D
secondary
#C38892
accent
#5267D6
background
#F8FCFB
surface
#F0F8F6
border
#CBD1D0
text
#0B1311
muted
#7C8280

Preview Lab

Preview with #40AF9D

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

Preview Lab → · Contrast checker → · Palette generator →

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