#40A173#40A173

#40A173 is a light, moderate teal. Relative luminance 0.278; OKLCH L 63.9% C 0.115 H 159.8°. Best body text is #000000 at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#40A173
RGBrgb(64, 161, 115)
HSLhsl(152, 43%, 44%)
HSVhsv(152, 60%, 63%)
CMYKcmyk(60.2%, 0%, 28.6%, 36.9%)
CIE-LABlab(59.72, -39.51, 15.67)
CIE-LCHlch(59.72, 42.50, 158.37°)
OKLaboklab(63.9% -0.1082 0.0399)
OKLCHoklch(63.9% 0.115 159.8)
XYZxyz(17.9521, 27.8158, 20.6392)
Luminance0.2782 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A173 #A1406E
analogous
#40A143 #40A173 #409FA1
triadic
#40A173 #7340A1 #A17340
tetradic
#40A173 #4340A1 #A1406E #9FA140
square
#40A173 #4340A1 #A1406E #9FA140
split-complementary
#40A173 #A1409F #A14340
monochromatic
#1D4934 #2F7554 #40A173 #5FBF92 #8BD1B0

Accessibility & contrast

On white

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

On black

6.56
#40A173 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40A173
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A173#FFFFFF#000000##000000
##40A1731.003.206.566.56
#FFFFFF3.201.0021.0021.00
#0000006.5621.001.001.00
##0000006.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F9670
Deuteranopia (green-blind)
#928C76
Tritanopia (blue-blind)
#13A095
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #40a173;
/* rgb */ color: rgb(64, 161, 115);
/* oklch */ color: oklch(63.9% 0.115 159.8);
Tailwind
colors: {
  custom: {
    50: '#7ebd9b',
    500: '#40a173',
    950: '#000000',
  },
}
SCSS
$custom: #40a173;
$custom-light: #7ebd9b;
$custom-dark: #000000;
JSON
{
  "hex": "#40a173",
  "rgb": {
    "r": 64,
    "g": 161,
    "b": 115
  },
  "hsl": {
    "h": 151.546,
    "s": 43.111,
    "l": 44.118
  },
  "oklch": {
    "l": 0.63895,
    "c": 0.11527,
    "h": 159.8
  },
  "luminance": 0.27818
}

Semantic roles & 50–950 ramp

primary
#40A173
secondary
#BC819D
accent
#5591D3
background
#F8FBF9
surface
#EFF7F2
border
#CAD0CC
text
#0B120E
muted
#7C817E

Preview Lab

Preview with #40A173

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

Preview Lab → · Contrast checker → · Palette generator →

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