#40CC97#40CC97

#40CC97 is a light, vivid teal. Relative luminance 0.465; OKLCH L 75.7% C 0.142 H 163.6°. Best body text is #000000 at 10.30:1 contrast (WCAG AA passes).

Color values

HEX#40CC97
RGBrgb(64, 204, 151)
HSLhsl(157, 58%, 53%)
HSVhsv(157, 69%, 80%)
CMYKcmyk(68.6%, 0%, 26%, 20%)
CIE-LABlab(73.87, -49.66, 15.76)
CIE-LCHlch(73.87, 52.10, 162.39°)
OKLaboklab(75.74% -0.1364 0.0402)
OKLCHoklch(75.74% 0.142 163.6)
XYZxyz(29.2900, 46.5068, 36.7052)
Luminance0.4651 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40CC97 #CC4075
analogous
#40CC51 #40CC97 #40BBCC
triadic
#40CC97 #9740CC #CC9740
tetradic
#40CC97 #5140CC #CC4075 #BBCC40
square
#40CC97 #5140CC #CC4075 #BBCC40
split-complementary
#40CC97 #CC40BB #CC5140
monochromatic
#1F7353 #2CA376 #40CC97 #70D9B1 #A1E6CC

Accessibility & contrast

On white

2.04
#40CC97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.30
#40CC97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40CC97
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40CC97#FFFFFF#000000##000000
##40CC971.002.0410.3010.30
#FFFFFF2.041.0021.0021.00
#00000010.3021.001.001.00
##00000010.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8BD94
Deuteranopia (green-blind)
#B6B09A
Tritanopia (blue-blind)
#00CCBD
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #40cc97;
/* rgb */ color: rgb(64, 204, 151);
/* oklch */ color: oklch(75.7% 0.142 163.6);
Tailwind
colors: {
  custom: {
    50: '#86dcb5',
    500: '#40cc97',
    950: '#000000',
  },
}
SCSS
$custom: #40cc97;
$custom-light: #86dcb5;
$custom-dark: #000000;
JSON
{
  "hex": "#40cc97",
  "rgb": {
    "r": 64,
    "g": 204,
    "b": 151
  },
  "hsl": {
    "h": 157.286,
    "s": 57.851,
    "l": 52.549
  },
  "oklch": {
    "l": 0.75737,
    "c": 0.14224,
    "h": 163.6
  },
  "luminance": 0.4651
}

Semantic roles & 50–950 ramp

primary
#40CC97
secondary
#D295AD
accent
#4781E1
background
#F8FDFB
surface
#F0FBF6
border
#CBD4D0
text
#0C1511
muted
#7D8380

Preview Lab

Preview with #40CC97

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

Preview Lab → · Contrast checker → · Palette generator →

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