#40AF96#40AF96

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

Color values

HEX#40AF96
RGBrgb(64, 175, 150)
HSLhsl(166, 46%, 47%)
HSVhsv(166, 63%, 69%)
CMYKcmyk(63.4%, 0%, 14.3%, 31.4%)
CIE-LABlab(64.92, -37.47, 3.58)
CIE-LCHlch(64.92, 37.64, 174.54°)
OKLaboklab(68.41% -0.1067 0.0089)
OKLCHoklch(68.41% 0.107 175.2)
XYZxyz(22.9467, 33.9495, 34.1918)
Luminance0.3395 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40AF96 #AF4059
analogous
#40AF5E #40AF96 #4091AF
triadic
#40AF96 #9640AF #AF9640
tetradic
#40AF96 #5E40AF #AF4059 #91AF40
square
#40AF96 #5E40AF #AF4059 #91AF40
split-complementary
#40AF96 #AF4091 #AF5E40
monochromatic
#1F5549 #308270 #40AF96 #65C7B1 #92D7C8

Accessibility & contrast

On white

2.70
#40AF96 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.79
#40AF96 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40AF96
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40AF96#FFFFFF#000000##000000
##40AF961.002.707.797.79
#FFFFFF2.701.0021.0021.00
#0000007.7921.001.001.00
##0000007.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A9A495
Deuteranopia (green-blind)
#999998
Tritanopia (blue-blind)
#00B1A8
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #40af96;
/* rgb */ color: rgb(64, 175, 150);
/* oklch */ color: oklch(68.4% 0.107 175.2);
Tailwind
colors: {
  custom: {
    50: '#81c7b4',
    500: '#40af96',
    950: '#000000',
  },
}
SCSS
$custom: #40af96;
$custom-light: #81c7b4;
$custom-dark: #000000;
JSON
{
  "hex": "#40af96",
  "rgb": {
    "r": 64,
    "g": 175,
    "b": 150
  },
  "hsl": {
    "h": 166.486,
    "s": 46.444,
    "l": 46.863
  },
  "oklch": {
    "l": 0.68411,
    "c": 0.10712,
    "h": 175.2
  },
  "luminance": 0.33952
}

Semantic roles & 50–950 ramp

primary
#40AF96
secondary
#C38895
accent
#5270D6
background
#F8FCFB
surface
#F0F8F6
border
#CBD1D0
text
#0B1311
muted
#7C8280

Preview Lab

Preview with #40AF96

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

Preview Lab → · Contrast checker → · Palette generator →

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