#40B79B#40B79B

#40B79B is a light, moderate teal. Relative luminance 0.373; OKLCH L 70.6% C 0.114 H 174.2°. Best body text is #000000 at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#40B79B
RGBrgb(64, 183, 155)
HSLhsl(166, 48%, 48%)
HSVhsv(166, 65%, 72%)
CMYKcmyk(65%, 0%, 15.3%, 28.2%)
CIE-LABlab(67.52, -39.79, 4.57)
CIE-LCHlch(67.52, 40.05, 173.46°)
OKLaboklab(70.57% -0.1129 0.0115)
OKLCHoklch(70.57% 0.114 174.2)
XYZxyz(24.9613, 37.3208, 36.8921)
Luminance0.3732 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B79B #B7405C
analogous
#40B75F #40B79B #4097B7
triadic
#40B79B #9B40B7 #B79B40
tetradic
#40B79B #5F40B7 #B7405C #97B740
square
#40B79B #5F40B7 #B7405C #97B740
split-complementary
#40B79B #B74097 #B75F40
monochromatic
#205C4E #308A75 #40B79B #69CBB4 #97DBCB

Accessibility & contrast

On white

2.48
#40B79B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.46
#40B79B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B79B
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B79B#FFFFFF#000000##000000
##40B79B1.002.488.468.46
#FFFFFF2.481.0021.0021.00
#0000008.4621.001.001.00
##0000008.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B1AC9A
Deuteranopia (green-blind)
#A09F9D
Tritanopia (blue-blind)
#00B9AF
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #40b79b;
/* rgb */ color: rgb(64, 183, 155);
/* oklch */ color: oklch(70.6% 0.114 174.2);
Tailwind
colors: {
  custom: {
    50: '#83cdb8',
    500: '#40b79b',
    950: '#000000',
  },
}
SCSS
$custom: #40b79b;
$custom-light: #83cdb8;
$custom-dark: #000000;
JSON
{
  "hex": "#40b79b",
  "rgb": {
    "r": 64,
    "g": 183,
    "b": 155
  },
  "hsl": {
    "h": 165.882,
    "s": 48.178,
    "l": 48.431
  },
  "oklch": {
    "l": 0.70568,
    "c": 0.1135,
    "h": 174.2
  },
  "luminance": 0.37324
}

Semantic roles & 50–950 ramp

primary
#40B79B
secondary
#C68D9A
accent
#5070D8
background
#F8FCFB
surface
#F0F9F6
border
#CBD2D0
text
#0C1311
muted
#7D8280

Preview Lab

Preview with #40B79B

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

Preview Lab → · Contrast checker → · Palette generator →

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