#40D985#40D985

#40D985 is a light, vivid green. Relative luminance 0.524; OKLCH L 78.6% C 0.175 H 154.5°. Best body text is #000000 at 11.48:1 contrast (WCAG AA passes).

Color values

HEX#40D985
RGBrgb(64, 217, 133)
HSLhsl(147, 67%, 55%)
HSVhsv(147, 71%, 85%)
CMYKcmyk(70.5%, 0%, 38.7%, 14.9%)
CIE-LABlab(77.52, -58.36, 30.16)
CIE-LCHlch(77.52, 65.69, 152.67°)
OKLaboklab(78.63% -0.1575 0.0752)
OKLCHoklch(78.63% 0.175 154.5)
XYZxyz(31.1580, 52.4056, 30.6590)
Luminance0.5241 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40D985 #D94094
analogous
#47D940 #40D985 #40D9D2
triadic
#40D985 #8540D9 #D98540
tetradic
#40D985 #4047D9 #D94094 #D9D240
square
#40D985 #4047D9 #D94094 #D9D240
split-complementary
#40D985 #D240D9 #D94047
monochromatic
#1A844A #24B767 #40D985 #73E3A6 #A6EDC6

Accessibility & contrast

On white

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

On black

11.48
#40D985 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40D985
11.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40D985#FFFFFF#000000##000000
##40D9851.001.8311.4811.48
#FFFFFF1.831.0021.0021.00
#00000011.4821.001.001.00
##00000011.4821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #40d985;
/* rgb */ color: rgb(64, 217, 133);
/* oklch */ color: oklch(78.6% 0.175 154.5);
Tailwind
colors: {
  custom: {
    50: '#88e6a9',
    500: '#40d985',
    950: '#000000',
  },
}
SCSS
$custom: #40d985;
$custom-light: #88e6a9;
$custom-dark: #000000;
JSON
{
  "hex": "#40d985",
  "rgb": {
    "r": 64,
    "g": 217,
    "b": 133
  },
  "hsl": {
    "h": 147.059,
    "s": 66.812,
    "l": 55.098
  },
  "oklch": {
    "l": 0.78628,
    "c": 0.17458,
    "h": 154.5
  },
  "luminance": 0.52409
}

Semantic roles & 50–950 ramp

primary
#40D985
secondary
#8B3263
accent
#3E9CEA
background
#FCFEFC
surface
#F4FCF6
border
#CED5D0
text
#0D1610
muted
#7F8480

Preview Lab

Preview with #40D985

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

Preview Lab → · Contrast checker → · Palette generator →

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