#40AF89#40AF89

#40AF89 is a light, moderate teal. Relative luminance 0.336; OKLCH L 68.0% C 0.116 H 166.8°. Best body text is #000000 at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#40AF89
RGBrgb(64, 175, 137)
HSLhsl(159, 46%, 47%)
HSVhsv(159, 63%, 69%)
CMYKcmyk(63.4%, 0%, 21.7%, 31.4%)
CIE-LABlab(64.61, -40.65, 10.33)
CIE-LCHlch(64.61, 41.94, 165.75°)
OKLaboklab(68.05% -0.1129 0.0264)
OKLCHoklch(68.05% 0.116 166.8)
XYZxyz(21.9574, 33.5538, 28.9814)
Luminance0.3356 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40AF89 #AF4066
analogous
#40AF51 #40AF89 #409EAF
triadic
#40AF89 #8940AF #AF8940
tetradic
#40AF89 #5140AF #AF4066 #9EAF40
square
#40AF89 #5140AF #AF4066 #9EAF40
split-complementary
#40AF89 #AF409E #AF5140
monochromatic
#1F5543 #308266 #40AF89 #65C7A5 #92D7C0

Accessibility & contrast

On white

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

On black

7.71
#40AF89 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40AF89
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40AF89#FFFFFF#000000##000000
##40AF891.002.727.717.71
#FFFFFF2.721.0021.0021.00
#0000007.7121.001.001.00
##0000007.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#ABA387
Deuteranopia (green-blind)
#9C988B
Tritanopia (blue-blind)
#00B0A4
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #40af89;
/* rgb */ color: rgb(64, 175, 137);
/* oklch */ color: oklch(68.0% 0.116 166.8);
Tailwind
colors: {
  custom: {
    50: '#81c7ab',
    500: '#40af89',
    950: '#000000',
  },
}
SCSS
$custom: #40af89;
$custom-light: #81c7ab;
$custom-dark: #000000;
JSON
{
  "hex": "#40af89",
  "rgb": {
    "r": 64,
    "g": 175,
    "b": 137
  },
  "hsl": {
    "h": 159.459,
    "s": 46.444,
    "l": 46.863
  },
  "oklch": {
    "l": 0.68049,
    "c": 0.11595,
    "h": 166.8
  },
  "luminance": 0.33556
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #40AF89

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

Preview Lab → · Contrast checker → · Palette generator →

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