#40D571#40D571

#40D571 is a light, vivid green. Relative luminance 0.499; OKLCH L 77.3% C 0.187 H 150.1°. Best body text is #000000 at 10.97:1 contrast (WCAG AA passes).

Color values

HEX#40D571
RGBrgb(64, 213, 113)
HSLhsl(140, 64%, 54%)
HSVhsv(140, 70%, 84%)
CMYKcmyk(70%, 0%, 46.9%, 16.5%)
CIE-LABlab(75.99, -60.33, 38.25)
CIE-LCHlch(75.99, 71.44, 147.62°)
OKLaboklab(77.26% -0.1624 0.0935)
OKLCHoklch(77.26% 0.187 150.1)
XYZxyz(28.8869, 49.8675, 23.7226)
Luminance0.4987 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40D571 #D540A4
analogous
#5AD540 #40D571 #40D5BC
triadic
#40D571 #7140D5 #D57140
tetradic
#40D571 #405AD5 #D540A4 #D5BC40
square
#40D571 #405AD5 #D540A4 #D5BC40
split-complementary
#40D571 #BC40D5 #D5405A
monochromatic
#1C7F3C #27B154 #40D571 #72E096 #A4EBBC

Accessibility & contrast

On white

1.91
#40D571 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.97
#40D571 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40D571
10.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40D571#FFFFFF#000000##000000
##40D5711.001.9110.9710.97
#FFFFFF1.911.0021.0021.00
#00000010.9721.001.001.00
##00000010.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C369
Deuteranopia (green-blind)
#C4B678
Tritanopia (blue-blind)
#00D1BD
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #40d571;
/* rgb */ color: rgb(64, 213, 113);
/* oklch */ color: oklch(77.3% 0.187 150.1);
Tailwind
colors: {
  custom: {
    50: '#88e39b',
    500: '#40d571',
    950: '#000000',
  },
}
SCSS
$custom: #40d571;
$custom-light: #88e39b;
$custom-dark: #000000;
JSON
{
  "hex": "#40d571",
  "rgb": {
    "r": 64,
    "g": 213,
    "b": 113
  },
  "hsl": {
    "h": 139.732,
    "s": 63.948,
    "l": 54.314
  },
  "oklch": {
    "l": 0.77263,
    "c": 0.1874,
    "h": 150.1
  },
  "luminance": 0.49871
}

Semantic roles & 50–950 ramp

primary
#40D571
secondary
#D899C3
accent
#41B0E7
background
#F9FEF9
surface
#F1FCF2
border
#CBD5CC
text
#0D160E
muted
#7E847E

Preview Lab

Preview with #40D571

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

Preview Lab → · Contrast checker → · Palette generator →

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