#40B78C#40B78C

#40B78C is a light, vivid teal. Relative luminance 0.368; OKLCH L 70.2% C 0.124 H 165.3°. Best body text is #000000 at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#40B78C
RGBrgb(64, 183, 140)
HSLhsl(158, 48%, 48%)
HSVhsv(158, 65%, 72%)
CMYKcmyk(65%, 0%, 23.5%, 28.2%)
CIE-LABlab(67.16, -43.40, 12.29)
CIE-LCHlch(67.16, 45.11, 164.19°)
OKLaboklab(70.16% -0.12 0.0314)
OKLCHoklch(70.16% 0.124 165.3)
XYZxyz(23.7790, 36.8479, 30.6650)
Luminance0.3685 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B78C #B7406B
analogous
#40B750 #40B78C #40A6B7
triadic
#40B78C #8C40B7 #B78C40
tetradic
#40B78C #5040B7 #B7406B #A6B740
square
#40B78C #5040B7 #B7406B #A6B740
split-complementary
#40B78C #B740A6 #B75040
monochromatic
#205C47 #308A69 #40B78C #69CBA8 #97DBC2

Accessibility & contrast

On white

2.51
#40B78C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.37
#40B78C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B78C
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B78C#FFFFFF#000000##000000
##40B78C1.002.518.378.37
#FFFFFF2.511.0021.0021.00
#0000008.3721.001.001.00
##0000008.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B3AA8A
Deuteranopia (green-blind)
#A39F8F
Tritanopia (blue-blind)
#00B7AB
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #40b78c;
/* rgb */ color: rgb(64, 183, 140);
/* oklch */ color: oklch(70.2% 0.124 165.3);
Tailwind
colors: {
  custom: {
    50: '#82cdad',
    500: '#40b78c',
    950: '#000000',
  },
}
SCSS
$custom: #40b78c;
$custom-light: #82cdad;
$custom-dark: #000000;
JSON
{
  "hex": "#40b78c",
  "rgb": {
    "r": 64,
    "g": 183,
    "b": 140
  },
  "hsl": {
    "h": 158.319,
    "s": 48.178,
    "l": 48.431
  },
  "oklch": {
    "l": 0.70162,
    "c": 0.12404,
    "h": 165.3
  },
  "luminance": 0.3685
}

Semantic roles & 50–950 ramp

primary
#40B78C
secondary
#C68DA1
accent
#5081D8
background
#F8FCFA
surface
#F0F9F4
border
#CBD2CE
text
#0C1310
muted
#7D827F

Preview Lab

Preview with #40B78C

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

Preview Lab → · Contrast checker → · Palette generator →

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