#40D862#40D862

#40D862 is a light, highly saturated green. Relative luminance 0.511; OKLCH L 77.8% C 0.204 H 147.1°. Best body text is #000000 at 11.22:1 contrast (WCAG AA passes).

Color values

HEX#40D862
RGBrgb(64, 216, 98)
HSLhsl(133, 66%, 55%)
HSVhsv(133, 70%, 85%)
CMYKcmyk(70.4%, 0%, 54.6%, 15.3%)
CIE-LABlab(76.73, -63.57, 46.39)
CIE-LCHlch(76.73, 78.70, 143.88°)
OKLaboklab(77.81% -0.1713 0.1109)
OKLCHoklch(77.81% 0.204 147.1)
XYZxyz(28.8727, 51.0804, 19.8908)
Luminance0.5108 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40D862 #D840B6
analogous
#6AD840 #40D862 #40D8AE
triadic
#40D862 #6240D8 #D86240
tetradic
#40D862 #406AD8 #D840B6 #D8AE40
square
#40D862 #406AD8 #D840B6 #D8AE40
split-complementary
#40D862 #AE40D8 #D8406A
monochromatic
#1B8332 #25B645 #40D862 #73E28C #A6EDB6

Accessibility & contrast

On white

1.87
#40D862 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.22
#40D862 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40D862
11.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40D862#FFFFFF#000000##000000
##40D8621.001.8711.2211.22
#FFFFFF1.871.0021.0021.00
#00000011.2221.001.001.00
##00000011.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC557
Deuteranopia (green-blind)
#C9B86B
Tritanopia (blue-blind)
#00D3BE
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #40d862;
/* rgb */ color: rgb(64, 216, 98);
/* oklch */ color: oklch(77.8% 0.204 147.1);
Tailwind
colors: {
  custom: {
    50: '#89e591',
    500: '#40d862',
    950: '#000000',
  },
}
SCSS
$custom: #40d862;
$custom-light: #89e591;
$custom-dark: #000000;
JSON
{
  "hex": "#40d862",
  "rgb": {
    "r": 64,
    "g": 216,
    "b": 98
  },
  "hsl": {
    "h": 133.421,
    "s": 66.087,
    "l": 54.902
  },
  "oklch": {
    "l": 0.77813,
    "c": 0.20407,
    "h": 147.1
  },
  "luminance": 0.51084
}

Semantic roles & 50–950 ramp

primary
#40D862
secondary
#8A3376
accent
#3FC3E9
background
#FCFEFC
surface
#F4FCF4
border
#CED5CE
text
#0D160D
muted
#7F847F

Preview Lab

Preview with #40D862

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

Preview Lab → · Contrast checker → · Palette generator →

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