#40AB9B#40AB9B

#40AB9B is a light, moderate teal. Relative luminance 0.326; OKLCH L 67.6% C 0.100 H 181.6°. Best body text is #000000 at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#40AB9B
RGBrgb(64, 171, 155)
HSLhsl(171, 46%, 46%)
HSVhsv(171, 63%, 67%)
CMYKcmyk(62.6%, 0%, 9.4%, 32.9%)
CIE-LABlab(63.82, -34.33, -0.81)
CIE-LCHlch(63.82, 34.34, 181.35°)
OKLaboklab(67.56% -0.1001 -0.0027)
OKLCHoklch(67.56% 0.1 181.6)
XYZxyz(22.5909, 32.5800, 36.1020)
Luminance0.3258 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40AB9B #AB4050
analogous
#40AB65 #40AB9B #4085AB
triadic
#40AB9B #9B40AB #AB9B40
tetradic
#40AB9B #6540AB #AB4050 #85AB40
square
#40AB9B #6540AB #AB4050 #85AB40
split-complementary
#40AB9B #AB4085 #AB6540
monochromatic
#1F524A #2F7E73 #40AB9B #63C5B6 #90D5CB

Accessibility & contrast

On white

2.79
#40AB9B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.52
#40AB9B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40AB9B
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40AB9B#FFFFFF#000000##000000
##40AB9B1.002.797.527.52
#FFFFFF2.791.0021.0021.00
#0000007.5221.001.001.00
##0000007.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A4A19A
Deuteranopia (green-blind)
#94969C
Tritanopia (blue-blind)
#00AEA6
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #40ab9b;
/* rgb */ color: rgb(64, 171, 155);
/* oklch */ color: oklch(67.6% 0.100 181.6);
Tailwind
colors: {
  custom: {
    50: '#81c4b8',
    500: '#40ab9b',
    950: '#000000',
  },
}
SCSS
$custom: #40ab9b;
$custom-light: #81c4b8;
$custom-dark: #000000;
JSON
{
  "hex": "#40ab9b",
  "rgb": {
    "r": 64,
    "g": 171,
    "b": 155
  },
  "hsl": {
    "h": 171.028,
    "s": 45.532,
    "l": 46.078
  },
  "oklch": {
    "l": 0.67557,
    "c": 0.10016,
    "h": 181.6
  },
  "luminance": 0.32582
}

Semantic roles & 50–950 ramp

primary
#40AB9B
secondary
#C1868F
accent
#5366D5
background
#F8FCFB
surface
#F0F8F6
border
#CBD1D0
text
#0B1311
muted
#7C8280

Preview Lab

Preview with #40AB9B

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

Preview Lab → · Contrast checker → · Palette generator →

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