#40D454#40D454

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

Color values

HEX#40D454
RGBrgb(64, 212, 84)
HSLhsl(128, 63%, 54%)
HSVhsv(128, 70%, 83%)
CMYKcmyk(69.8%, 0%, 60.4%, 16.9%)
CIE-LABlab(75.34, -63.97, 51.12)
CIE-LCHlch(75.34, 81.89, 141.37°)
OKLaboklab(76.61% -0.1728 0.1201)
OKLCHoklch(76.61% 0.21 145.2)
XYZxyz(27.2562, 48.8141, 16.3714)
Luminance0.4882 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40D454 #D440C0
analogous
#76D440 #40D454 #40D49E
triadic
#40D454 #5440D4 #D45440
tetradic
#40D454 #4076D4 #D440C0 #D49E40
square
#40D454 #4076D4 #D440C0 #D49E40
split-complementary
#40D454 #9E40D4 #D44076
monochromatic
#1C7D29 #27AF3A #40D454 #72DF81 #A4EAAD

Accessibility & contrast

On white

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

On black

10.76
#40D454 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40D454
10.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40D454#FFFFFF#000000##000000
##40D4541.001.9510.7610.76
#FFFFFF1.951.0021.0021.00
#00000010.7621.001.001.00
##00000010.7621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #40d454;
/* rgb */ color: rgb(64, 212, 84);
/* oklch */ color: oklch(76.6% 0.210 145.2);
Tailwind
colors: {
  custom: {
    50: '#88e288',
    500: '#40d454',
    950: '#000000',
  },
}
SCSS
$custom: #40d454;
$custom-light: #88e288;
$custom-dark: #000000;
JSON
{
  "hex": "#40d454",
  "rgb": {
    "r": 64,
    "g": 212,
    "b": 84
  },
  "hsl": {
    "h": 128.108,
    "s": 63.248,
    "l": 54.118
  },
  "oklch": {
    "l": 0.76612,
    "c": 0.21044,
    "h": 145.2
  },
  "luminance": 0.48817
}

Semantic roles & 50–950 ramp

primary
#40D454
secondary
#D798CF
accent
#42D0E6
background
#F9FEF8
surface
#F1FCF0
border
#CBD5CB
text
#0D160C
muted
#7E847D

Preview Lab

Preview with #40D454

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

Preview Lab → · Contrast checker → · Palette generator →

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