#40C78B#40C78B

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

Color values

HEX#40C78B
RGBrgb(64, 199, 139)
HSLhsl(153, 55%, 52%)
HSVhsv(153, 68%, 78%)
CMYKcmyk(67.8%, 0%, 30.2%, 22%)
CIE-LABlab(72.09, -50.24, 19.69)
CIE-LCHlch(72.09, 53.96, 158.60°)
OKLaboklab(74.2% -0.137 0.05)
OKLCHoklch(74.2% 0.146 160)
XYZxyz(27.1953, 43.7979, 31.4417)
Luminance0.4380 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C78B #C7407C
analogous
#40C748 #40C78B #40C0C7
triadic
#40C78B #8B40C7 #C78B40
tetradic
#40C78B #4840C7 #C7407C #C0C740
square
#40C78B #4840C7 #C7407C #C0C740
split-complementary
#40C78B #C740C0 #C74840
monochromatic
#206D4B #2E9C6B #40C78B #6FD5A8 #9FE3C4

Accessibility & contrast

On white

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

On black

9.76
#40C78B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C78B
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C78B#FFFFFF#000000##000000
##40C78B1.002.159.769.76
#FFFFFF2.151.0021.0021.00
#0000009.7621.001.001.00
##0000009.7621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #40c78b;
/* rgb */ color: rgb(64, 199, 139);
/* oklch */ color: oklch(74.2% 0.146 160.0);
Tailwind
colors: {
  custom: {
    50: '#85d9ad',
    500: '#40c78b',
    950: '#000000',
  },
}
SCSS
$custom: #40c78b;
$custom-light: #85d9ad;
$custom-dark: #000000;
JSON
{
  "hex": "#40c78b",
  "rgb": {
    "r": 64,
    "g": 199,
    "b": 139
  },
  "hsl": {
    "h": 153.333,
    "s": 54.656,
    "l": 51.569
  },
  "oklch": {
    "l": 0.74196,
    "c": 0.14582,
    "h": 160
  },
  "luminance": 0.43801
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #40C78B

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

Preview Lab → · Contrast checker → · Palette generator →

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