#40D847#40D847

#40D847 is a light, highly saturated green. Relative luminance 0.507; OKLCH L 77.5% C 0.224 H 143.6°. Best body text is #000000 at 11.13:1 contrast (WCAG AA passes).

Color values

HEX#40D847
RGBrgb(64, 216, 71)
HSLhsl(123, 66%, 55%)
HSVhsv(123, 70%, 85%)
CMYKcmyk(70.4%, 0%, 67.1%, 15.3%)
CIE-LABlab(76.47, -66.65, 57.83)
CIE-LCHlch(76.47, 88.24, 139.05°)
OKLaboklab(77.51% -0.1806 0.1331)
OKLCHoklch(77.51% 0.224 143.6)
XYZxyz(27.8058, 50.6536, 14.2717)
Luminance0.5066 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40D847 #D840D1
analogous
#85D840 #40D847 #40D893
triadic
#40D847 #4740D8 #D84740
tetradic
#40D847 #4085D8 #D840D1 #D89340
square
#40D847 #4085D8 #D840D1 #D89340
split-complementary
#40D847 #9340D8 #D84085
monochromatic
#1B8320 #25B62C #40D847 #73E278 #A6EDA9

Accessibility & contrast

On white

1.89
#40D847 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.13
#40D847 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40D847
11.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40D847#FFFFFF#000000##000000
##40D8471.001.8911.1311.13
#FFFFFF1.891.0021.0021.00
#00000011.1321.001.001.00
##00000011.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC433
Deuteranopia (green-blind)
#CBB855
Tritanopia (blue-blind)
#01D2BB
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #40d847;
/* rgb */ color: rgb(64, 216, 71);
/* oklch */ color: oklch(77.5% 0.224 143.6);
Tailwind
colors: {
  custom: {
    50: '#8ae581',
    500: '#40d847',
    950: '#000000',
  },
}
SCSS
$custom: #40d847;
$custom-light: #8ae581;
$custom-dark: #000000;
JSON
{
  "hex": "#40d847",
  "rgb": {
    "r": 64,
    "g": 216,
    "b": 71
  },
  "hsl": {
    "h": 122.763,
    "s": 66.087,
    "l": 54.902
  },
  "oklch": {
    "l": 0.77514,
    "c": 0.22435,
    "h": 143.6
  },
  "luminance": 0.50657
}

Semantic roles & 50–950 ramp

primary
#40D847
secondary
#8A3386
accent
#3FE1E9
background
#FCFEFB
surface
#F4FCF2
border
#CED5CC
text
#0D160B
muted
#7F847E

Preview Lab

Preview with #40D847

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

Preview Lab → · Contrast checker → · Palette generator →

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