#40D988#40D988

#40D988 is a light, vivid green. Relative luminance 0.525; OKLCH L 78.7% C 0.172 H 155.3°. Best body text is #000000 at 11.50:1 contrast (WCAG AA passes).

Color values

HEX#40D988
RGBrgb(64, 217, 136)
HSLhsl(148, 67%, 55%)
HSVhsv(148, 71%, 85%)
CMYKcmyk(70.5%, 0%, 37.3%, 14.9%)
CIE-LABlab(77.57, -57.80, 28.69)
CIE-LCHlch(77.57, 64.53, 153.61°)
OKLaboklab(78.69% -0.1562 0.0718)
OKLCHoklch(78.69% 0.172 155.3)
XYZxyz(31.3682, 52.4897, 31.7661)
Luminance0.5249 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40D988 #D94091
analogous
#45D940 #40D988 #40D9D4
triadic
#40D988 #8840D9 #D98840
tetradic
#40D988 #4045D9 #D94091 #D9D440
square
#40D988 #4045D9 #D94091 #D9D440
split-complementary
#40D988 #D440D9 #D94045
monochromatic
#1A844C #24B76A #40D988 #73E3A8 #A6EDC8

Accessibility & contrast

On white

1.83
#40D988 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.50
#40D988 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40D988
11.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40D988#FFFFFF#000000##000000
##40D9881.001.8311.5011.50
#FFFFFF1.831.0021.0021.00
#00000011.5021.001.001.00
##00000011.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C883
Deuteranopia (green-blind)
#C5BA8D
Tritanopia (blue-blind)
#00D7C4
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #40d988;
/* rgb */ color: rgb(64, 217, 136);
/* oklch */ color: oklch(78.7% 0.172 155.3);
Tailwind
colors: {
  custom: {
    50: '#88e6ab',
    500: '#40d988',
    950: '#000000',
  },
}
SCSS
$custom: #40d988;
$custom-light: #88e6ab;
$custom-dark: #000000;
JSON
{
  "hex": "#40d988",
  "rgb": {
    "r": 64,
    "g": 217,
    "b": 136
  },
  "hsl": {
    "h": 148.235,
    "s": 66.812,
    "l": 55.098
  },
  "oklch": {
    "l": 0.78686,
    "c": 0.17189,
    "h": 155.3
  },
  "luminance": 0.52493
}

Semantic roles & 50–950 ramp

primary
#40D988
secondary
#8B3261
accent
#3E99EA
background
#FCFEFD
surface
#F4FCF7
border
#CED5D0
text
#0D1610
muted
#7F8481

Preview Lab

Preview with #40D988

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

Preview Lab → · Contrast checker → · Palette generator →

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