#40D798#40D798

#40D798 is a light, vivid teal. Relative luminance 0.520; OKLCH L 78.5% C 0.155 H 161.0°. Best body text is #000000 at 11.39:1 contrast (WCAG AA passes).

Color values

HEX#40D798
RGBrgb(64, 215, 152)
HSLhsl(155, 65%, 55%)
HSVhsv(155, 70%, 84%)
CMYKcmyk(70.2%, 0%, 29.3%, 15.7%)
CIE-LABlab(77.25, -53.83, 19.92)
CIE-LCHlch(77.25, 57.40, 159.69°)
OKLaboklab(78.52% -0.1469 0.0506)
OKLCHoklch(78.52% 0.155 161)
XYZxyz(32.0790, 51.9542, 38.0372)
Luminance0.5196 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40D798 #D7407F
analogous
#40D74D #40D798 #40CAD7
triadic
#40D798 #9840D7 #D79840
tetradic
#40D798 #4D40D7 #D7407F #CAD740
square
#40D798 #4D40D7 #D7407F #CAD740
split-complementary
#40D798 #D740CA #D74D40
monochromatic
#1B8157 #26B479 #40D798 #73E2B3 #A5ECCF

Accessibility & contrast

On white

1.84
#40D798 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.39
#40D798 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40D798
11.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40D798#FFFFFF#000000##000000
##40D7981.001.8411.3911.39
#FFFFFF1.841.0021.0021.00
#00000011.3921.001.001.00
##00000011.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4C794
Deuteranopia (green-blind)
#C1B99C
Tritanopia (blue-blind)
#00D6C6
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #40d798;
/* rgb */ color: rgb(64, 215, 152);
/* oklch */ color: oklch(78.5% 0.155 161.0);
Tailwind
colors: {
  custom: {
    50: '#88e4b6',
    500: '#40d798',
    950: '#000000',
  },
}
SCSS
$custom: #40d798;
$custom-light: #88e4b6;
$custom-dark: #000000;
JSON
{
  "hex": "#40d798",
  "rgb": {
    "r": 64,
    "g": 215,
    "b": 152
  },
  "hsl": {
    "h": 154.967,
    "s": 65.368,
    "l": 54.706
  },
  "oklch": {
    "l": 0.78519,
    "c": 0.15541,
    "h": 161
  },
  "luminance": 0.51958
}

Semantic roles & 50–950 ramp

primary
#40D798
secondary
#883357
accent
#3F86E8
background
#FCFEFD
surface
#F4FCF8
border
#CED5D1
text
#0D1611
muted
#7F8481

Preview Lab

Preview with #40D798

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

Preview Lab → · Contrast checker → · Palette generator →

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