#40CB8E#40CB8E

#40CB8E is a light, vivid teal. Relative luminance 0.458; OKLCH L 75.3% C 0.148 H 160.1°. Best body text is #000000 at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#40CB8E
RGBrgb(64, 203, 142)
HSLhsl(154, 57%, 52%)
HSVhsv(154, 68%, 80%)
CMYKcmyk(68.5%, 0%, 30%, 20.4%)
CIE-LABlab(73.38, -51.20, 19.87)
CIE-LCHlch(73.38, 54.92, 158.79°)
OKLaboklab(75.28% -0.1396 0.0504)
OKLCHoklch(75.28% 0.148 160.1)
XYZxyz(28.3499, 45.7517, 32.9228)
Luminance0.4576 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40CB8E #CB407D
analogous
#40CB48 #40CB8E #40C3CB
triadic
#40CB8E #8E40CB #CB8E40
tetradic
#40CB8E #4840CB #CB407D #C3CB40
square
#40CB8E #4840CB #CB407D #C3CB40
split-complementary
#40CB8E #CB40C3 #CB4840
monochromatic
#1F724D #2CA26E #40CB8E #70D8AA #A0E5C7

Accessibility & contrast

On white

2.07
#40CB8E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.15
#40CB8E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40CB8E
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40CB8E#FFFFFF#000000##000000
##40CB8E1.002.0710.1510.15
#FFFFFF2.071.0021.0021.00
#00000010.1521.001.001.00
##00000010.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9BC8A
Deuteranopia (green-blind)
#B7AF92
Tritanopia (blue-blind)
#00CABB
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #40cb8e;
/* rgb */ color: rgb(64, 203, 142);
/* oklch */ color: oklch(75.3% 0.148 160.1);
Tailwind
colors: {
  custom: {
    50: '#86dcaf',
    500: '#40cb8e',
    950: '#000000',
  },
}
SCSS
$custom: #40cb8e;
$custom-light: #86dcaf;
$custom-dark: #000000;
JSON
{
  "hex": "#40cb8e",
  "rgb": {
    "r": 64,
    "g": 203,
    "b": 142
  },
  "hsl": {
    "h": 153.669,
    "s": 57.202,
    "l": 52.353
  },
  "oklch": {
    "l": 0.75276,
    "c": 0.14846,
    "h": 160.1
  },
  "luminance": 0.45755
}

Semantic roles & 50–950 ramp

primary
#40CB8E
secondary
#D295B0
accent
#478BE0
background
#F8FDFA
surface
#F0FBF4
border
#CBD4CE
text
#0C1510
muted
#7D837F

Preview Lab

Preview with #40CB8E

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

Preview Lab → · Contrast checker → · Palette generator →

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