#40A87F#40A87F

#40A87F is a light, moderate teal. Relative luminance 0.306; OKLCH L 66.0% C 0.115 H 163.9°. Best body text is #000000 at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#40A87F
RGBrgb(64, 168, 127)
HSLhsl(156, 45%, 45%)
HSVhsv(156, 62%, 66%)
CMYKcmyk(61.9%, 0%, 24.4%, 34.1%)
CIE-LABlab(62.19, -39.90, 12.45)
CIE-LCHlch(62.19, 41.80, 162.67°)
OKLaboklab(66% -0.1101 0.0318)
OKLCHoklch(66% 0.115 163.9)
XYZxyz(19.9458, 30.6255, 24.9347)
Luminance0.3063 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A87F #A84069
analogous
#40A84B #40A87F #409DA8
triadic
#40A87F #7F40A8 #A87F40
tetradic
#40A87F #4B40A8 #A84069 #9DA840
square
#40A87F #4B40A8 #A84069 #9DA840
split-complementary
#40A87F #A8409D #A84B40
monochromatic
#1E4F3C #2F7C5D #40A87F #62C39D #8ED4B9

Accessibility & contrast

On white

2.95
#40A87F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.13
#40A87F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40A87F
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A87F#FFFFFF#000000##000000
##40A87F1.002.957.137.13
#FFFFFF2.951.0021.0021.00
#0000007.1321.001.001.00
##0000007.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59D7D
Deuteranopia (green-blind)
#979282
Tritanopia (blue-blind)
#00A89D
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #40a87f;
/* rgb */ color: rgb(64, 168, 127);
/* oklch */ color: oklch(66.0% 0.115 163.9);
Tailwind
colors: {
  custom: {
    50: '#7fc2a4',
    500: '#40a87f',
    950: '#000000',
  },
}
SCSS
$custom: #40a87f;
$custom-light: #7fc2a4;
$custom-dark: #000000;
JSON
{
  "hex": "#40a87f",
  "rgb": {
    "r": 64,
    "g": 168,
    "b": 127
  },
  "hsl": {
    "h": 156.346,
    "s": 44.828,
    "l": 45.49
  },
  "oklch": {
    "l": 0.65999,
    "c": 0.11461,
    "h": 163.9
  },
  "luminance": 0.30628
}

Semantic roles & 50–950 ramp

primary
#40A87F
secondary
#BF859C
accent
#5386D5
background
#F8FCFA
surface
#EFF8F4
border
#CAD1CE
text
#0B120F
muted
#7C817F

Preview Lab

Preview with #40A87F

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

Preview Lab → · Contrast checker → · Palette generator →

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