#40CC8C#40CC8C

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

Color values

HEX#40CC8C
RGBrgb(64, 204, 140)
HSLhsl(153, 58%, 53%)
HSVhsv(153, 69%, 80%)
CMYKcmyk(68.6%, 0%, 31.4%, 20%)
CIE-LABlab(73.65, -52.02, 21.30)
CIE-LCHlch(73.65, 56.21, 157.73°)
OKLaboklab(75.48% -0.1416 0.0539)
OKLCHoklch(75.48% 0.151 159.1)
XYZxyz(28.4380, 46.1660, 32.2181)
Luminance0.4617 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40CC8C #CC4080
analogous
#40CC46 #40CC8C #40C6CC
triadic
#40CC8C #8C40CC #CC8C40
tetradic
#40CC8C #4640CC #CC4080 #C6CC40
square
#40CC8C #4640CC #CC4080 #C6CC40
split-complementary
#40CC8C #CC40C6 #CC4640
monochromatic
#1F734C #2CA36D #40CC8C #70D9A9 #A1E6C6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40CC8C#FFFFFF#000000##000000
##40CC8C1.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)
#CABD88
Deuteranopia (green-blind)
#B8B090
Tritanopia (blue-blind)
#00CBBB
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #40cc8c;
/* rgb */ color: rgb(64, 204, 140);
/* oklch */ color: oklch(75.5% 0.151 159.1);
Tailwind
colors: {
  custom: {
    50: '#86dcae',
    500: '#40cc8c',
    950: '#000000',
  },
}
SCSS
$custom: #40cc8c;
$custom-light: #86dcae;
$custom-dark: #000000;
JSON
{
  "hex": "#40cc8c",
  "rgb": {
    "r": 64,
    "g": 204,
    "b": 140
  },
  "hsl": {
    "h": 152.571,
    "s": 57.851,
    "l": 52.549
  },
  "oklch": {
    "l": 0.75484,
    "c": 0.15149,
    "h": 159.1
  },
  "luminance": 0.46169
}

Semantic roles & 50–950 ramp

primary
#40CC8C
secondary
#D295B1
accent
#478DE1
background
#F8FDFA
surface
#F0FBF4
border
#CBD4CE
text
#0C1510
muted
#7D837F

Preview Lab

Preview with #40CC8C

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

Preview Lab → · Contrast checker → · Palette generator →

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