#40AF8E#40AF8E

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

Color values

HEX#40AF8E
RGBrgb(64, 175, 142)
HSLhsl(162, 46%, 47%)
HSVhsv(162, 63%, 69%)
CMYKcmyk(63.4%, 0%, 18.9%, 31.4%)
CIE-LABlab(64.72, -39.45, 7.73)
CIE-LCHlch(64.72, 40.20, 168.92°)
OKLaboklab(68.18% -0.1105 0.0198)
OKLCHoklch(68.18% 0.112 169.9)
XYZxyz(22.3244, 33.7006, 30.9143)
Luminance0.3370 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40AF8E #AF4061
analogous
#40AF56 #40AF8E #4099AF
triadic
#40AF8E #8E40AF #AF8E40
tetradic
#40AF8E #5640AF #AF4061 #99AF40
square
#40AF8E #5640AF #AF4061 #99AF40
split-complementary
#40AF8E #AF4099 #AF5640
monochromatic
#1F5545 #30826A #40AF8E #65C7AA #92D7C3

Accessibility & contrast

On white

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

On black

7.74
#40AF8E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40AF8E
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40AF8E#FFFFFF#000000##000000
##40AF8E1.002.717.747.74
#FFFFFF2.711.0021.0021.00
#0000007.7421.001.001.00
##0000007.7421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #40af8e;
/* rgb */ color: rgb(64, 175, 142);
/* oklch */ color: oklch(68.2% 0.112 169.9);
Tailwind
colors: {
  custom: {
    50: '#81c7af',
    500: '#40af8e',
    950: '#000000',
  },
}
SCSS
$custom: #40af8e;
$custom-light: #81c7af;
$custom-dark: #000000;
JSON
{
  "hex": "#40af8e",
  "rgb": {
    "r": 64,
    "g": 175,
    "b": 142
  },
  "hsl": {
    "h": 162.162,
    "s": 46.444,
    "l": 46.863
  },
  "oklch": {
    "l": 0.68184,
    "c": 0.11228,
    "h": 169.9
  },
  "luminance": 0.33703
}

Semantic roles & 50–950 ramp

primary
#40AF8E
secondary
#C3889A
accent
#5279D6
background
#F8FCFA
surface
#F0F8F4
border
#CBD1CE
text
#0B1310
muted
#7C827F

Preview Lab

Preview with #40AF8E

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

Preview Lab → · Contrast checker → · Palette generator →

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