#40AA8D#40AA8D

#40AA8D is a light, moderate teal. Relative luminance 0.318; OKLCH L 66.9% C 0.107 H 171.7°. Best body text is #000000 at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#40AA8D
RGBrgb(64, 170, 141)
HSLhsl(164, 45%, 46%)
HSVhsv(164, 62%, 67%)
CMYKcmyk(62.4%, 0%, 17.1%, 33.3%)
CIE-LABlab(63.14, -37.46, 6.02)
CIE-LCHlch(63.14, 37.94, 170.87°)
OKLaboklab(66.89% -0.1056 0.0153)
OKLCHoklch(66.89% 0.107 171.7)
XYZxyz(21.2945, 31.7603, 30.2023)
Luminance0.3176 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40AA8D #AA405D
analogous
#40AA58 #40AA8D #4092AA
triadic
#40AA8D #8D40AA #AA8D40
tetradic
#40AA8D #5840AA #AA405D #92AA40
square
#40AA8D #5840AA #AA405D #92AA40
split-complementary
#40AA8D #AA4092 #AA5840
monochromatic
#1F5143 #2F7E68 #40AA8D #63C4AA #8FD5C2

Accessibility & contrast

On white

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

On black

7.35
#40AA8D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40AA8D
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40AA8D#FFFFFF#000000##000000
##40AA8D1.002.867.357.35
#FFFFFF2.861.0021.0021.00
#0000007.3521.001.001.00
##0000007.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59F8C
Deuteranopia (green-blind)
#96948F
Tritanopia (blue-blind)
#00ABA2
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #40aa8d;
/* rgb */ color: rgb(64, 170, 141);
/* oklch */ color: oklch(66.9% 0.107 171.7);
Tailwind
colors: {
  custom: {
    50: '#80c4ae',
    500: '#40aa8d',
    950: '#000000',
  },
}
SCSS
$custom: #40aa8d;
$custom-light: #80c4ae;
$custom-dark: #000000;
JSON
{
  "hex": "#40aa8d",
  "rgb": {
    "r": 64,
    "g": 170,
    "b": 141
  },
  "hsl": {
    "h": 163.585,
    "s": 45.299,
    "l": 45.882
  },
  "oklch": {
    "l": 0.66887,
    "c": 0.10671,
    "h": 171.7
  },
  "luminance": 0.31763
}

Semantic roles & 50–950 ramp

primary
#40AA8D
secondary
#C08696
accent
#5376D5
background
#F8FCFA
surface
#EFF8F4
border
#CAD1CE
text
#0B1310
muted
#7C827F

Preview Lab

Preview with #40AA8D

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

Preview Lab → · Contrast checker → · Palette generator →

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