#40B78B#40B78B

#40B78B is a light, vivid teal. Relative luminance 0.368; OKLCH L 70.1% C 0.125 H 164.8°. Best body text is #000000 at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#40B78B
RGBrgb(64, 183, 139)
HSLhsl(158, 48%, 48%)
HSVhsv(158, 65%, 72%)
CMYKcmyk(65%, 0%, 24%, 28.2%)
CIE-LABlab(67.14, -43.63, 12.80)
CIE-LCHlch(67.14, 45.47, 163.65°)
OKLaboklab(70.14% -0.1205 0.0327)
OKLCHoklch(70.14% 0.125 164.8)
XYZxyz(23.7056, 36.8185, 30.2785)
Luminance0.3682 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B78B #B7406C
analogous
#40B74F #40B78B #40A7B7
triadic
#40B78B #8B40B7 #B78B40
tetradic
#40B78B #4F40B7 #B7406C #A7B740
square
#40B78B #4F40B7 #B7406C #A7B740
split-complementary
#40B78B #B740A7 #B74F40
monochromatic
#205C46 #308A69 #40B78B #69CBA7 #97DBC2

Accessibility & contrast

On white

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

On black

8.36
#40B78B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B78B
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B78B#FFFFFF#000000##000000
##40B78B1.002.518.368.36
#FFFFFF2.511.0021.0021.00
#0000008.3621.001.001.00
##0000008.3621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #40b78b;
/* rgb */ color: rgb(64, 183, 139);
/* oklch */ color: oklch(70.1% 0.125 164.8);
Tailwind
colors: {
  custom: {
    50: '#82cdad',
    500: '#40b78b',
    950: '#000000',
  },
}
SCSS
$custom: #40b78b;
$custom-light: #82cdad;
$custom-dark: #000000;
JSON
{
  "hex": "#40b78b",
  "rgb": {
    "r": 64,
    "g": 183,
    "b": 139
  },
  "hsl": {
    "h": 157.815,
    "s": 48.178,
    "l": 48.431
  },
  "oklch": {
    "l": 0.70136,
    "c": 0.12483,
    "h": 164.8
  },
  "luminance": 0.36821
}

Semantic roles & 50–950 ramp

primary
#40B78B
secondary
#C68DA2
accent
#5082D8
background
#F8FCFA
surface
#F0F9F4
border
#CBD2CE
text
#0C1310
muted
#7D827F

Preview Lab

Preview with #40B78B

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

Preview Lab → · Contrast checker → · Palette generator →

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