#40E156#40E156

#40E156 is a light, highly saturated green. Relative luminance 0.556; OKLCH L 80.0% C 0.224 H 145.1°. Best body text is #000000 at 12.12:1 contrast (WCAG AA passes).

Color values

HEX#40E156
RGBrgb(64, 225, 86)
HSLhsl(128, 73%, 57%)
HSVhsv(128, 72%, 88%)
CMYKcmyk(71.6%, 0%, 61.8%, 11.8%)
CIE-LABlab(79.39, -68.04, 54.87)
CIE-LCHlch(79.39, 87.41, 141.12°)
OKLaboklab(79.98% -0.1838 0.1283)
OKLCHoklch(79.98% 0.224 145.1)
XYZxyz(30.7172, 55.6088, 17.9170)
Luminance0.5561 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40E156 #E140CB
analogous
#7BE140 #40E156 #40E1A7
triadic
#40E156 #5640E1 #E15640
tetradic
#40E156 #407BE1 #E140CB #E1A740
square
#40E156 #407BE1 #E140CB #E1A740
split-complementary
#40E156 #A740E1 #E1407B
monochromatic
#179027 #1FC536 #40E156 #75E985 #AAF2B4

Accessibility & contrast

On white

1.73
#40E156 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.12
#40E156 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40E156
12.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40E156#FFFFFF#000000##000000
##40E1561.001.7312.1212.12
#FFFFFF1.731.0021.0021.00
#00000012.1221.001.001.00
##00000012.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CC46
Deuteranopia (green-blind)
#D2C062
Tritanopia (blue-blind)
#00DBC4
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #40e156;
/* rgb */ color: rgb(64, 225, 86);
/* oklch */ color: oklch(80.0% 0.224 145.1);
Tailwind
colors: {
  custom: {
    50: '#8bec8a',
    500: '#40e156',
    950: '#000000',
  },
}
SCSS
$custom: #40e156;
$custom-light: #8bec8a;
$custom-dark: #000000;
JSON
{
  "hex": "#40e156",
  "rgb": {
    "r": 64,
    "g": 225,
    "b": 86
  },
  "hsl": {
    "h": 128.199,
    "s": 72.851,
    "l": 56.667
  },
  "oklch": {
    "l": 0.79978,
    "c": 0.22414,
    "h": 145.1
  },
  "luminance": 0.55612
}

Semantic roles & 50–950 ramp

primary
#40E156
secondary
#953087
accent
#38D6F0
background
#FCFFFC
surface
#F5FEF4
border
#CFD6CE
text
#0E160C
muted
#7F857F

Preview Lab

Preview with #40E156

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

Preview Lab → · Contrast checker → · Palette generator →

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