#40A177#40A177

#40A177 is a light, moderate teal. Relative luminance 0.279; OKLCH L 64.0% C 0.112 H 161.9°. Best body text is #000000 at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#40A177
RGBrgb(64, 161, 119)
HSLhsl(154, 43%, 44%)
HSVhsv(154, 60%, 63%)
CMYKcmyk(60.2%, 0%, 26.1%, 36.9%)
CIE-LABlab(59.81, -38.63, 13.56)
CIE-LCHlch(59.81, 40.94, 160.66°)
OKLaboklab(63.99% -0.1062 0.0346)
OKLCHoklch(63.99% 0.112 161.9)
XYZxyz(18.1873, 27.9098, 21.8779)
Luminance0.2791 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A177 #A1406A
analogous
#40A147 #40A177 #409BA1
triadic
#40A177 #7740A1 #A17740
tetradic
#40A177 #4740A1 #A1406A #9BA140
square
#40A177 #4740A1 #A1406A #9BA140
split-complementary
#40A177 #A1409B #A14740
monochromatic
#1D4936 #2F7557 #40A177 #5FBF96 #8BD1B2

Accessibility & contrast

On white

3.19
#40A177 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.58
#40A177 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40A177
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A177#FFFFFF#000000##000000
##40A1771.003.196.586.58
#FFFFFF3.191.0021.0021.00
#0000006.5821.001.001.00
##0000006.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F9675
Deuteranopia (green-blind)
#918C7A
Tritanopia (blue-blind)
#0DA195
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #40a177;
/* rgb */ color: rgb(64, 161, 119);
/* oklch */ color: oklch(64.0% 0.112 161.9);
Tailwind
colors: {
  custom: {
    50: '#7ebd9e',
    500: '#40a177',
    950: '#000000',
  },
}
SCSS
$custom: #40a177;
$custom-light: #7ebd9e;
$custom-dark: #000000;
JSON
{
  "hex": "#40a177",
  "rgb": {
    "r": 64,
    "g": 161,
    "b": 119
  },
  "hsl": {
    "h": 154.021,
    "s": 43.111,
    "l": 44.118
  },
  "oklch": {
    "l": 0.63993,
    "c": 0.11173,
    "h": 161.9
  },
  "luminance": 0.27912
}

Semantic roles & 50–950 ramp

primary
#40A177
secondary
#BC819A
accent
#558BD3
background
#F8FBF9
surface
#EFF7F2
border
#CAD0CC
text
#0B120E
muted
#7C817E

Preview Lab

Preview with #40A177

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

Preview Lab → · Contrast checker → · Palette generator →

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