#40D98F#40D98F

#40D98F is a light, vivid teal. Relative luminance 0.527; OKLCH L 78.8% C 0.166 H 157.4°. Best body text is #000000 at 11.54:1 contrast (WCAG AA passes).

Color values

HEX#40D98F
RGBrgb(64, 217, 143)
HSLhsl(151, 67%, 55%)
HSVhsv(151, 71%, 85%)
CMYKcmyk(70.5%, 0%, 34.1%, 14.9%)
CIE-LABlab(77.69, -56.45, 25.23)
CIE-LCHlch(77.69, 61.83, 155.92°)
OKLaboklab(78.83% -0.153 0.0636)
OKLCHoklch(78.83% 0.166 157.4)
XYZxyz(31.8820, 52.6952, 34.4722)
Luminance0.5270 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40D98F #D9408A
analogous
#40D942 #40D98F #40D7D9
triadic
#40D98F #8F40D9 #D98F40
tetradic
#40D98F #4240D9 #D9408A #D7D940
square
#40D98F #4240D9 #D9408A #D7D940
split-complementary
#40D98F #D940D7 #D94240
monochromatic
#1A8451 #24B770 #40D98F #73E3AD #A6EDCB

Accessibility & contrast

On white

1.82
#40D98F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.54
#40D98F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40D98F
11.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40D98F#FFFFFF#000000##000000
##40D98F1.001.8211.5411.54
#FFFFFF1.821.0021.0021.00
#00000011.5421.001.001.00
##00000011.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C88A
Deuteranopia (green-blind)
#C4BB94
Tritanopia (blue-blind)
#00D7C6
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #40d98f;
/* rgb */ color: rgb(64, 217, 143);
/* oklch */ color: oklch(78.8% 0.166 157.4);
Tailwind
colors: {
  custom: {
    50: '#88e6b0',
    500: '#40d98f',
    950: '#000000',
  },
}
SCSS
$custom: #40d98f;
$custom-light: #88e6b0;
$custom-dark: #000000;
JSON
{
  "hex": "#40d98f",
  "rgb": {
    "r": 64,
    "g": 217,
    "b": 143
  },
  "hsl": {
    "h": 150.98,
    "s": 66.812,
    "l": 55.098
  },
  "oklch": {
    "l": 0.78826,
    "c": 0.1657,
    "h": 157.4
  },
  "luminance": 0.52699
}

Semantic roles & 50–950 ramp

primary
#40D98F
secondary
#8B325D
accent
#3E91EA
background
#FCFEFD
surface
#F4FCF7
border
#CED5D0
text
#0D1610
muted
#7F8481

Preview Lab

Preview with #40D98F

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

Preview Lab → · Contrast checker → · Palette generator →

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