#40A08B#40A08B

#40A08B is a light, moderate teal. Relative luminance 0.281; OKLCH L 64.3% C 0.096 H 176.2°. Best body text is #000000 at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#40A08B
RGBrgb(64, 160, 139)
HSLhsl(167, 43%, 44%)
HSVhsv(167, 60%, 63%)
CMYKcmyk(60%, 0%, 13.1%, 37.3%)
CIE-LABlab(59.97, -33.37, 2.57)
CIE-LCHlch(59.97, 33.47, 175.60°)
OKLaboklab(64.29% -0.0955 0.0063)
OKLCHoklch(64.29% 0.096 176.2)
XYZxyz(19.3432, 28.0937, 28.8243)
Luminance0.2810 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A08B #A04055
analogous
#40A05B #40A08B #4085A0
triadic
#40A08B #8B40A0 #A08B40
tetradic
#40A08B #5B40A0 #A04055 #85A040
square
#40A08B #5B40A0 #A04055 #85A040
split-complementary
#40A08B #A04085 #A05B40
monochromatic
#1D493F #2F7465 #40A08B #5EBFAA #8AD0C1

Accessibility & contrast

On white

3.17
#40A08B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.62
#40A08B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40A08B
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A08B#FFFFFF#000000##000000
##40A08B1.003.176.626.62
#FFFFFF3.171.0021.0021.00
#0000006.6221.001.001.00
##0000006.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A978A
Deuteranopia (green-blind)
#8C8C8D
Tritanopia (blue-blind)
#00A29A
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #40a08b;
/* rgb */ color: rgb(64, 160, 139);
/* oklch */ color: oklch(64.3% 0.096 176.2);
Tailwind
colors: {
  custom: {
    50: '#7fbcac',
    500: '#40a08b',
    950: '#000000',
  },
}
SCSS
$custom: #40a08b;
$custom-light: #7fbcac;
$custom-dark: #000000;
JSON
{
  "hex": "#40a08b",
  "rgb": {
    "r": 64,
    "g": 160,
    "b": 139
  },
  "hsl": {
    "h": 166.875,
    "s": 42.857,
    "l": 43.922
  },
  "oklch": {
    "l": 0.64288,
    "c": 0.09574,
    "h": 176.2
  },
  "luminance": 0.28096
}

Semantic roles & 50–950 ramp

primary
#40A08B
secondary
#BB818E
accent
#5571D3
background
#F8FBFA
surface
#EFF6F4
border
#CAD0CE
text
#0B1210
muted
#7C817F

Preview Lab

Preview with #40A08B

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

Preview Lab → · Contrast checker → · Palette generator →

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