#40A87B#40A87B

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

Color values

HEX#40A87B
RGBrgb(64, 168, 123)
HSLhsl(154, 45%, 45%)
HSVhsv(154, 62%, 66%)
CMYKcmyk(61.9%, 0%, 26.8%, 34.1%)
CIE-LABlab(62.10, -40.80, 14.54)
CIE-LCHlch(62.10, 43.31, 160.38°)
OKLaboklab(65.9% -0.112 0.0371)
OKLCHoklch(65.9% 0.118 161.7)
XYZxyz(19.6903, 30.5233, 23.5890)
Luminance0.3053 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A87B #A8406D
analogous
#40A847 #40A87B #40A1A8
triadic
#40A87B #7B40A8 #A87B40
tetradic
#40A87B #4740A8 #A8406D #A1A840
square
#40A87B #4740A8 #A8406D #A1A840
split-complementary
#40A87B #A840A1 #A84740
monochromatic
#1E4F3A #2F7C5B #40A87B #62C399 #8ED4B6

Accessibility & contrast

On white

2.96
#40A87B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##40A87B#FFFFFF#000000##000000
##40A87B1.002.967.117.11
#FFFFFF2.961.0021.0021.00
#0000007.1121.001.001.00
##0000007.1121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #40a87b;
/* rgb */ color: rgb(64, 168, 123);
/* oklch */ color: oklch(65.9% 0.118 161.7);
Tailwind
colors: {
  custom: {
    50: '#7fc2a1',
    500: '#40a87b',
    950: '#000000',
  },
}
SCSS
$custom: #40a87b;
$custom-light: #7fc2a1;
$custom-dark: #000000;
JSON
{
  "hex": "#40a87b",
  "rgb": {
    "r": 64,
    "g": 168,
    "b": 123
  },
  "hsl": {
    "h": 154.038,
    "s": 44.828,
    "l": 45.49
  },
  "oklch": {
    "l": 0.65899,
    "c": 0.118,
    "h": 161.7
  },
  "luminance": 0.30525
}

Semantic roles & 50–950 ramp

primary
#40A87B
secondary
#BF859E
accent
#538BD5
background
#F8FCF9
surface
#EFF8F2
border
#CAD1CC
text
#0B120F
muted
#7C817E

Preview Lab

Preview with #40A87B

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

Preview Lab → · Contrast checker → · Palette generator →

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