#40C78C#40C78C

#40C78C is a light, vivid teal. Relative luminance 0.438; OKLCH L 74.2% C 0.145 H 160.4°. Best body text is #000000 at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#40C78C
RGBrgb(64, 199, 140)
HSLhsl(154, 55%, 52%)
HSVhsv(154, 68%, 78%)
CMYKcmyk(67.8%, 0%, 29.6%, 22%)
CIE-LABlab(72.11, -50.03, 19.19)
CIE-LCHlch(72.11, 53.58, 159.02°)
OKLaboklab(74.22% -0.1365 0.0487)
OKLCHoklch(74.22% 0.145 160.4)
XYZxyz(27.2687, 43.8273, 31.8283)
Luminance0.4383 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C78C #C7407B
analogous
#40C749 #40C78C #40BFC7
triadic
#40C78C #8C40C7 #C78C40
tetradic
#40C78C #4940C7 #C7407B #BFC740
square
#40C78C #4940C7 #C7407B #BFC740
split-complementary
#40C78C #C740BF #C74940
monochromatic
#206D4B #2E9C6C #40C78C #6FD5A8 #9FE3C5

Accessibility & contrast

On white

2.15
#40C78C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.77
#40C78C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C78C
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C78C#FFFFFF#000000##000000
##40C78C1.002.159.779.77
#FFFFFF2.151.0021.0021.00
#0000009.7721.001.001.00
##0000009.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5B889
Deuteranopia (green-blind)
#B3AC90
Tritanopia (blue-blind)
#00C6B7
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #40c78c;
/* rgb */ color: rgb(64, 199, 140);
/* oklch */ color: oklch(74.2% 0.145 160.4);
Tailwind
colors: {
  custom: {
    50: '#85d9ad',
    500: '#40c78c',
    950: '#000000',
  },
}
SCSS
$custom: #40c78c;
$custom-light: #85d9ad;
$custom-dark: #000000;
JSON
{
  "hex": "#40c78c",
  "rgb": {
    "r": 64,
    "g": 199,
    "b": 140
  },
  "hsl": {
    "h": 153.778,
    "s": 54.656,
    "l": 51.569
  },
  "oklch": {
    "l": 0.74219,
    "c": 0.14495,
    "h": 160.4
  },
  "luminance": 0.4383
}

Semantic roles & 50–950 ramp

primary
#40C78C
secondary
#CF94AE
accent
#4A8BDE
background
#F8FDFA
surface
#F0FBF4
border
#CBD4CE
text
#0C1510
muted
#7D837F

Preview Lab

Preview with #40C78C

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

Preview Lab → · Contrast checker → · Palette generator →

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