#40A87C#40A87C

#40A87C is a light, moderate teal. Relative luminance 0.305; OKLCH L 65.9% C 0.117 H 162.2°. Best body text is #000000 at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#40A87C
RGBrgb(64, 168, 124)
HSLhsl(155, 45%, 45%)
HSVhsv(155, 62%, 66%)
CMYKcmyk(61.9%, 0%, 26.2%, 34.1%)
CIE-LABlab(62.12, -40.58, 14.02)
CIE-LCHlch(62.12, 42.93, 160.94°)
OKLaboklab(65.92% -0.1115 0.0358)
OKLCHoklch(65.92% 0.117 162.2)
XYZxyz(19.7532, 30.5485, 23.9203)
Luminance0.3055 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A87C #A8406C
analogous
#40A848 #40A87C #40A0A8
triadic
#40A87C #7C40A8 #A87C40
tetradic
#40A87C #4840A8 #A8406C #A0A840
square
#40A87C #4840A8 #A8406C #A0A840
split-complementary
#40A87C #A840A0 #A84840
monochromatic
#1E4F3B #2F7C5B #40A87C #62C39A #8ED4B7

Accessibility & contrast

On white

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

On black

7.11
#40A87C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40A87C
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A87C#FFFFFF#000000##000000
##40A87C1.002.957.117.11
#FFFFFF2.951.0021.0021.00
#0000007.1121.001.001.00
##0000007.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59C7A
Deuteranopia (green-blind)
#97927F
Tritanopia (blue-blind)
#00A89C
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #40a87c;
/* rgb */ color: rgb(64, 168, 124);
/* oklch */ color: oklch(65.9% 0.117 162.2);
Tailwind
colors: {
  custom: {
    50: '#7fc2a2',
    500: '#40a87c',
    950: '#000000',
  },
}
SCSS
$custom: #40a87c;
$custom-light: #7fc2a2;
$custom-dark: #000000;
JSON
{
  "hex": "#40a87c",
  "rgb": {
    "r": 64,
    "g": 168,
    "b": 124
  },
  "hsl": {
    "h": 154.615,
    "s": 44.828,
    "l": 45.49
  },
  "oklch": {
    "l": 0.65924,
    "c": 0.11714,
    "h": 162.2
  },
  "luminance": 0.3055
}

Semantic roles & 50–950 ramp

primary
#40A87C
secondary
#BF859D
accent
#538AD5
background
#F8FCF9
surface
#EFF8F2
border
#CAD1CC
text
#0B120F
muted
#7C817E

Preview Lab

Preview with #40A87C

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

Preview Lab → · Contrast checker → · Palette generator →

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