#40A997#40A997

#40A997 is a light, moderate teal. Relative luminance 0.317; OKLCH L 66.9% C 0.100 H 179.8°. Best body text is #000000 at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#40A997
RGBrgb(64, 169, 151)
HSLhsl(170, 45%, 46%)
HSVhsv(170, 62%, 66%)
CMYKcmyk(62.1%, 0%, 10.7%, 33.7%)
CIE-LABlab(63.09, -34.45, 0.37)
CIE-LCHlch(63.09, 34.46, 179.39°)
OKLaboklab(66.93% -0.0998 0.0004)
OKLCHoklch(66.93% 0.1 179.8)
XYZxyz(21.8856, 31.6980, 34.2371)
Luminance0.3170 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A997 #A94052
analogous
#40A962 #40A997 #4086A9
triadic
#40A997 #9740A9 #A99740
tetradic
#40A997 #6240A9 #A94052 #86A940
square
#40A997 #6240A9 #A94052 #86A940
split-complementary
#40A997 #A94086 #A96240
monochromatic
#1E5048 #2F7D6F #40A997 #62C4B3 #8FD5C9

Accessibility & contrast

On white

2.86
#40A997 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.34
#40A997 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40A997
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A997#FFFFFF#000000##000000
##40A9971.002.867.347.34
#FFFFFF2.861.0021.0021.00
#0000007.3421.001.001.00
##0000007.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A29F96
Deuteranopia (green-blind)
#939499
Tritanopia (blue-blind)
#00ACA3
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #40a997;
/* rgb */ color: rgb(64, 169, 151);
/* oklch */ color: oklch(66.9% 0.100 179.8);
Tailwind
colors: {
  custom: {
    50: '#81c3b5',
    500: '#40a997',
    950: '#000000',
  },
}
SCSS
$custom: #40a997;
$custom-light: #81c3b5;
$custom-dark: #000000;
JSON
{
  "hex": "#40a997",
  "rgb": {
    "r": 64,
    "g": 169,
    "b": 151
  },
  "hsl": {
    "h": 169.714,
    "s": 45.064,
    "l": 45.686
  },
  "oklch": {
    "l": 0.6693,
    "c": 0.09981,
    "h": 179.8
  },
  "luminance": 0.317
}

Semantic roles & 50–950 ramp

primary
#40A997
secondary
#C0858F
accent
#5369D5
background
#F8FCFB
surface
#EFF8F6
border
#CAD1D0
text
#0B1211
muted
#7C8180

Preview Lab

Preview with #40A997

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

Preview Lab → · Contrast checker → · Palette generator →

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