#40A987#40A987

#40A987 is a light, moderate teal. Relative luminance 0.312; OKLCH L 66.5% C 0.110 H 168.3°. Best body text is #000000 at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#40A987
RGBrgb(64, 169, 135)
HSLhsl(161, 45%, 46%)
HSVhsv(161, 62%, 66%)
CMYKcmyk(62.1%, 0%, 20.1%, 33.7%)
CIE-LABlab(62.69, -38.47, 8.71)
CIE-LCHlch(62.69, 39.45, 167.25°)
OKLaboklab(66.47% -0.1074 0.0223)
OKLCHoklch(66.47% 0.11 168.3)
XYZxyz(20.6733, 31.2131, 27.8522)
Luminance0.3121 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A987 #A94062
analogous
#40A952 #40A987 #4096A9
triadic
#40A987 #8740A9 #A98740
tetradic
#40A987 #5240A9 #A94062 #96A940
square
#40A987 #5240A9 #A94062 #96A940
split-complementary
#40A987 #A94096 #A95240
monochromatic
#1E5040 #2F7D64 #40A987 #62C4A4 #8FD5BE

Accessibility & contrast

On white

2.90
#40A987 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.24
#40A987 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40A987
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A987#FFFFFF#000000##000000
##40A9871.002.907.247.24
#FFFFFF2.901.0021.0021.00
#0000007.2421.001.001.00
##0000007.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59E85
Deuteranopia (green-blind)
#969389
Tritanopia (blue-blind)
#00AA9F
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #40a987;
/* rgb */ color: rgb(64, 169, 135);
/* oklch */ color: oklch(66.5% 0.110 168.3);
Tailwind
colors: {
  custom: {
    50: '#80c3aa',
    500: '#40a987',
    950: '#000000',
  },
}
SCSS
$custom: #40a987;
$custom-light: #80c3aa;
$custom-dark: #000000;
JSON
{
  "hex": "#40a987",
  "rgb": {
    "r": 64,
    "g": 169,
    "b": 135
  },
  "hsl": {
    "h": 160.571,
    "s": 45.064,
    "l": 45.686
  },
  "oklch": {
    "l": 0.66466,
    "c": 0.10965,
    "h": 168.3
  },
  "luminance": 0.31215
}

Semantic roles & 50–950 ramp

primary
#40A987
secondary
#C08598
accent
#537DD5
background
#F8FCFA
surface
#EFF8F4
border
#CAD1CE
text
#0B1210
muted
#7C817F

Preview Lab

Preview with #40A987

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

Preview Lab → · Contrast checker → · Palette generator →

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