#40C987#40C987

#40C987 is a light, vivid teal. Relative luminance 0.446; OKLCH L 74.6% C 0.152 H 158.0°. Best body text is #000000 at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#40C987
RGBrgb(64, 201, 135)
HSLhsl(151, 56%, 52%)
HSVhsv(151, 68%, 79%)
CMYKcmyk(68.2%, 0%, 32.8%, 21.2%)
CIE-LABlab(72.63, -51.86, 22.55)
CIE-LCHlch(72.63, 56.55, 156.50°)
OKLaboklab(74.62% -0.1409 0.057)
OKLCHoklch(74.62% 0.152 158)
XYZxyz(27.3715, 44.6095, 30.0849)
Luminance0.4461 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C987 #C94082
analogous
#40C943 #40C987 #40C6C9
triadic
#40C987 #8740C9 #C98740
tetradic
#40C987 #4340C9 #C94082 #C6C940
square
#40C987 #4340C9 #C94082 #C6C940
split-complementary
#40C987 #C940C6 #C94340
monochromatic
#1F6F49 #2D9F68 #40C987 #70D6A5 #9FE4C3

Accessibility & contrast

On white

2.12
#40C987 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.92
#40C987 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C987
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C987#FFFFFF#000000##000000
##40C9871.002.129.929.92
#FFFFFF2.121.0021.0021.00
#0000009.9221.001.001.00
##0000009.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7BA83
Deuteranopia (green-blind)
#B6AD8B
Tritanopia (blue-blind)
#00C8B8
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #40c987;
/* rgb */ color: rgb(64, 201, 135);
/* oklch */ color: oklch(74.6% 0.152 158.0);
Tailwind
colors: {
  custom: {
    50: '#85daaa',
    500: '#40c987',
    950: '#000000',
  },
}
SCSS
$custom: #40c987;
$custom-light: #85daaa;
$custom-dark: #000000;
JSON
{
  "hex": "#40c987",
  "rgb": {
    "r": 64,
    "g": 201,
    "b": 135
  },
  "hsl": {
    "h": 151.095,
    "s": 55.918,
    "l": 51.961
  },
  "oklch": {
    "l": 0.74616,
    "c": 0.15195,
    "h": 158
  },
  "luminance": 0.44613
}

Semantic roles & 50–950 ramp

primary
#40C987
secondary
#D094B1
accent
#4991DF
background
#F8FDFA
surface
#F0FBF4
border
#CBD4CE
text
#0C1510
muted
#7D837F

Preview Lab

Preview with #40C987

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

Preview Lab → · Contrast checker → · Palette generator →

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