#40D998#40D998

#40D998 is a light, vivid teal. Relative luminance 0.530; OKLCH L 79.0% C 0.158 H 160.5°. Best body text is #000000 at 11.60:1 contrast (WCAG AA passes).

Color values

HEX#40D998
RGBrgb(64, 217, 152)
HSLhsl(155, 67%, 55%)
HSVhsv(155, 71%, 85%)
CMYKcmyk(70.5%, 0%, 30%, 14.9%)
CIE-LABlab(77.86, -54.62, 20.76)
CIE-LCHlch(77.86, 58.43, 159.18°)
OKLaboklab(79.02% -0.1489 0.0527)
OKLCHoklch(79.02% 0.158 160.5)
XYZxyz(32.5914, 52.9790, 38.2080)
Luminance0.5298 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40D998 #D94081
analogous
#40D94C #40D998 #40CDD9
triadic
#40D998 #9840D9 #D99840
tetradic
#40D998 #4C40D9 #D94081 #CDD940
square
#40D998 #4C40D9 #D94081 #CDD940
split-complementary
#40D998 #D940CD #D94C40
monochromatic
#1A8457 #24B779 #40D998 #73E3B4 #A6EDCF

Accessibility & contrast

On white

1.81
#40D998 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.60
#40D998 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40D998
11.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40D998#FFFFFF#000000##000000
##40D9981.001.8111.6011.60
#FFFFFF1.811.0021.0021.00
#00000011.6021.001.001.00
##00000011.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C994
Deuteranopia (green-blind)
#C3BB9C
Tritanopia (blue-blind)
#00D8C8
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #40d998;
/* rgb */ color: rgb(64, 217, 152);
/* oklch */ color: oklch(79.0% 0.158 160.5);
Tailwind
colors: {
  custom: {
    50: '#88e6b6',
    500: '#40d998',
    950: '#000000',
  },
}
SCSS
$custom: #40d998;
$custom-light: #88e6b6;
$custom-dark: #000000;
JSON
{
  "hex": "#40d998",
  "rgb": {
    "r": 64,
    "g": 217,
    "b": 152
  },
  "hsl": {
    "h": 154.51,
    "s": 66.812,
    "l": 55.098
  },
  "oklch": {
    "l": 0.79019,
    "c": 0.15794,
    "h": 160.5
  },
  "luminance": 0.52983
}

Semantic roles & 50–950 ramp

primary
#40D998
secondary
#8B3258
accent
#3E87EA
background
#FCFEFD
surface
#F4FCF8
border
#CED5D1
text
#0D1611
muted
#7F8481

Preview Lab

Preview with #40D998

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

Preview Lab → · Contrast checker → · Palette generator →

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