#40AF8F#40AF8F

#40AF8F is a light, moderate teal. Relative luminance 0.337; OKLCH L 68.2% C 0.112 H 170.5°. Best body text is #000000 at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#40AF8F
RGBrgb(64, 175, 143)
HSLhsl(163, 46%, 47%)
HSVhsv(163, 63%, 69%)
CMYKcmyk(63.4%, 0%, 18.3%, 31.4%)
CIE-LABlab(64.75, -39.21, 7.21)
CIE-LCHlch(64.75, 39.87, 169.58°)
OKLaboklab(68.21% -0.11 0.0184)
OKLCHoklch(68.21% 0.112 170.5)
XYZxyz(22.3998, 33.7307, 31.3115)
Luminance0.3373 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40AF8F #AF4060
analogous
#40AF58 #40AF8F #4098AF
triadic
#40AF8F #8F40AF #AF8F40
tetradic
#40AF8F #5840AF #AF4060 #98AF40
square
#40AF8F #5840AF #AF4060 #98AF40
split-complementary
#40AF8F #AF4098 #AF5840
monochromatic
#1F5546 #30826A #40AF8F #65C7AB #92D7C3

Accessibility & contrast

On white

2.71
#40AF8F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.75
#40AF8F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40AF8F
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40AF8F#FFFFFF#000000##000000
##40AF8F1.002.717.757.75
#FFFFFF2.711.0021.0021.00
#0000007.7521.001.001.00
##0000007.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AAA48D
Deuteranopia (green-blind)
#9A9891
Tritanopia (blue-blind)
#00B0A6
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #40af8f;
/* rgb */ color: rgb(64, 175, 143);
/* oklch */ color: oklch(68.2% 0.112 170.5);
Tailwind
colors: {
  custom: {
    50: '#81c7af',
    500: '#40af8f',
    950: '#000000',
  },
}
SCSS
$custom: #40af8f;
$custom-light: #81c7af;
$custom-dark: #000000;
JSON
{
  "hex": "#40af8f",
  "rgb": {
    "r": 64,
    "g": 175,
    "b": 143
  },
  "hsl": {
    "h": 162.703,
    "s": 46.444,
    "l": 46.863
  },
  "oklch": {
    "l": 0.68211,
    "c": 0.11158,
    "h": 170.5
  },
  "luminance": 0.33733
}

Semantic roles & 50–950 ramp

primary
#40AF8F
secondary
#C38899
accent
#5278D6
background
#F8FCFA
surface
#F0F8F4
border
#CBD1CE
text
#0B1310
muted
#7C827F

Preview Lab

Preview with #40AF8F

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

Preview Lab → · Contrast checker → · Palette generator →

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