#40B78E#40B78E

#40B78E is a light, vivid teal. Relative luminance 0.369; OKLCH L 70.2% C 0.122 H 166.4°. Best body text is #000000 at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#40B78E
RGBrgb(64, 183, 142)
HSLhsl(159, 48%, 48%)
HSVhsv(159, 65%, 72%)
CMYKcmyk(65%, 0%, 22.4%, 28.2%)
CIE-LABlab(67.21, -42.94, 11.26)
CIE-LCHlch(67.21, 44.39, 165.31°)
OKLaboklab(70.21% -0.119 0.0288)
OKLCHoklch(70.21% 0.122 166.4)
XYZxyz(23.9278, 36.9074, 31.4488)
Luminance0.3691 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B78E #B74069
analogous
#40B753 #40B78E #40A4B7
triadic
#40B78E #8E40B7 #B78E40
tetradic
#40B78E #5340B7 #B74069 #A4B740
square
#40B78E #5340B7 #B74069 #A4B740
split-complementary
#40B78E #B740A4 #B75340
monochromatic
#205C48 #308A6B #40B78E #69CBA9 #97DBC3

Accessibility & contrast

On white

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

On black

8.38
#40B78E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B78E
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B78E#FFFFFF#000000##000000
##40B78E1.002.518.388.38
#FFFFFF2.511.0021.0021.00
#0000008.3821.001.001.00
##0000008.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B3AB8C
Deuteranopia (green-blind)
#A39F91
Tritanopia (blue-blind)
#00B8AB
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #40b78e;
/* rgb */ color: rgb(64, 183, 142);
/* oklch */ color: oklch(70.2% 0.122 166.4);
Tailwind
colors: {
  custom: {
    50: '#82cdaf',
    500: '#40b78e',
    950: '#000000',
  },
}
SCSS
$custom: #40b78e;
$custom-light: #82cdaf;
$custom-dark: #000000;
JSON
{
  "hex": "#40b78e",
  "rgb": {
    "r": 64,
    "g": 183,
    "b": 142
  },
  "hsl": {
    "h": 159.328,
    "s": 48.178,
    "l": 48.431
  },
  "oklch": {
    "l": 0.70213,
    "c": 0.12248,
    "h": 166.4
  },
  "luminance": 0.3691
}

Semantic roles & 50–950 ramp

primary
#40B78E
secondary
#C68DA0
accent
#507FD8
background
#F8FCFA
surface
#F0F9F4
border
#CBD2CE
text
#0C1310
muted
#7D827F

Preview Lab

Preview with #40B78E

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

Preview Lab → · Contrast checker → · Palette generator →

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