#40A795#40A795

#40A795 is a light, moderate teal. Relative luminance 0.309; OKLCH L 66.4% C 0.099 H 179.5°. Best body text is #000000 at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#40A795
RGBrgb(64, 167, 149)
HSLhsl(170, 45%, 45%)
HSVhsv(170, 62%, 65%)
CMYKcmyk(61.7%, 0%, 10.8%, 34.5%)
CIE-LABlab(62.42, -34.05, 0.50)
CIE-LCHlch(62.42, 34.05, 179.15°)
OKLaboklab(66.36% -0.0986 0.0008)
OKLCHoklch(66.36% 0.099 179.5)
XYZxyz(21.3554, 30.8951, 33.2659)
Luminance0.3090 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A795 #A74052
analogous
#40A762 #40A795 #4085A7
triadic
#40A795 #9540A7 #A79540
tetradic
#40A795 #6240A7 #A74052 #85A740
square
#40A795 #6240A7 #A74052 #85A740
split-complementary
#40A795 #A74085 #A76240
monochromatic
#1E4F46 #2F7B6E #40A795 #62C3B2 #8ED4C7

Accessibility & contrast

On white

2.93
#40A795 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.18
#40A795 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40A795
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A795#FFFFFF#000000##000000
##40A7951.002.937.187.18
#FFFFFF2.931.0021.0021.00
#0000007.1821.001.001.00
##0000007.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A09D94
Deuteranopia (green-blind)
#919296
Tritanopia (blue-blind)
#00AAA1
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #40a795;
/* rgb */ color: rgb(64, 167, 149);
/* oklch */ color: oklch(66.4% 0.099 179.5);
Tailwind
colors: {
  custom: {
    50: '#80c1b4',
    500: '#40a795',
    950: '#000000',
  },
}
SCSS
$custom: #40a795;
$custom-light: #80c1b4;
$custom-dark: #000000;
JSON
{
  "hex": "#40a795",
  "rgb": {
    "r": 64,
    "g": 167,
    "b": 149
  },
  "hsl": {
    "h": 169.515,
    "s": 44.589,
    "l": 45.294
  },
  "oklch": {
    "l": 0.66365,
    "c": 0.09856,
    "h": 179.5
  },
  "luminance": 0.30897
}

Semantic roles & 50–950 ramp

primary
#40A795
secondary
#BF848E
accent
#546AD4
background
#F8FBFB
surface
#EFF7F6
border
#CAD0D0
text
#0B1211
muted
#7C8180

Preview Lab

Preview with #40A795

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

Preview Lab → · Contrast checker → · Palette generator →

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