#40C797#40C797

#40C797 is a light, vivid teal. Relative luminance 0.442; OKLCH L 74.5% C 0.136 H 165.2°. Best body text is #000000 at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#40C797
RGBrgb(64, 199, 151)
HSLhsl(159, 55%, 52%)
HSVhsv(159, 68%, 78%)
CMYKcmyk(67.8%, 0%, 24.1%, 22%)
CIE-LABlab(72.34, -47.61, 13.61)
CIE-LCHlch(72.34, 49.52, 164.04°)
OKLaboklab(74.48% -0.1314 0.0348)
OKLCHoklch(74.48% 0.136 165.2)
XYZxyz(28.1207, 44.1681, 36.3154)
Luminance0.4417 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C797 #C74070
analogous
#40C754 #40C797 #40B3C7
triadic
#40C797 #9740C7 #C79740
tetradic
#40C797 #5440C7 #C74070 #B3C740
square
#40C797 #5440C7 #C74070 #B3C740
split-complementary
#40C797 #C740B3 #C75440
monochromatic
#206D51 #2E9C75 #40C797 #6FD5B1 #9FE3CB

Accessibility & contrast

On white

2.14
#40C797 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.83
#40C797 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C797
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C797#FFFFFF#000000##000000
##40C7971.002.149.839.83
#FFFFFF2.141.0021.0021.00
#0000009.8321.001.001.00
##0000009.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3B994
Deuteranopia (green-blind)
#B1AC9A
Tritanopia (blue-blind)
#00C7BA
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #40c797;
/* rgb */ color: rgb(64, 199, 151);
/* oklch */ color: oklch(74.5% 0.136 165.2);
Tailwind
colors: {
  custom: {
    50: '#85d9b5',
    500: '#40c797',
    950: '#000000',
  },
}
SCSS
$custom: #40c797;
$custom-light: #85d9b5;
$custom-dark: #000000;
JSON
{
  "hex": "#40c797",
  "rgb": {
    "r": 64,
    "g": 199,
    "b": 151
  },
  "hsl": {
    "h": 158.667,
    "s": 54.656,
    "l": 51.569
  },
  "oklch": {
    "l": 0.74481,
    "c": 0.1359,
    "h": 165.2
  },
  "luminance": 0.44171
}

Semantic roles & 50–950 ramp

primary
#40C797
secondary
#CF94A9
accent
#4A7EDE
background
#F8FDFB
surface
#F0FAF6
border
#CBD3D0
text
#0C1511
muted
#7D8380

Preview Lab

Preview with #40C797

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

Preview Lab → · Contrast checker → · Palette generator →

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