#40A17C#40A17C

#40A17C is a light, moderate teal. Relative luminance 0.280; OKLCH L 64.1% C 0.108 H 164.9°. Best body text is #000000 at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#40A17C
RGBrgb(64, 161, 124)
HSLhsl(157, 43%, 44%)
HSVhsv(157, 60%, 63%)
CMYKcmyk(60.2%, 0%, 23%, 36.9%)
CIE-LABlab(59.92, -37.49, 10.92)
CIE-LCHlch(59.92, 39.05, 163.76°)
OKLaboklab(64.12% -0.1038 0.028)
OKLCHoklch(64.12% 0.108 164.9)
XYZxyz(18.4955, 28.0331, 23.5011)
Luminance0.2803 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A17C #A14065
analogous
#40A14C #40A17C #4096A1
triadic
#40A17C #7C40A1 #A17C40
tetradic
#40A17C #4C40A1 #A14065 #96A140
square
#40A17C #4C40A1 #A14065 #96A140
split-complementary
#40A17C #A14096 #A14C40
monochromatic
#1D4939 #2F755A #40A17C #5FBF9B #8BD1B6

Accessibility & contrast

On white

3.18
#40A17C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.61
#40A17C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40A17C
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A17C#FFFFFF#000000##000000
##40A17C1.003.186.616.61
#FFFFFF3.181.0021.0021.00
#0000006.6121.001.001.00
##0000006.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E967A
Deuteranopia (green-blind)
#908C7E
Tritanopia (blue-blind)
#03A197
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #40a17c;
/* rgb */ color: rgb(64, 161, 124);
/* oklch */ color: oklch(64.1% 0.108 164.9);
Tailwind
colors: {
  custom: {
    50: '#7ebda2',
    500: '#40a17c',
    950: '#000000',
  },
}
SCSS
$custom: #40a17c;
$custom-light: #7ebda2;
$custom-dark: #000000;
JSON
{
  "hex": "#40a17c",
  "rgb": {
    "r": 64,
    "g": 161,
    "b": 124
  },
  "hsl": {
    "h": 157.113,
    "s": 43.111,
    "l": 44.118
  },
  "oklch": {
    "l": 0.64121,
    "c": 0.10752,
    "h": 164.9
  },
  "luminance": 0.28035
}

Semantic roles & 50–950 ramp

primary
#40A17C
secondary
#BC8197
accent
#5585D3
background
#F8FBF9
surface
#EFF7F2
border
#CAD0CC
text
#0B120F
muted
#7C817E

Preview Lab

Preview with #40A17C

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

Preview Lab → · Contrast checker → · Palette generator →

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