#40A487#40A487

#40A487 is a light, moderate teal. Relative luminance 0.294; OKLCH L 65.2% C 0.103 H 170.8°. Best body text is #000000 at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#40A487
RGBrgb(64, 164, 135)
HSLhsl(163, 44%, 45%)
HSVhsv(163, 61%, 64%)
CMYKcmyk(61%, 0%, 17.7%, 35.7%)
CIE-LABlab(61.12, -36.22, 6.48)
CIE-LCHlch(61.12, 36.79, 169.86°)
OKLaboklab(65.19% -0.1019 0.0165)
OKLCHoklch(65.19% 0.103 170.8)
XYZxyz(19.7609, 29.3882, 27.5481)
Luminance0.2939 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A487 #A4405D
analogous
#40A455 #40A487 #408FA4
triadic
#40A487 #8740A4 #A48740
tetradic
#40A487 #5540A4 #A4405D #8FA440
square
#40A487 #5540A4 #A4405D #8FA440
split-complementary
#40A487 #A4408F #A45540
monochromatic
#1E4C3F #2F7863 #40A487 #60C1A5 #8CD2BE

Accessibility & contrast

On white

3.05
#40A487 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.88
#40A487 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40A487
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A487#FFFFFF#000000##000000
##40A4871.003.056.886.88
#FFFFFF3.051.0021.0021.00
#0000006.8821.001.001.00
##0000006.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F9A86
Deuteranopia (green-blind)
#918F89
Tritanopia (blue-blind)
#00A59C
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #40a487;
/* rgb */ color: rgb(64, 164, 135);
/* oklch */ color: oklch(65.2% 0.103 170.8);
Tailwind
colors: {
  custom: {
    50: '#7fbfaa',
    500: '#40a487',
    950: '#000000',
  },
}
SCSS
$custom: #40a487;
$custom-light: #7fbfaa;
$custom-dark: #000000;
JSON
{
  "hex": "#40a487",
  "rgb": {
    "r": 64,
    "g": 164,
    "b": 135
  },
  "hsl": {
    "h": 162.6,
    "s": 43.86,
    "l": 44.706
  },
  "oklch": {
    "l": 0.6519,
    "c": 0.1032,
    "h": 170.8
  },
  "luminance": 0.2939
}

Semantic roles & 50–950 ramp

primary
#40A487
secondary
#BD8394
accent
#5479D4
background
#F8FBFA
surface
#EFF7F4
border
#CAD0CE
text
#0B1210
muted
#7C817F

Preview Lab

Preview with #40A487

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

Preview Lab → · Contrast checker → · Palette generator →

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