#40D456#40D456

#40D456 is a light, highly saturated green. Relative luminance 0.488; OKLCH L 76.6% C 0.209 H 145.5°. Best body text is #000000 at 10.77:1 contrast (WCAG AA passes).

Color values

HEX#40D456
RGBrgb(64, 212, 86)
HSLhsl(129, 63%, 54%)
HSVhsv(129, 70%, 83%)
CMYKcmyk(69.8%, 0%, 59.4%, 16.9%)
CIE-LABlab(75.36, -63.73, 50.26)
CIE-LCHlch(75.36, 81.17, 141.74°)
OKLaboklab(76.63% -0.1721 0.1184)
OKLCHoklch(76.63% 0.209 145.5)
XYZxyz(27.3357, 48.8458, 16.7899)
Luminance0.4885 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40D456 #D440BE
analogous
#74D440 #40D456 #40D4A0
triadic
#40D456 #5640D4 #D45640
tetradic
#40D456 #4074D4 #D440BE #D4A040
square
#40D456 #4074D4 #D440BE #D4A040
split-complementary
#40D456 #A040D4 #D44074
monochromatic
#1C7D2B #27AF3C #40D456 #72DF82 #A4EAAE

Accessibility & contrast

On white

1.95
#40D456 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.77
#40D456 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40D456
10.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40D456#FFFFFF#000000##000000
##40D4561.001.9510.7710.77
#FFFFFF1.951.0021.0021.00
#00000010.7721.001.001.00
##00000010.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C149
Deuteranopia (green-blind)
#C6B560
Tritanopia (blue-blind)
#00CFB9
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #40d456;
/* rgb */ color: rgb(64, 212, 86);
/* oklch */ color: oklch(76.6% 0.209 145.5);
Tailwind
colors: {
  custom: {
    50: '#88e28a',
    500: '#40d456',
    950: '#000000',
  },
}
SCSS
$custom: #40d456;
$custom-light: #88e28a;
$custom-dark: #000000;
JSON
{
  "hex": "#40d456",
  "rgb": {
    "r": 64,
    "g": 212,
    "b": 86
  },
  "hsl": {
    "h": 128.919,
    "s": 63.248,
    "l": 54.118
  },
  "oklch": {
    "l": 0.76635,
    "c": 0.2089,
    "h": 145.5
  },
  "luminance": 0.48849
}

Semantic roles & 50–950 ramp

primary
#40D456
secondary
#D798CE
accent
#42CEE6
background
#F9FEF8
surface
#F1FCF0
border
#CBD5CB
text
#0D160C
muted
#7E847D

Preview Lab

Preview with #40D456

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

Preview Lab → · Contrast checker → · Palette generator →

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