#40CC8B#40CC8B

#40CC8B is a light, vivid teal. Relative luminance 0.461; OKLCH L 75.5% C 0.152 H 158.8°. Best body text is #000000 at 10.23:1 contrast (WCAG AA passes).

Color values

HEX#40CC8B
RGBrgb(64, 204, 139)
HSLhsl(152, 58%, 53%)
HSVhsv(152, 69%, 80%)
CMYKcmyk(68.6%, 0%, 31.9%, 20%)
CIE-LABlab(73.63, -52.22, 21.80)
CIE-LCHlch(73.63, 56.59, 157.34°)
OKLaboklab(75.46% -0.142 0.0552)
OKLCHoklch(75.46% 0.152 158.8)
XYZxyz(28.3647, 46.1366, 31.8315)
Luminance0.4614 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40CC8B #CC4081
analogous
#40CC45 #40CC8B #40C7CC
triadic
#40CC8B #8B40CC #CC8B40
tetradic
#40CC8B #4540CC #CC4081 #C7CC40
square
#40CC8B #4540CC #CC4081 #C7CC40
split-complementary
#40CC8B #CC40C7 #CC4540
monochromatic
#1F734C #2CA36C #40CC8B #70D9A8 #A1E6C6

Accessibility & contrast

On white

2.05
#40CC8B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.23
#40CC8B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40CC8B
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40CC8B#FFFFFF#000000##000000
##40CC8B1.002.0510.2310.23
#FFFFFF2.051.0021.0021.00
#00000010.2321.001.001.00
##00000010.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CABD87
Deuteranopia (green-blind)
#B8B08F
Tritanopia (blue-blind)
#00CBBB
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #40cc8b;
/* rgb */ color: rgb(64, 204, 139);
/* oklch */ color: oklch(75.5% 0.152 158.8);
Tailwind
colors: {
  custom: {
    50: '#86dcad',
    500: '#40cc8b',
    950: '#000000',
  },
}
SCSS
$custom: #40cc8b;
$custom-light: #86dcad;
$custom-dark: #000000;
JSON
{
  "hex": "#40cc8b",
  "rgb": {
    "r": 64,
    "g": 204,
    "b": 139
  },
  "hsl": {
    "h": 152.143,
    "s": 57.851,
    "l": 52.549
  },
  "oklch": {
    "l": 0.75462,
    "c": 0.15236,
    "h": 158.8
  },
  "luminance": 0.4614
}

Semantic roles & 50–950 ramp

primary
#40CC8B
secondary
#D295B2
accent
#478EE1
background
#F8FDFA
surface
#F0FBF4
border
#CBD4CE
text
#0C1510
muted
#7D837F

Preview Lab

Preview with #40CC8B

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

Preview Lab → · Contrast checker → · Palette generator →

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