#40A58C#40A58C

#40A58C is a light, moderate teal. Relative luminance 0.299; OKLCH L 65.6% C 0.101 H 173.8°. Best body text is #000000 at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#40A58C
RGBrgb(64, 165, 140)
HSLhsl(165, 44%, 45%)
HSVhsv(165, 61%, 65%)
CMYKcmyk(61.2%, 0%, 15.2%, 35.3%)
CIE-LABlab(61.56, -35.43, 4.30)
CIE-LCHlch(61.56, 35.69, 173.08°)
OKLaboklab(65.59% -0.1006 0.0108)
OKLCHoklch(65.59% 0.101 173.8)
XYZxyz(20.3009, 29.8916, 29.5057)
Luminance0.2989 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A58C #A54059
analogous
#40A55A #40A58C #408BA5
triadic
#40A58C #8C40A5 #A58C40
tetradic
#40A58C #5A40A5 #A54059 #8BA540
square
#40A58C #5A40A5 #A54059 #8BA540
split-complementary
#40A58C #A5408B #A55A40
monochromatic
#1E4D41 #2F7967 #40A58C #61C2AA #8DD3C1

Accessibility & contrast

On white

3.01
#40A58C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.98
#40A58C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40A58C
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A58C#FFFFFF#000000##000000
##40A58C1.003.016.986.98
#FFFFFF3.011.0021.0021.00
#0000006.9821.001.001.00
##0000006.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A09B8B
Deuteranopia (green-blind)
#91908E
Tritanopia (blue-blind)
#00A79E
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #40a58c;
/* rgb */ color: rgb(64, 165, 140);
/* oklch */ color: oklch(65.6% 0.101 173.8);
Tailwind
colors: {
  custom: {
    50: '#7fc0ad',
    500: '#40a58c',
    950: '#000000',
  },
}
SCSS
$custom: #40a58c;
$custom-light: #7fc0ad;
$custom-dark: #000000;
JSON
{
  "hex": "#40a58c",
  "rgb": {
    "r": 64,
    "g": 165,
    "b": 140
  },
  "hsl": {
    "h": 165.149,
    "s": 44.105,
    "l": 44.902
  },
  "oklch": {
    "l": 0.65588,
    "c": 0.10118,
    "h": 173.8
  },
  "luminance": 0.29894
}

Semantic roles & 50–950 ramp

primary
#40A58C
secondary
#BE8392
accent
#5474D4
background
#F8FBFA
surface
#EFF7F4
border
#CAD0CE
text
#0B1210
muted
#7C817F

Preview Lab

Preview with #40A58C

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

Preview Lab → · Contrast checker → · Palette generator →

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