#40AF8A#40AF8A

#40AF8A is a light, moderate teal. Relative luminance 0.336; OKLCH L 68.1% C 0.115 H 167.4°. Best body text is #000000 at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#40AF8A
RGBrgb(64, 175, 138)
HSLhsl(160, 46%, 47%)
HSVhsv(160, 63%, 69%)
CMYKcmyk(63.4%, 0%, 21.1%, 31.4%)
CIE-LABlab(64.63, -40.41, 9.81)
CIE-LCHlch(64.63, 41.58, 166.36°)
OKLaboklab(68.08% -0.1124 0.0251)
OKLCHoklch(68.08% 0.115 167.4)
XYZxyz(22.0294, 33.5826, 29.3609)
Luminance0.3358 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40AF8A #AF4065
analogous
#40AF53 #40AF8A #409DAF
triadic
#40AF8A #8A40AF #AF8A40
tetradic
#40AF8A #5340AF #AF4065 #9DAF40
square
#40AF8A #5340AF #AF4065 #9DAF40
split-complementary
#40AF8A #AF409D #AF5340
monochromatic
#1F5543 #308267 #40AF8A #65C7A6 #92D7C0

Accessibility & contrast

On white

2.72
#40AF8A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.72
#40AF8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40AF8A
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40AF8A#FFFFFF#000000##000000
##40AF8A1.002.727.727.72
#FFFFFF2.721.0021.0021.00
#0000007.7221.001.001.00
##0000007.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#ABA388
Deuteranopia (green-blind)
#9B988C
Tritanopia (blue-blind)
#00B0A5
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #40af8a;
/* rgb */ color: rgb(64, 175, 138);
/* oklch */ color: oklch(68.1% 0.115 167.4);
Tailwind
colors: {
  custom: {
    50: '#81c7ac',
    500: '#40af8a',
    950: '#000000',
  },
}
SCSS
$custom: #40af8a;
$custom-light: #81c7ac;
$custom-dark: #000000;
JSON
{
  "hex": "#40af8a",
  "rgb": {
    "r": 64,
    "g": 175,
    "b": 138
  },
  "hsl": {
    "h": 160,
    "s": 46.444,
    "l": 46.863
  },
  "oklch": {
    "l": 0.68076,
    "c": 0.1152,
    "h": 167.4
  },
  "luminance": 0.33585
}

Semantic roles & 50–950 ramp

primary
#40AF8A
secondary
#C3889C
accent
#527ED6
background
#F8FCFA
surface
#EFF8F4
border
#CAD1CE
text
#0B1310
muted
#7C827F

Preview Lab

Preview with #40AF8A

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

Preview Lab → · Contrast checker → · Palette generator →

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