#40C798#40C798

#40C798 is a light, vivid teal. Relative luminance 0.442; OKLCH L 74.5% C 0.135 H 165.6°. Best body text is #000000 at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#40C798
RGBrgb(64, 199, 152)
HSLhsl(159, 55%, 52%)
HSVhsv(159, 68%, 78%)
CMYKcmyk(67.8%, 0%, 23.6%, 22%)
CIE-LABlab(72.36, -47.38, 13.11)
CIE-LCHlch(72.36, 49.16, 164.54°)
OKLaboklab(74.51% -0.1309 0.0335)
OKLCHoklch(74.51% 0.135 165.6)
XYZxyz(28.2022, 44.2007, 36.7450)
Luminance0.4420 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C798 #C7406F
analogous
#40C755 #40C798 #40B3C7
triadic
#40C798 #9840C7 #C79840
tetradic
#40C798 #5540C7 #C7406F #B3C740
square
#40C798 #5540C7 #C7406F #B3C740
split-complementary
#40C798 #C740B3 #C75540
monochromatic
#206D52 #2E9C76 #40C798 #6FD5B2 #9FE3CB

Accessibility & contrast

On white

2.13
#40C798 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.84
#40C798 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C798
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C798#FFFFFF#000000##000000
##40C7981.002.139.849.84
#FFFFFF2.131.0021.0021.00
#0000009.8421.001.001.00
##0000009.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3B995
Deuteranopia (green-blind)
#B1AC9B
Tritanopia (blue-blind)
#00C7BA
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #40c798;
/* rgb */ color: rgb(64, 199, 152);
/* oklch */ color: oklch(74.5% 0.135 165.6);
Tailwind
colors: {
  custom: {
    50: '#85d9b6',
    500: '#40c798',
    950: '#000000',
  },
}
SCSS
$custom: #40c798;
$custom-light: #85d9b6;
$custom-dark: #000000;
JSON
{
  "hex": "#40c798",
  "rgb": {
    "r": 64,
    "g": 199,
    "b": 152
  },
  "hsl": {
    "h": 159.111,
    "s": 54.656,
    "l": 51.569
  },
  "oklch": {
    "l": 0.74506,
    "c": 0.13513,
    "h": 165.6
  },
  "luminance": 0.44204
}

Semantic roles & 50–950 ramp

primary
#40C798
secondary
#CF94A8
accent
#4A7DDE
background
#F8FDFB
surface
#F0FAF6
border
#CBD3D0
text
#0C1511
muted
#7D8380

Preview Lab

Preview with #40C798

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

Preview Lab → · Contrast checker → · Palette generator →

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