#40D857#40D857

#40D857 is a light, highly saturated green. Relative luminance 0.509; OKLCH L 77.7% C 0.213 H 145.5°. Best body text is #000000 at 11.18:1 contrast (WCAG AA passes).

Color values

HEX#40D857
RGBrgb(64, 216, 87)
HSLhsl(129, 66%, 55%)
HSVhsv(129, 70%, 85%)
CMYKcmyk(70.4%, 0%, 59.7%, 15.3%)
CIE-LABlab(76.61, -64.96, 51.26)
CIE-LCHlch(76.61, 82.75, 141.72°)
OKLaboklab(77.68% -0.1754 0.1207)
OKLCHoklch(77.68% 0.213 145.5)
XYZxyz(28.3886, 50.8867, 17.3410)
Luminance0.5089 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40D857 #D840C1
analogous
#75D840 #40D857 #40D8A3
triadic
#40D857 #5740D8 #D85740
tetradic
#40D857 #4075D8 #D840C1 #D8A340
square
#40D857 #4075D8 #D840C1 #D8A340
split-complementary
#40D857 #A340D8 #D84075
monochromatic
#1B832A #25B63B #40D857 #73E284 #A6EDB0

Accessibility & contrast

On white

1.88
#40D857 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.18
#40D857 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40D857
11.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40D857#FFFFFF#000000##000000
##40D8571.001.8811.1811.18
#FFFFFF1.881.0021.0021.00
#00000011.1821.001.001.00
##00000011.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC549
Deuteranopia (green-blind)
#CAB862
Tritanopia (blue-blind)
#00D3BC
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #40d857;
/* rgb */ color: rgb(64, 216, 87);
/* oklch */ color: oklch(77.7% 0.213 145.5);
Tailwind
colors: {
  custom: {
    50: '#89e58a',
    500: '#40d857',
    950: '#000000',
  },
}
SCSS
$custom: #40d857;
$custom-light: #89e58a;
$custom-dark: #000000;
JSON
{
  "hex": "#40d857",
  "rgb": {
    "r": 64,
    "g": 216,
    "b": 87
  },
  "hsl": {
    "h": 129.079,
    "s": 66.087,
    "l": 54.902
  },
  "oklch": {
    "l": 0.77677,
    "c": 0.21288,
    "h": 145.5
  },
  "luminance": 0.5089
}

Semantic roles & 50–950 ramp

primary
#40D857
secondary
#8A337C
accent
#3FCFE9
background
#FCFEFC
surface
#F4FCF4
border
#CED5CE
text
#0D160C
muted
#7F847F

Preview Lab

Preview with #40D857

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

Preview Lab → · Contrast checker → · Palette generator →

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