#40D885#40D885

#40D885 is a light, vivid green. Relative luminance 0.519; OKLCH L 78.4% C 0.173 H 154.6°. Best body text is #000000 at 11.38:1 contrast (WCAG AA passes).

Color values

HEX#40D885
RGBrgb(64, 216, 133)
HSLhsl(147, 66%, 55%)
HSVhsv(147, 70%, 85%)
CMYKcmyk(70.4%, 0%, 38.4%, 15.3%)
CIE-LABlab(77.22, -57.99, 29.75)
CIE-LCHlch(77.22, 65.17, 152.84°)
OKLaboklab(78.38% -0.1566 0.0743)
OKLCHoklch(78.38% 0.173 154.6)
XYZxyz(30.9010, 51.8917, 30.5733)
Luminance0.5190 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40D885 #D84093
analogous
#47D840 #40D885 #40D8D1
triadic
#40D885 #8540D8 #D88540
tetradic
#40D885 #4047D8 #D84093 #D8D140
square
#40D885 #4047D8 #D84093 #D8D140
split-complementary
#40D885 #D140D8 #D84047
monochromatic
#1B834A #25B667 #40D885 #73E2A5 #A6EDC6

Accessibility & contrast

On white

1.85
#40D885 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.38
#40D885 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40D885
11.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40D885#FFFFFF#000000##000000
##40D8851.001.8511.3811.38
#FFFFFF1.851.0021.0021.00
#00000011.3821.001.001.00
##00000011.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C77F
Deuteranopia (green-blind)
#C5B98A
Tritanopia (blue-blind)
#00D6C3
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #40d885;
/* rgb */ color: rgb(64, 216, 133);
/* oklch */ color: oklch(78.4% 0.173 154.6);
Tailwind
colors: {
  custom: {
    50: '#88e5a9',
    500: '#40d885',
    950: '#000000',
  },
}
SCSS
$custom: #40d885;
$custom-light: #88e5a9;
$custom-dark: #000000;
JSON
{
  "hex": "#40d885",
  "rgb": {
    "r": 64,
    "g": 216,
    "b": 133
  },
  "hsl": {
    "h": 147.237,
    "s": 66.087,
    "l": 54.902
  },
  "oklch": {
    "l": 0.78375,
    "c": 0.17329,
    "h": 154.6
  },
  "luminance": 0.51895
}

Semantic roles & 50–950 ramp

primary
#40D885
secondary
#8A3362
accent
#3F9CE9
background
#FCFEFC
surface
#F4FCF6
border
#CED5D0
text
#0D1610
muted
#7F8480

Preview Lab

Preview with #40D885

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

Preview Lab → · Contrast checker → · Palette generator →

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