#40A478#40A478

#40A478 is a light, moderate teal. Relative luminance 0.290; OKLCH L 64.8% C 0.115 H 161.4°. Best body text is #000000 at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#40A478
RGBrgb(64, 164, 120)
HSLhsl(154, 44%, 45%)
HSVhsv(154, 61%, 64%)
CMYKcmyk(61%, 0%, 26.8%, 35.7%)
CIE-LABlab(60.78, -39.73, 14.36)
CIE-LCHlch(60.78, 42.24, 160.13°)
OKLaboklab(64.79% -0.1091 0.0366)
OKLCHoklch(64.79% 0.115 161.4)
XYZxyz(18.7782, 28.9951, 22.3727)
Luminance0.2900 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A478 #A4406C
analogous
#40A446 #40A478 #409EA4
triadic
#40A478 #7840A4 #A47840
tetradic
#40A478 #4640A4 #A4406C #9EA440
square
#40A478 #4640A4 #A4406C #9EA440
split-complementary
#40A478 #A4409E #A44640
monochromatic
#1E4C38 #2F7858 #40A478 #60C196 #8CD2B3

Accessibility & contrast

On white

3.09
#40A478 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.80
#40A478 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40A478
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A478#FFFFFF#000000##000000
##40A4781.003.096.806.80
#FFFFFF3.091.0021.0021.00
#0000006.8021.001.001.00
##0000006.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A29976
Deuteranopia (green-blind)
#948F7B
Tritanopia (blue-blind)
#08A498
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #40a478;
/* rgb */ color: rgb(64, 164, 120);
/* oklch */ color: oklch(64.8% 0.115 161.4);
Tailwind
colors: {
  custom: {
    50: '#7fc09f',
    500: '#40a478',
    950: '#000000',
  },
}
SCSS
$custom: #40a478;
$custom-light: #7fc09f;
$custom-dark: #000000;
JSON
{
  "hex": "#40a478",
  "rgb": {
    "r": 64,
    "g": 164,
    "b": 120
  },
  "hsl": {
    "h": 153.6,
    "s": 43.86,
    "l": 44.706
  },
  "oklch": {
    "l": 0.64793,
    "c": 0.11505,
    "h": 161.4
  },
  "luminance": 0.28997
}

Semantic roles & 50–950 ramp

primary
#40A478
secondary
#BD839C
accent
#548CD4
background
#F8FBF9
surface
#EFF7F2
border
#CAD0CC
text
#0B120E
muted
#7C817E

Preview Lab

Preview with #40A478

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

Preview Lab → · Contrast checker → · Palette generator →

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