#40AF97#40AF97

#40AF97 is a light, moderate teal. Relative luminance 0.340; OKLCH L 68.4% C 0.107 H 175.9°. Best body text is #000000 at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#40AF97
RGBrgb(64, 175, 151)
HSLhsl(167, 46%, 47%)
HSVhsv(167, 63%, 69%)
CMYKcmyk(63.4%, 0%, 13.7%, 31.4%)
CIE-LABlab(64.95, -37.21, 3.06)
CIE-LCHlch(64.95, 37.34, 175.30°)
OKLaboklab(68.44% -0.1063 0.0075)
OKLCHoklch(68.44% 0.107 175.9)
XYZxyz(23.0276, 33.9818, 34.6177)
Luminance0.3398 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40AF97 #AF4058
analogous
#40AF60 #40AF97 #4090AF
triadic
#40AF97 #9740AF #AF9740
tetradic
#40AF97 #6040AF #AF4058 #90AF40
square
#40AF97 #6040AF #AF4058 #90AF40
split-complementary
#40AF97 #AF4090 #AF6040
monochromatic
#1F554A #308270 #40AF97 #65C7B2 #92D7C8

Accessibility & contrast

On white

2.69
#40AF97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.80
#40AF97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40AF97
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40AF97#FFFFFF#000000##000000
##40AF971.002.697.807.80
#FFFFFF2.691.0021.0021.00
#0000007.8021.001.001.00
##0000007.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A9A496
Deuteranopia (green-blind)
#999999
Tritanopia (blue-blind)
#00B1A8
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #40af97;
/* rgb */ color: rgb(64, 175, 151);
/* oklch */ color: oklch(68.4% 0.107 175.9);
Tailwind
colors: {
  custom: {
    50: '#81c7b5',
    500: '#40af97',
    950: '#000000',
  },
}
SCSS
$custom: #40af97;
$custom-light: #81c7b5;
$custom-dark: #000000;
JSON
{
  "hex": "#40af97",
  "rgb": {
    "r": 64,
    "g": 175,
    "b": 151
  },
  "hsl": {
    "h": 167.027,
    "s": 46.444,
    "l": 46.863
  },
  "oklch": {
    "l": 0.68441,
    "c": 0.10656,
    "h": 175.9
  },
  "luminance": 0.33984
}

Semantic roles & 50–950 ramp

primary
#40AF97
secondary
#C38895
accent
#526ED6
background
#F8FCFB
surface
#F0F8F6
border
#CBD1D0
text
#0B1311
muted
#7C8280

Preview Lab

Preview with #40AF97

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

Preview Lab → · Contrast checker → · Palette generator →

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