#40A187#40A187

#40A187 is a light, moderate teal. Relative luminance 0.283; OKLCH L 64.4% C 0.099 H 172.5°. Best body text is #000000 at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#40A187
RGBrgb(64, 161, 135)
HSLhsl(164, 43%, 44%)
HSVhsv(164, 60%, 63%)
CMYKcmyk(60.2%, 0%, 16.1%, 36.9%)
CIE-LABlab(60.18, -34.85, 5.13)
CIE-LCHlch(60.18, 35.22, 171.63°)
OKLaboklab(64.42% -0.0985 0.013)
OKLCHoklch(64.42% 0.099 172.5)
XYZxyz(19.2303, 28.3271, 27.3712)
Luminance0.2833 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A187 #A1405A
analogous
#40A157 #40A187 #408BA1
triadic
#40A187 #8740A1 #A18740
tetradic
#40A187 #5740A1 #A1405A #8BA140
square
#40A187 #5740A1 #A1405A #8BA140
split-complementary
#40A187 #A1408B #A15740
monochromatic
#1D493E #2F7562 #40A187 #5FBFA5 #8BD1BE

Accessibility & contrast

On white

3.15
#40A187 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.67
#40A187 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40A187
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A187#FFFFFF#000000##000000
##40A1871.003.156.676.67
#FFFFFF3.151.0021.0021.00
#0000006.6721.001.001.00
##0000006.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C9786
Deuteranopia (green-blind)
#8E8D89
Tritanopia (blue-blind)
#00A299
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #40a187;
/* rgb */ color: rgb(64, 161, 135);
/* oklch */ color: oklch(64.4% 0.099 172.5);
Tailwind
colors: {
  custom: {
    50: '#7fbdaa',
    500: '#40a187',
    950: '#000000',
  },
}
SCSS
$custom: #40a187;
$custom-light: #7fbdaa;
$custom-dark: #000000;
JSON
{
  "hex": "#40a187",
  "rgb": {
    "r": 64,
    "g": 161,
    "b": 135
  },
  "hsl": {
    "h": 163.918,
    "s": 43.111,
    "l": 44.118
  },
  "oklch": {
    "l": 0.64424,
    "c": 0.0994,
    "h": 172.5
  },
  "luminance": 0.28329
}

Semantic roles & 50–950 ramp

primary
#40A187
secondary
#BC8191
accent
#5577D3
background
#F8FBFA
surface
#EFF6F4
border
#CAD0CE
text
#0B1210
muted
#7C817F

Preview Lab

Preview with #40A187

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

Preview Lab → · Contrast checker → · Palette generator →

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