#40C788#40C788

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

Color values

HEX#40C788
RGBrgb(64, 199, 136)
HSLhsl(152, 55%, 52%)
HSVhsv(152, 68%, 78%)
CMYKcmyk(67.8%, 0%, 31.7%, 22%)
CIE-LABlab(72.04, -50.86, 21.21)
CIE-LCHlch(72.04, 55.11, 157.37°)
OKLaboklab(74.13% -0.1384 0.0537)
OKLCHoklch(74.13% 0.148 158.8)
XYZxyz(26.9791, 43.7114, 30.3031)
Luminance0.4371 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C788 #C7407F
analogous
#40C745 #40C788 #40C3C7
triadic
#40C788 #8840C7 #C78840
tetradic
#40C788 #4540C7 #C7407F #C3C740
square
#40C788 #4540C7 #C7407F #C3C740
split-complementary
#40C788 #C740C3 #C74540
monochromatic
#206D49 #2E9C69 #40C788 #6FD5A5 #9FE3C3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40C788#FFFFFF#000000##000000
##40C7881.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)
#C5B884
Deuteranopia (green-blind)
#B4AC8C
Tritanopia (blue-blind)
#00C6B6
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #40c788;
/* rgb */ color: rgb(64, 199, 136);
/* oklch */ color: oklch(74.1% 0.148 158.8);
Tailwind
colors: {
  custom: {
    50: '#85d9ab',
    500: '#40c788',
    950: '#000000',
  },
}
SCSS
$custom: #40c788;
$custom-light: #85d9ab;
$custom-dark: #000000;
JSON
{
  "hex": "#40c788",
  "rgb": {
    "r": 64,
    "g": 199,
    "b": 136
  },
  "hsl": {
    "h": 152,
    "s": 54.656,
    "l": 51.569
  },
  "oklch": {
    "l": 0.7413,
    "c": 0.14843,
    "h": 158.8
  },
  "luminance": 0.43714
}

Semantic roles & 50–950 ramp

primary
#40C788
secondary
#CF94AF
accent
#4A8FDE
background
#F8FDFA
surface
#F0FBF4
border
#CBD4CE
text
#0C1510
muted
#7D837F

Preview Lab

Preview with #40C788

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

Preview Lab → · Contrast checker → · Palette generator →

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