#40B987#40B987

#40B987 is a light, vivid teal. Relative luminance 0.375; OKLCH L 70.5% C 0.131 H 162.1°. Best body text is #000000 at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#40B987
RGBrgb(64, 185, 135)
HSLhsl(155, 49%, 49%)
HSVhsv(155, 65%, 73%)
CMYKcmyk(65.4%, 0%, 27%, 27.5%)
CIE-LABlab(67.68, -45.37, 15.73)
CIE-LCHlch(67.68, 48.02, 160.88°)
OKLaboklab(70.55% -0.1245 0.0401)
OKLCHoklch(70.55% 0.131 162.1)
XYZxyz(23.8341, 37.5346, 28.9058)
Luminance0.3754 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B987 #B94072
analogous
#40B94B #40B987 #40AFB9
triadic
#40B987 #8740B9 #B98740
tetradic
#40B987 #4B40B9 #B94072 #AFB940
square
#40B987 #4B40B9 #B94072 #AFB940
split-complementary
#40B987 #B940AF #B94B40
monochromatic
#215E45 #308C66 #40B987 #6BCCA4 #98DBC0

Accessibility & contrast

On white

2.47
#40B987 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.51
#40B987 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B987
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B987#FFFFFF#000000##000000
##40B9871.002.478.518.51
#FFFFFF2.471.0021.0021.00
#0000008.5121.001.001.00
##0000008.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6AC84
Deuteranopia (green-blind)
#A6A08A
Tritanopia (blue-blind)
#00B9AB
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #40b987;
/* rgb */ color: rgb(64, 185, 135);
/* oklch */ color: oklch(70.5% 0.131 162.1);
Tailwind
colors: {
  custom: {
    50: '#82cfaa',
    500: '#40b987',
    950: '#000000',
  },
}
SCSS
$custom: #40b987;
$custom-light: #82cfaa;
$custom-dark: #000000;
JSON
{
  "hex": "#40b987",
  "rgb": {
    "r": 64,
    "g": 185,
    "b": 135
  },
  "hsl": {
    "h": 155.207,
    "s": 48.594,
    "l": 48.824
  },
  "oklch": {
    "l": 0.70546,
    "c": 0.13076,
    "h": 162.1
  },
  "luminance": 0.37537
}

Semantic roles & 50–950 ramp

primary
#40B987
secondary
#C78EA5
accent
#5088D8
background
#F8FCFA
surface
#F0F9F4
border
#CBD2CE
text
#0C1410
muted
#7D827F

Preview Lab

Preview with #40B987

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

Preview Lab → · Contrast checker → · Palette generator →

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