#40CF8C#40CF8C

#40CF8C is a light, vivid teal. Relative luminance 0.476; OKLCH L 76.2% C 0.155 H 158.5°. Best body text is #000000 at 10.52:1 contrast (WCAG AA passes).

Color values

HEX#40CF8C
RGBrgb(64, 207, 140)
HSLhsl(152, 60%, 53%)
HSVhsv(152, 69%, 81%)
CMYKcmyk(69.1%, 0%, 32.4%, 18.8%)
CIE-LABlab(74.58, -53.19, 22.56)
CIE-LCHlch(74.58, 57.78, 157.02°)
OKLaboklab(76.24% -0.1446 0.057)
OKLCHoklch(76.24% 0.155 158.5)
XYZxyz(29.1580, 47.6058, 32.4580)
Luminance0.4761 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40CF8C #CF4083
analogous
#40CF44 #40CF8C #40CBCF
triadic
#40CF8C #8C40CF #CF8C40
tetradic
#40CF8C #4440CF #CF4083 #CBCF40
square
#40CF8C #4440CF #CF4083 #CBCF40
split-complementary
#40CF8C #CF40CB #CF4440
monochromatic
#1E774D #2AA86D #40CF8C #71DBA9 #A2E8C7

Accessibility & contrast

On white

2.00
#40CF8C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.52
#40CF8C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40CF8C
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40CF8C#FFFFFF#000000##000000
##40CF8C1.002.0010.5210.52
#FFFFFF2.001.0021.0021.00
#00000010.5221.001.001.00
##00000010.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDBF88
Deuteranopia (green-blind)
#BBB290
Tritanopia (blue-blind)
#00CEBD
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #40cf8c;
/* rgb */ color: rgb(64, 207, 140);
/* oklch */ color: oklch(76.2% 0.155 158.5);
Tailwind
colors: {
  custom: {
    50: '#86dfae',
    500: '#40cf8c',
    950: '#000000',
  },
}
SCSS
$custom: #40cf8c;
$custom-light: #86dfae;
$custom-dark: #000000;
JSON
{
  "hex": "#40cf8c",
  "rgb": {
    "r": 64,
    "g": 207,
    "b": 140
  },
  "hsl": {
    "h": 151.888,
    "s": 59.833,
    "l": 53.137
  },
  "oklch": {
    "l": 0.76242,
    "c": 0.15539,
    "h": 158.5
  },
  "luminance": 0.47609
}

Semantic roles & 50–950 ramp

primary
#40CF8C
secondary
#D497B3
accent
#458FE3
background
#F8FDFA
surface
#F0FBF4
border
#CBD4CE
text
#0D1510
muted
#7D837F

Preview Lab

Preview with #40CF8C

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

Preview Lab → · Contrast checker → · Palette generator →

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