#40D471#40D471

#40D471 is a light, vivid green. Relative luminance 0.494; OKLCH L 77.0% C 0.186 H 150.2°. Best body text is #000000 at 10.87:1 contrast (WCAG AA passes).

Color values

HEX#40D471
RGBrgb(64, 212, 113)
HSLhsl(140, 63%, 54%)
HSVhsv(140, 70%, 83%)
CMYKcmyk(69.8%, 0%, 46.7%, 16.9%)
CIE-LABlab(75.68, -59.97, 37.86)
CIE-LCHlch(75.68, 70.92, 147.73°)
OKLaboklab(77.01% -0.1615 0.0926)
OKLCHoklch(77.01% 0.186 150.2)
XYZxyz(28.6362, 49.3660, 23.6390)
Luminance0.4937 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40D471 #D440A3
analogous
#59D440 #40D471 #40D4BB
triadic
#40D471 #7140D4 #D47140
tetradic
#40D471 #4059D4 #D440A3 #D4BB40
square
#40D471 #4059D4 #D440A3 #D4BB40
split-complementary
#40D471 #BB40D4 #D44059
monochromatic
#1C7D3C #27AF54 #40D471 #72DF96 #A4EABB

Accessibility & contrast

On white

1.93
#40D471 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.87
#40D471 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40D471
10.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40D471#FFFFFF#000000##000000
##40D4711.001.9310.8710.87
#FFFFFF1.931.0021.0021.00
#00000010.8721.001.001.00
##00000010.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C269
Deuteranopia (green-blind)
#C3B678
Tritanopia (blue-blind)
#00D0BC
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #40d471;
/* rgb */ color: rgb(64, 212, 113);
/* oklch */ color: oklch(77.0% 0.186 150.2);
Tailwind
colors: {
  custom: {
    50: '#87e29b',
    500: '#40d471',
    950: '#000000',
  },
}
SCSS
$custom: #40d471;
$custom-light: #87e29b;
$custom-dark: #000000;
JSON
{
  "hex": "#40d471",
  "rgb": {
    "r": 64,
    "g": 212,
    "b": 113
  },
  "hsl": {
    "h": 139.865,
    "s": 63.248,
    "l": 54.118
  },
  "oklch": {
    "l": 0.77007,
    "c": 0.18612,
    "h": 150.2
  },
  "luminance": 0.49369
}

Semantic roles & 50–950 ramp

primary
#40D471
secondary
#D798C3
accent
#42B0E6
background
#F9FEF9
surface
#F1FCF2
border
#CBD5CC
text
#0D150E
muted
#7E847E

Preview Lab

Preview with #40D471

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

Preview Lab → · Contrast checker → · Palette generator →

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