#40C997#40C997

#40C997 is a light, vivid teal. Relative luminance 0.451; OKLCH L 75.0% C 0.138 H 164.5°. Best body text is #000000 at 10.02:1 contrast (WCAG AA passes).

Color values

HEX#40C997
RGBrgb(64, 201, 151)
HSLhsl(158, 56%, 52%)
HSVhsv(158, 68%, 79%)
CMYKcmyk(68.2%, 0%, 24.9%, 21.2%)
CIE-LABlab(72.95, -48.43, 14.47)
CIE-LCHlch(72.95, 50.55, 163.36°)
OKLaboklab(74.98% -0.1334 0.037)
OKLCHoklch(74.98% 0.138 164.5)
XYZxyz(28.5839, 45.0945, 36.4698)
Luminance0.4510 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C997 #C94072
analogous
#40C953 #40C997 #40B7C9
triadic
#40C997 #9740C9 #C99740
tetradic
#40C997 #5340C9 #C94072 #B7C940
square
#40C997 #5340C9 #C94072 #B7C940
split-complementary
#40C997 #C940B7 #C95340
monochromatic
#1F6F52 #2D9F75 #40C997 #70D6B1 #9FE4CB

Accessibility & contrast

On white

2.10
#40C997 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.02
#40C997 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C997
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C997#FFFFFF#000000##000000
##40C9971.002.1010.0210.02
#FFFFFF2.101.0021.0021.00
#00000010.0221.001.001.00
##00000010.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5BB94
Deuteranopia (green-blind)
#B3AE9A
Tritanopia (blue-blind)
#00C9BB
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #40c997;
/* rgb */ color: rgb(64, 201, 151);
/* oklch */ color: oklch(75.0% 0.138 164.5);
Tailwind
colors: {
  custom: {
    50: '#85dab5',
    500: '#40c997',
    950: '#000000',
  },
}
SCSS
$custom: #40c997;
$custom-light: #85dab5;
$custom-dark: #000000;
JSON
{
  "hex": "#40c997",
  "rgb": {
    "r": 64,
    "g": 201,
    "b": 151
  },
  "hsl": {
    "h": 158.102,
    "s": 55.918,
    "l": 51.961
  },
  "oklch": {
    "l": 0.74984,
    "c": 0.13844,
    "h": 164.5
  },
  "luminance": 0.45098
}

Semantic roles & 50–950 ramp

primary
#40C997
secondary
#D094AA
accent
#4980DF
background
#F8FDFB
surface
#F0FBF6
border
#CBD4D0
text
#0C1511
muted
#7D8380

Preview Lab

Preview with #40C997

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

Preview Lab → · Contrast checker → · Palette generator →

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