#40D846#40D846

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

Color values

HEX#40D846
RGBrgb(64, 216, 70)
HSLhsl(122, 66%, 55%)
HSVhsv(122, 70%, 85%)
CMYKcmyk(70.4%, 0%, 67.6%, 15.3%)
CIE-LABlab(76.46, -66.74, 58.22)
CIE-LCHlch(76.46, 88.57, 138.90°)
OKLaboklab(77.51% -0.1809 0.1338)
OKLCHoklch(77.51% 0.225 143.5)
XYZxyz(27.7740, 50.6409, 14.1041)
Luminance0.5064 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40D846 #D840D2
analogous
#86D840 #40D846 #40D892
triadic
#40D846 #4640D8 #D84640
tetradic
#40D846 #4086D8 #D840D2 #D89240
square
#40D846 #4086D8 #D840D2 #D89240
split-complementary
#40D846 #9240D8 #D84086
monochromatic
#1B831F #25B62B #40D846 #73E277 #A6EDA8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40D846#FFFFFF#000000##000000
##40D8461.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)
#DCC431
Deuteranopia (green-blind)
#CBB854
Tritanopia (blue-blind)
#02D2BA
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #40d846;
/* rgb */ color: rgb(64, 216, 70);
/* oklch */ color: oklch(77.5% 0.225 143.5);
Tailwind
colors: {
  custom: {
    50: '#8ae580',
    500: '#40d846',
    950: '#000000',
  },
}
SCSS
$custom: #40d846;
$custom-light: #8ae580;
$custom-dark: #000000;
JSON
{
  "hex": "#40d846",
  "rgb": {
    "r": 64,
    "g": 216,
    "b": 70
  },
  "hsl": {
    "h": 122.368,
    "s": 66.087,
    "l": 54.902
  },
  "oklch": {
    "l": 0.77506,
    "c": 0.22501,
    "h": 143.5
  },
  "luminance": 0.50644
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #40D846

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

Preview Lab → · Contrast checker → · Palette generator →

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