#40D989#40D989

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

Color values

HEX#40D989
RGBrgb(64, 217, 137)
HSLhsl(149, 67%, 55%)
HSVhsv(149, 71%, 85%)
CMYKcmyk(70.5%, 0%, 36.9%, 14.9%)
CIE-LABlab(77.59, -57.61, 28.19)
CIE-LCHlch(77.59, 64.14, 153.92°)
OKLaboklab(78.71% -0.1557 0.0706)
OKLCHoklch(78.71% 0.171 155.6)
XYZxyz(31.4396, 52.5183, 32.1422)
Luminance0.5252 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40D989 #D94090
analogous
#44D940 #40D989 #40D9D5
triadic
#40D989 #8940D9 #D98940
tetradic
#40D989 #4044D9 #D94090 #D9D540
square
#40D989 #4044D9 #D94090 #D9D540
split-complementary
#40D989 #D540D9 #D94044
monochromatic
#1A844D #24B76B #40D989 #73E3A9 #A6EDC8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40D989#FFFFFF#000000##000000
##40D9891.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)
#D8C884
Deuteranopia (green-blind)
#C5BA8E
Tritanopia (blue-blind)
#00D7C5
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #40d989;
/* rgb */ color: rgb(64, 217, 137);
/* oklch */ color: oklch(78.7% 0.171 155.6);
Tailwind
colors: {
  custom: {
    50: '#88e6ac',
    500: '#40d989',
    950: '#000000',
  },
}
SCSS
$custom: #40d989;
$custom-light: #88e6ac;
$custom-dark: #000000;
JSON
{
  "hex": "#40d989",
  "rgb": {
    "r": 64,
    "g": 217,
    "b": 137
  },
  "hsl": {
    "h": 148.627,
    "s": 66.812,
    "l": 55.098
  },
  "oklch": {
    "l": 0.78705,
    "c": 0.171,
    "h": 155.6
  },
  "luminance": 0.52522
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #40D989

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

Preview Lab → · Contrast checker → · Palette generator →

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