#40A79D#40A79D

#40A79D is a light, moderate teal. Relative luminance 0.312; OKLCH L 66.6% C 0.095 H 186.2°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#40A79D
RGBrgb(64, 167, 157)
HSLhsl(174, 45%, 45%)
HSVhsv(174, 62%, 65%)
CMYKcmyk(61.7%, 0%, 6%, 34.5%)
CIE-LABlab(62.64, -31.90, -3.66)
CIE-LCHlch(62.64, 32.11, 186.54°)
OKLaboklab(66.62% -0.0949 -0.0104)
OKLCHoklch(66.62% 0.095 186.2)
XYZxyz(22.0161, 31.1594, 36.7459)
Luminance0.3116 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A79D #A7404A
analogous
#40A76A #40A79D #407DA7
triadic
#40A79D #9D40A7 #A79D40
tetradic
#40A79D #6A40A7 #A7404A #7DA740
square
#40A79D #6A40A7 #A7404A #7DA740
split-complementary
#40A79D #A7407D #A76A40
monochromatic
#1E4F4A #2F7B73 #40A79D #62C3B9 #8ED4CD

Accessibility & contrast

On white

2.90
#40A79D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.23
#40A79D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40A79D
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A79D#FFFFFF#000000##000000
##40A79D1.002.907.237.23
#FFFFFF2.901.0021.0021.00
#0000007.2321.001.001.00
##0000007.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F9E9D
Deuteranopia (green-blind)
#8F939E
Tritanopia (blue-blind)
#00ABA4
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #40a79d;
/* rgb */ color: rgb(64, 167, 157);
/* oklch */ color: oklch(66.6% 0.095 186.2);
Tailwind
colors: {
  custom: {
    50: '#81c1b9',
    500: '#40a79d',
    950: '#000000',
  },
}
SCSS
$custom: #40a79d;
$custom-light: #81c1b9;
$custom-dark: #000000;
JSON
{
  "hex": "#40a79d",
  "rgb": {
    "r": 64,
    "g": 167,
    "b": 157
  },
  "hsl": {
    "h": 174.175,
    "s": 44.589,
    "l": 45.294
  },
  "oklch": {
    "l": 0.6662,
    "c": 0.09544,
    "h": 186.2
  },
  "luminance": 0.31162
}

Semantic roles & 50–950 ramp

primary
#40A79D
secondary
#BF848A
accent
#5460D4
background
#F8FBFB
surface
#EFF7F6
border
#CAD0D0
text
#0B1211
muted
#7C8180

Preview Lab

Preview with #40A79D

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

Preview Lab → · Contrast checker → · Palette generator →

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