#40A377#40A377

#40A377 is a light, moderate teal. Relative luminance 0.286; OKLCH L 64.5% C 0.115 H 161.2°. Best body text is #000000 at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#40A377
RGBrgb(64, 163, 119)
HSLhsl(153, 44%, 45%)
HSVhsv(153, 61%, 64%)
CMYKcmyk(60.7%, 0%, 27%, 36.1%)
CIE-LABlab(60.44, -39.51, 14.44)
CIE-LCHlch(60.44, 42.07, 159.92°)
OKLaboklab(64.51% -0.1084 0.0368)
OKLCHoklch(64.51% 0.115 161.2)
XYZxyz(18.5396, 28.6144, 21.9953)
Luminance0.2862 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A377 #A3406C
analogous
#40A346 #40A377 #409EA3
triadic
#40A377 #7740A3 #A37740
tetradic
#40A377 #4640A3 #A3406C #9EA340
square
#40A377 #4640A3 #A3406C #9EA340
split-complementary
#40A377 #A3409E #A34640
monochromatic
#1D4B37 #2F7757 #40A377 #60C095 #8CD2B3

Accessibility & contrast

On white

3.12
#40A377 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.72
#40A377 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40A377
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A377#FFFFFF#000000##000000
##40A3771.003.126.726.72
#FFFFFF3.121.0021.0021.00
#0000006.7221.001.001.00
##0000006.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A19874
Deuteranopia (green-blind)
#938E7A
Tritanopia (blue-blind)
#0BA397
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #40a377;
/* rgb */ color: rgb(64, 163, 119);
/* oklch */ color: oklch(64.5% 0.115 161.2);
Tailwind
colors: {
  custom: {
    50: '#7fbf9e',
    500: '#40a377',
    950: '#000000',
  },
}
SCSS
$custom: #40a377;
$custom-light: #7fbf9e;
$custom-dark: #000000;
JSON
{
  "hex": "#40a377",
  "rgb": {
    "r": 64,
    "g": 163,
    "b": 119
  },
  "hsl": {
    "h": 153.333,
    "s": 43.612,
    "l": 44.51
  },
  "oklch": {
    "l": 0.6451,
    "c": 0.11453,
    "h": 161.2
  },
  "luminance": 0.28616
}

Semantic roles & 50–950 ramp

primary
#40A377
secondary
#BD829C
accent
#548DD3
background
#F8FBF9
surface
#EFF7F2
border
#CAD0CC
text
#0B120E
muted
#7C817E

Preview Lab

Preview with #40A377

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

Preview Lab → · Contrast checker → · Palette generator →

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