#40D855#40D855

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

Color values

HEX#40D855
RGBrgb(64, 216, 85)
HSLhsl(128, 66%, 55%)
HSVhsv(128, 70%, 85%)
CMYKcmyk(70.4%, 0%, 60.6%, 15.3%)
CIE-LABlab(76.59, -65.19, 52.12)
CIE-LCHlch(76.59, 83.46, 141.36°)
OKLaboklab(77.66% -0.1761 0.1223)
OKLCHoklch(77.66% 0.214 145.2)
XYZxyz(28.3080, 50.8545, 16.9166)
Luminance0.5086 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40D855 #D840C3
analogous
#77D840 #40D855 #40D8A1
triadic
#40D855 #5540D8 #D85540
tetradic
#40D855 #4077D8 #D840C3 #D8A140
square
#40D855 #4077D8 #D840C3 #D8A140
split-complementary
#40D855 #A140D8 #D84077
monochromatic
#1B8329 #25B639 #40D855 #73E282 #A6EDAF

Accessibility & contrast

On white

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

On black

11.17
#40D855 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40D855
11.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40D855#FFFFFF#000000##000000
##40D8551.001.8811.1711.17
#FFFFFF1.881.0021.0021.00
#00000011.1721.001.001.00
##00000011.1721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #40d855;
/* rgb */ color: rgb(64, 216, 85);
/* oklch */ color: oklch(77.7% 0.214 145.2);
Tailwind
colors: {
  custom: {
    50: '#89e589',
    500: '#40d855',
    950: '#000000',
  },
}
SCSS
$custom: #40d855;
$custom-light: #89e589;
$custom-dark: #000000;
JSON
{
  "hex": "#40d855",
  "rgb": {
    "r": 64,
    "g": 216,
    "b": 85
  },
  "hsl": {
    "h": 128.289,
    "s": 66.087,
    "l": 54.902
  },
  "oklch": {
    "l": 0.77655,
    "c": 0.21441,
    "h": 145.2
  },
  "luminance": 0.50858
}

Semantic roles & 50–950 ramp

primary
#40D855
secondary
#8A337E
accent
#3FD2E9
background
#FCFEFC
surface
#F4FCF4
border
#CED5CE
text
#0D160C
muted
#7F847F

Preview Lab

Preview with #40D855

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

Preview Lab → · Contrast checker → · Palette generator →

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