#40D841#40D841

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

Color values

HEX#40D841
RGBrgb(64, 216, 65)
HSLhsl(120, 66%, 55%)
HSVhsv(120, 70%, 85%)
CMYKcmyk(70.4%, 0%, 69.9%, 15.3%)
CIE-LABlab(76.42, -67.19, 60.10)
CIE-LCHlch(76.42, 90.15, 138.19°)
OKLaboklab(77.46% -0.1824 0.1372)
OKLCHoklch(77.46% 0.228 143.1)
XYZxyz(27.6227, 50.5803, 13.3072)
Luminance0.5058 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40D841 #D840D7
analogous
#8BD840 #40D841 #40D88D
triadic
#40D841 #4140D8 #D84140
tetradic
#40D841 #408BD8 #D840D7 #D88D40
square
#40D841 #408BD8 #D840D7 #D88D40
split-complementary
#40D841 #8D40D8 #D8408B
monochromatic
#1B831B #25B626 #40D841 #73E274 #A6EDA6

Accessibility & contrast

On white

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

On black

11.12
#40D841 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40D841
11.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40D841#FFFFFF#000000##000000
##40D8411.001.8911.1211.12
#FFFFFF1.891.0021.0021.00
#00000011.1221.001.001.00
##00000011.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC429
Deuteranopia (green-blind)
#CBB850
Tritanopia (blue-blind)
#07D2BA
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #40d841;
/* rgb */ color: rgb(64, 216, 65);
/* oklch */ color: oklch(77.5% 0.228 143.1);
Tailwind
colors: {
  custom: {
    50: '#8ae57e',
    500: '#40d841',
    950: '#000000',
  },
}
SCSS
$custom: #40d841;
$custom-light: #8ae57e;
$custom-dark: #000000;
JSON
{
  "hex": "#40d841",
  "rgb": {
    "r": 64,
    "g": 216,
    "b": 65
  },
  "hsl": {
    "h": 120.395,
    "s": 66.087,
    "l": 54.902
  },
  "oklch": {
    "l": 0.77463,
    "c": 0.22818,
    "h": 143.1
  },
  "luminance": 0.50583
}

Semantic roles & 50–950 ramp

primary
#40D841
secondary
#8A3389
accent
#3FE8E9
background
#FCFEFB
surface
#F4FCF2
border
#CED5CC
text
#0D160A
muted
#7F847D

Preview Lab

Preview with #40D841

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

Preview Lab → · Contrast checker → · Palette generator →

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