#40A07C#40A07C

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

Color values

HEX#40A07C
RGBrgb(64, 160, 124)
HSLhsl(158, 43%, 44%)
HSVhsv(158, 60%, 63%)
CMYKcmyk(60%, 0%, 22.5%, 37.3%)
CIE-LABlab(59.60, -37.04, 10.48)
CIE-LCHlch(59.60, 38.50, 164.21°)
OKLaboklab(63.86% -0.1027 0.0268)
OKLCHoklch(63.86% 0.106 165.4)
XYZxyz(18.3214, 27.6850, 23.4431)
Luminance0.2769 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A07C #A04064
analogous
#40A04C #40A07C #4094A0
triadic
#40A07C #7C40A0 #A07C40
tetradic
#40A07C #4C40A0 #A04064 #94A040
square
#40A07C #4C40A0 #A04064 #94A040
split-complementary
#40A07C #A04094 #A04C40
monochromatic
#1D4938 #2F745A #40A07C #5EBF9B #8AD0B6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40A07C#FFFFFF#000000##000000
##40A07C1.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)
#9D957A
Deuteranopia (green-blind)
#8F8C7E
Tritanopia (blue-blind)
#04A096
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #40a07c;
/* rgb */ color: rgb(64, 160, 124);
/* oklch */ color: oklch(63.9% 0.106 165.4);
Tailwind
colors: {
  custom: {
    50: '#7ebda2',
    500: '#40a07c',
    950: '#000000',
  },
}
SCSS
$custom: #40a07c;
$custom-light: #7ebda2;
$custom-dark: #000000;
JSON
{
  "hex": "#40a07c",
  "rgb": {
    "r": 64,
    "g": 160,
    "b": 124
  },
  "hsl": {
    "h": 157.5,
    "s": 42.857,
    "l": 43.922
  },
  "oklch": {
    "l": 0.63863,
    "c": 0.10615,
    "h": 165.4
  },
  "luminance": 0.27687
}

Semantic roles & 50–950 ramp

primary
#40A07C
secondary
#BB8197
accent
#5584D3
background
#F8FBF9
surface
#EFF6F2
border
#CAD0CC
text
#0B120F
muted
#7C817E

Preview Lab

Preview with #40A07C

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

Preview Lab → · Contrast checker → · Palette generator →

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