#40AB7B#40AB7B

#40AB7B is a light, vivid teal. Relative luminance 0.316; OKLCH L 66.7% C 0.122 H 160.7°. Best body text is #000000 at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#40AB7B
RGBrgb(64, 171, 123)
HSLhsl(153, 46%, 46%)
HSVhsv(153, 63%, 67%)
CMYKcmyk(62.6%, 0%, 28.1%, 32.9%)
CIE-LABlab(63.05, -42.09, 15.85)
CIE-LCHlch(63.05, 44.98, 159.36°)
OKLaboklab(66.67% -0.1153 0.0404)
OKLCHoklch(66.67% 0.122 160.7)
XYZxyz(20.2505, 31.6438, 23.7757)
Luminance0.3165 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40AB7B #AB4070
analogous
#40AB45 #40AB7B #40A5AB
triadic
#40AB7B #7B40AB #AB7B40
tetradic
#40AB7B #4540AB #AB4070 #A5AB40
square
#40AB7B #4540AB #AB4070 #A5AB40
split-complementary
#40AB7B #AB40A5 #AB4540
monochromatic
#1F523B #2F7E5B #40AB7B #63C599 #90D5B6

Accessibility & contrast

On white

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

On black

7.33
#40AB7B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40AB7B
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40AB7B#FFFFFF#000000##000000
##40AB7B1.002.877.337.33
#FFFFFF2.871.0021.0021.00
#0000007.3321.001.001.00
##0000007.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99F78
Deuteranopia (green-blind)
#9A947E
Tritanopia (blue-blind)
#00AA9E
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #40ab7b;
/* rgb */ color: rgb(64, 171, 123);
/* oklch */ color: oklch(66.7% 0.122 160.7);
Tailwind
colors: {
  custom: {
    50: '#80c5a1',
    500: '#40ab7b',
    950: '#000000',
  },
}
SCSS
$custom: #40ab7b;
$custom-light: #80c5a1;
$custom-dark: #000000;
JSON
{
  "hex": "#40ab7b",
  "rgb": {
    "r": 64,
    "g": 171,
    "b": 123
  },
  "hsl": {
    "h": 153.084,
    "s": 45.532,
    "l": 46.078
  },
  "oklch": {
    "l": 0.66672,
    "c": 0.12214,
    "h": 160.7
  },
  "luminance": 0.31646
}

Semantic roles & 50–950 ramp

primary
#40AB7B
secondary
#C186A0
accent
#538DD5
background
#F8FCF9
surface
#EFF8F2
border
#CAD1CC
text
#0B130F
muted
#7C827E

Preview Lab

Preview with #40AB7B

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

Preview Lab → · Contrast checker → · Palette generator →

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