#40C7B8#40C7B8

#40C7B8 is a light, moderate teal. Relative luminance 0.454; OKLCH L 75.4% C 0.116 H 184.4°. Best body text is #000000 at 10.08:1 contrast (WCAG AA passes).

Color values

HEX#40C7B8
RGBrgb(64, 199, 184)
HSLhsl(173, 55%, 52%)
HSVhsv(173, 68%, 78%)
CMYKcmyk(67.8%, 0%, 7.5%, 22%)
CIE-LABlab(73.15, -39.41, -3.08)
CIE-LCHlch(73.15, 39.53, 184.47°)
OKLaboklab(75.41% -0.1161 -0.0089)
OKLCHoklch(75.41% 0.116 184.4)
XYZxyz(31.1854, 45.3940, 52.4565)
Luminance0.4540 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C7B8 #C7404F
analogous
#40C775 #40C7B8 #4093C7
triadic
#40C7B8 #B840C7 #C7B840
tetradic
#40C7B8 #7540C7 #C7404F #93C740
square
#40C7B8 #7540C7 #C7404F #93C740
split-complementary
#40C7B8 #C74093 #C77540
monochromatic
#206D64 #2E9C90 #40C7B8 #6FD5CA #9FE3DB

Accessibility & contrast

On white

2.08
#40C7B8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.08
#40C7B8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C7B8
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C7B8#FFFFFF#000000##000000
##40C7B81.002.0810.0810.08
#FFFFFF2.081.0021.0021.00
#00000010.0821.001.001.00
##00000010.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDBCB8
Deuteranopia (green-blind)
#AAAEBA
Tritanopia (blue-blind)
#00CBC2
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #40c7b8;
/* rgb */ color: rgb(64, 199, 184);
/* oklch */ color: oklch(75.4% 0.116 184.4);
Tailwind
colors: {
  custom: {
    50: '#87d8cd',
    500: '#40c7b8',
    950: '#000000',
  },
}
SCSS
$custom: #40c7b8;
$custom-light: #87d8cd;
$custom-dark: #000000;
JSON
{
  "hex": "#40c7b8",
  "rgb": {
    "r": 64,
    "g": 199,
    "b": 184
  },
  "hsl": {
    "h": 173.333,
    "s": 54.656,
    "l": 51.569
  },
  "oklch": {
    "l": 0.7541,
    "c": 0.11649,
    "h": 184.4
  },
  "luminance": 0.45398
}

Semantic roles & 50–950 ramp

primary
#40C7B8
secondary
#CF949A
accent
#4A5ADE
background
#F9FDFC
surface
#F1FAF8
border
#CBD3D1
text
#0D1413
muted
#7E8382

Preview Lab

Preview with #40C7B8

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

Preview Lab → · Contrast checker → · Palette generator →

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