#40A171#40A171

#40A171 is a light, moderate teal. Relative luminance 0.278; OKLCH L 63.8% C 0.117 H 158.7°. Best body text is #000000 at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#40A171
RGBrgb(64, 161, 113)
HSLhsl(150, 43%, 44%)
HSVhsv(150, 60%, 63%)
CMYKcmyk(60.2%, 0%, 29.8%, 36.9%)
CIE-LABlab(59.68, -39.94, 16.72)
CIE-LCHlch(59.68, 43.30, 157.29°)
OKLaboklab(63.85% -0.1091 0.0425)
OKLCHoklch(63.85% 0.117 158.7)
XYZxyz(17.8383, 27.7702, 20.0397)
Luminance0.2777 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A171 #A14070
analogous
#40A141 #40A171 #40A1A1
triadic
#40A171 #7140A1 #A17140
tetradic
#40A171 #4140A1 #A14070 #A1A140
square
#40A171 #4140A1 #A14070 #A1A140
split-complementary
#40A171 #A140A1 #A14140
monochromatic
#1D4934 #2F7552 #40A171 #5FBF90 #8BD1AE

Accessibility & contrast

On white

3.20
#40A171 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.55
#40A171 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40A171
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A171#FFFFFF#000000##000000
##40A1711.003.206.556.55
#FFFFFF3.201.0021.0021.00
#0000006.5521.001.001.00
##0000006.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A0956E
Deuteranopia (green-blind)
#928C74
Tritanopia (blue-blind)
#15A094
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #40a171;
/* rgb */ color: rgb(64, 161, 113);
/* oklch */ color: oklch(63.8% 0.117 158.7);
Tailwind
colors: {
  custom: {
    50: '#7ebd9a',
    500: '#40a171',
    950: '#000000',
  },
}
SCSS
$custom: #40a171;
$custom-light: #7ebd9a;
$custom-dark: #000000;
JSON
{
  "hex": "#40a171",
  "rgb": {
    "r": 64,
    "g": 161,
    "b": 113
  },
  "hsl": {
    "h": 150.309,
    "s": 43.111,
    "l": 44.118
  },
  "oklch": {
    "l": 0.63848,
    "c": 0.11709,
    "h": 158.7
  },
  "luminance": 0.27772
}

Semantic roles & 50–950 ramp

primary
#40A171
secondary
#BC819E
accent
#5593D3
background
#F8FBF9
surface
#EFF7F2
border
#CAD0CC
text
#0B120E
muted
#7C817E

Preview Lab

Preview with #40A171

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

Preview Lab → · Contrast checker → · Palette generator →

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