#40A07F#40A07F

#40A07F is a light, moderate teal. Relative luminance 0.278; OKLCH L 63.9% C 0.104 H 167.3°. Best body text is #000000 at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#40A07F
RGBrgb(64, 160, 127)
HSLhsl(159, 43%, 44%)
HSVhsv(159, 60%, 63%)
CMYKcmyk(60%, 0%, 20.6%, 37.3%)
CIE-LABlab(59.67, -36.34, 8.90)
CIE-LCHlch(59.67, 37.41, 166.25°)
OKLaboklab(63.94% -0.1013 0.0228)
OKLCHoklch(63.94% 0.104 167.3)
XYZxyz(18.5140, 27.7621, 24.4575)
Luminance0.2776 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A07F #A04061
analogous
#40A04F #40A07F #4091A0
triadic
#40A07F #7F40A0 #A07F40
tetradic
#40A07F #4F40A0 #A04061 #91A040
square
#40A07F #4F40A0 #A04061 #91A040
split-complementary
#40A07F #A04091 #A04F40
monochromatic
#1D493A #2F745C #40A07F #5EBF9E #8AD0B8

Accessibility & contrast

On white

3.20
#40A07F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.55
#40A07F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40A07F
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A07F#FFFFFF#000000##000000
##40A07F1.003.206.556.55
#FFFFFF3.201.0021.0021.00
#0000006.5521.001.001.00
##0000006.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C967D
Deuteranopia (green-blind)
#8F8C81
Tritanopia (blue-blind)
#00A197
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #40a07f;
/* rgb */ color: rgb(64, 160, 127);
/* oklch */ color: oklch(63.9% 0.104 167.3);
Tailwind
colors: {
  custom: {
    50: '#7ebda4',
    500: '#40a07f',
    950: '#000000',
  },
}
SCSS
$custom: #40a07f;
$custom-light: #7ebda4;
$custom-dark: #000000;
JSON
{
  "hex": "#40a07f",
  "rgb": {
    "r": 64,
    "g": 160,
    "b": 127
  },
  "hsl": {
    "h": 159.375,
    "s": 42.857,
    "l": 43.922
  },
  "oklch": {
    "l": 0.63944,
    "c": 0.10379,
    "h": 167.3
  },
  "luminance": 0.27764
}

Semantic roles & 50–950 ramp

primary
#40A07F
secondary
#BB8195
accent
#5580D3
background
#F8FBFA
surface
#EFF6F4
border
#CAD0CE
text
#0B120F
muted
#7C817F

Preview Lab

Preview with #40A07F

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

Preview Lab → · Contrast checker → · Palette generator →

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