#40AB78#40AB78

#40AB78 is a light, vivid teal. Relative luminance 0.316; OKLCH L 66.6% C 0.125 H 159.2°. Best body text is #000000 at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#40AB78
RGBrgb(64, 171, 120)
HSLhsl(151, 46%, 46%)
HSVhsv(151, 63%, 67%)
CMYKcmyk(62.6%, 0%, 29.8%, 32.9%)
CIE-LABlab(62.99, -42.74, 17.41)
CIE-LCHlch(62.99, 46.15, 157.83°)
OKLaboklab(66.6% -0.1167 0.0442)
OKLCHoklch(66.6% 0.125 159.2)
XYZxyz(20.0656, 31.5698, 22.8018)
Luminance0.3157 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40AB78 #AB4073
analogous
#40AB42 #40AB78 #40A8AB
triadic
#40AB78 #7840AB #AB7840
tetradic
#40AB78 #4240AB #AB4073 #A8AB40
square
#40AB78 #4240AB #AB4073 #A8AB40
split-complementary
#40AB78 #AB40A8 #AB4240
monochromatic
#1F5239 #2F7E59 #40AB78 #63C596 #90D5B4

Accessibility & contrast

On white

2.87
#40AB78 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.31
#40AB78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40AB78
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40AB78#FFFFFF#000000##000000
##40AB781.002.877.317.31
#FFFFFF2.871.0021.0021.00
#0000007.3121.001.001.00
##0000007.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99F75
Deuteranopia (green-blind)
#9B947B
Tritanopia (blue-blind)
#00AA9D
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #40ab78;
/* rgb */ color: rgb(64, 171, 120);
/* oklch */ color: oklch(66.6% 0.125 159.2);
Tailwind
colors: {
  custom: {
    50: '#80c59f',
    500: '#40ab78',
    950: '#000000',
  },
}
SCSS
$custom: #40ab78;
$custom-light: #80c59f;
$custom-dark: #000000;
JSON
{
  "hex": "#40ab78",
  "rgb": {
    "r": 64,
    "g": 171,
    "b": 120
  },
  "hsl": {
    "h": 151.402,
    "s": 45.532,
    "l": 46.078
  },
  "oklch": {
    "l": 0.66601,
    "c": 0.12481,
    "h": 159.2
  },
  "luminance": 0.31572
}

Semantic roles & 50–950 ramp

primary
#40AB78
secondary
#C186A2
accent
#5391D5
background
#F8FCF9
surface
#EFF8F2
border
#CAD1CC
text
#0B130E
muted
#7C827E

Preview Lab

Preview with #40AB78

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

Preview Lab → · Contrast checker → · Palette generator →

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