#40C787#40C787

#40C787 is a light, vivid teal. Relative luminance 0.437; OKLCH L 74.1% C 0.149 H 158.4°. Best body text is #000000 at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#40C787
RGBrgb(64, 199, 135)
HSLhsl(152, 55%, 52%)
HSVhsv(152, 68%, 78%)
CMYKcmyk(67.8%, 0%, 32.2%, 22%)
CIE-LABlab(72.02, -51.07, 21.71)
CIE-LCHlch(72.02, 55.49, 156.97°)
OKLaboklab(74.11% -0.1388 0.0549)
OKLCHoklch(74.11% 0.149 158.4)
XYZxyz(26.9084, 43.6831, 29.9305)
Luminance0.4369 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C787 #C74080
analogous
#40C744 #40C787 #40C3C7
triadic
#40C787 #8740C7 #C78740
tetradic
#40C787 #4440C7 #C74080 #C3C740
square
#40C787 #4440C7 #C74080 #C3C740
split-complementary
#40C787 #C740C3 #C74440
monochromatic
#206D48 #2E9C68 #40C787 #6FD5A5 #9FE3C2

Accessibility & contrast

On white

2.16
#40C787 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.74
#40C787 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C787
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C787#FFFFFF#000000##000000
##40C7871.002.169.749.74
#FFFFFF2.161.0021.0021.00
#0000009.7421.001.001.00
##0000009.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5B883
Deuteranopia (green-blind)
#B4AC8B
Tritanopia (blue-blind)
#00C6B6
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #40c787;
/* rgb */ color: rgb(64, 199, 135);
/* oklch */ color: oklch(74.1% 0.149 158.4);
Tailwind
colors: {
  custom: {
    50: '#85d9aa',
    500: '#40c787',
    950: '#000000',
  },
}
SCSS
$custom: #40c787;
$custom-light: #85d9aa;
$custom-dark: #000000;
JSON
{
  "hex": "#40c787",
  "rgb": {
    "r": 64,
    "g": 199,
    "b": 135
  },
  "hsl": {
    "h": 151.556,
    "s": 54.656,
    "l": 51.569
  },
  "oklch": {
    "l": 0.74108,
    "c": 0.14931,
    "h": 158.4
  },
  "luminance": 0.43686
}

Semantic roles & 50–950 ramp

primary
#40C787
secondary
#CF94B0
accent
#4A90DE
background
#F8FDFA
surface
#F0FBF4
border
#CBD4CE
text
#0C1510
muted
#7D837F

Preview Lab

Preview with #40C787

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

Preview Lab → · Contrast checker → · Palette generator →

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