#40A581#40A581

#40A581 is a light, moderate teal. Relative luminance 0.296; OKLCH L 65.3% C 0.109 H 166.3°. Best body text is #000000 at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#40A581
RGBrgb(64, 165, 129)
HSLhsl(159, 44%, 45%)
HSVhsv(159, 61%, 65%)
CMYKcmyk(61.2%, 0%, 21.8%, 35.3%)
CIE-LABlab(61.29, -38.11, 10.07)
CIE-LCHlch(61.29, 39.42, 165.20°)
OKLaboklab(65.28% -0.1058 0.0258)
OKLCHoklch(65.28% 0.109 166.3)
XYZxyz(19.5300, 29.5833, 25.4455)
Luminance0.2959 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A581 #A54064
analogous
#40A54F #40A581 #4097A5
triadic
#40A581 #8140A5 #A58140
tetradic
#40A581 #4F40A5 #A54064 #97A540
square
#40A581 #4F40A5 #A54064 #97A540
split-complementary
#40A581 #A54097 #A54F40
monochromatic
#1E4D3C #2F795F #40A581 #61C29F #8DD3BA

Accessibility & contrast

On white

3.04
#40A581 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.92
#40A581 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40A581
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A581#FFFFFF#000000##000000
##40A5811.003.046.926.92
#FFFFFF3.041.0021.0021.00
#0000006.9221.001.001.00
##0000006.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A29A7F
Deuteranopia (green-blind)
#939083
Tritanopia (blue-blind)
#00A59B
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #40a581;
/* rgb */ color: rgb(64, 165, 129);
/* oklch */ color: oklch(65.3% 0.109 166.3);
Tailwind
colors: {
  custom: {
    50: '#7fc0a5',
    500: '#40a581',
    950: '#000000',
  },
}
SCSS
$custom: #40a581;
$custom-light: #7fc0a5;
$custom-dark: #000000;
JSON
{
  "hex": "#40a581",
  "rgb": {
    "r": 64,
    "g": 165,
    "b": 129
  },
  "hsl": {
    "h": 158.614,
    "s": 44.105,
    "l": 44.902
  },
  "oklch": {
    "l": 0.65281,
    "c": 0.10895,
    "h": 166.3
  },
  "luminance": 0.29585
}

Semantic roles & 50–950 ramp

primary
#40A581
secondary
#BE8398
accent
#5482D4
background
#F8FBFA
surface
#EFF7F4
border
#CAD0CE
text
#0B120F
muted
#7C817F

Preview Lab

Preview with #40A581

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

Preview Lab → · Contrast checker → · Palette generator →

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