#40A07D#40A07D

#40A07D is a light, moderate teal. Relative luminance 0.277; OKLCH L 63.9% C 0.105 H 166.0°. Best body text is #000000 at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#40A07D
RGBrgb(64, 160, 125)
HSLhsl(158, 43%, 44%)
HSVhsv(158, 60%, 63%)
CMYKcmyk(60%, 0%, 21.9%, 37.3%)
CIE-LABlab(59.63, -36.81, 9.95)
CIE-LCHlch(59.63, 38.13, 164.87°)
OKLaboklab(63.89% -0.1022 0.0255)
OKLCHoklch(63.89% 0.105 166)
XYZxyz(18.3850, 27.7104, 23.7778)
Luminance0.2771 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A07D #A04063
analogous
#40A04D #40A07D #4093A0
triadic
#40A07D #7D40A0 #A07D40
tetradic
#40A07D #4D40A0 #A04063 #93A040
square
#40A07D #4D40A0 #A04063 #93A040
split-complementary
#40A07D #A04093 #A04D40
monochromatic
#1D4939 #2F745B #40A07D #5EBF9C #8AD0B7

Accessibility & contrast

On white

3.21
#40A07D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.54
#40A07D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40A07D
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A07D#FFFFFF#000000##000000
##40A07D1.003.216.546.54
#FFFFFF3.211.0021.0021.00
#0000006.5421.001.001.00
##0000006.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D957B
Deuteranopia (green-blind)
#8F8C7F
Tritanopia (blue-blind)
#02A096
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #40a07d;
/* rgb */ color: rgb(64, 160, 125);
/* oklch */ color: oklch(63.9% 0.105 166.0);
Tailwind
colors: {
  custom: {
    50: '#7ebda2',
    500: '#40a07d',
    950: '#000000',
  },
}
SCSS
$custom: #40a07d;
$custom-light: #7ebda2;
$custom-dark: #000000;
JSON
{
  "hex": "#40a07d",
  "rgb": {
    "r": 64,
    "g": 160,
    "b": 125
  },
  "hsl": {
    "h": 158.125,
    "s": 42.857,
    "l": 43.922
  },
  "oklch": {
    "l": 0.6389,
    "c": 0.10535,
    "h": 166
  },
  "luminance": 0.27712
}

Semantic roles & 50–950 ramp

primary
#40A07D
secondary
#BB8196
accent
#5583D3
background
#F8FBFA
surface
#EFF6F3
border
#CAD0CD
text
#0B120F
muted
#7C817F

Preview Lab

Preview with #40A07D

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

Preview Lab → · Contrast checker → · Palette generator →

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