#40AB77#40AB77

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

Color values

HEX#40AB77
RGBrgb(64, 171, 119)
HSLhsl(151, 46%, 46%)
HSVhsv(151, 63%, 67%)
CMYKcmyk(62.6%, 0%, 30.4%, 32.9%)
CIE-LABlab(62.97, -42.95, 17.93)
CIE-LCHlch(62.97, 46.54, 157.34°)
OKLaboklab(66.58% -0.1172 0.0455)
OKLCHoklch(66.58% 0.126 158.8)
XYZxyz(20.0052, 31.5457, 22.4838)
Luminance0.3155 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40AB77 #AB4074
analogous
#40AB41 #40AB77 #40A9AB
triadic
#40AB77 #7740AB #AB7740
tetradic
#40AB77 #4140AB #AB4074 #A9AB40
square
#40AB77 #4140AB #AB4074 #A9AB40
split-complementary
#40AB77 #AB40A9 #AB4140
monochromatic
#1F5239 #2F7E58 #40AB77 #63C595 #90D5B4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40AB77#FFFFFF#000000##000000
##40AB771.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)
#A99F74
Deuteranopia (green-blind)
#9B947A
Tritanopia (blue-blind)
#00AA9D
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #40ab77;
/* rgb */ color: rgb(64, 171, 119);
/* oklch */ color: oklch(66.6% 0.126 158.8);
Tailwind
colors: {
  custom: {
    50: '#80c59e',
    500: '#40ab77',
    950: '#000000',
  },
}
SCSS
$custom: #40ab77;
$custom-light: #80c59e;
$custom-dark: #000000;
JSON
{
  "hex": "#40ab77",
  "rgb": {
    "r": 64,
    "g": 171,
    "b": 119
  },
  "hsl": {
    "h": 150.841,
    "s": 45.532,
    "l": 46.078
  },
  "oklch": {
    "l": 0.66578,
    "c": 0.12571,
    "h": 158.8
  },
  "luminance": 0.31548
}

Semantic roles & 50–950 ramp

primary
#40AB77
secondary
#C186A3
accent
#5392D5
background
#F8FCF9
surface
#EFF8F2
border
#CAD1CC
text
#0B130E
muted
#7C827E

Preview Lab

Preview with #40AB77

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

Preview Lab → · Contrast checker → · Palette generator →

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