#40D457#40D457

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

Color values

HEX#40D457
RGBrgb(64, 212, 87)
HSLhsl(129, 63%, 54%)
HSVhsv(129, 70%, 83%)
CMYKcmyk(69.8%, 0%, 59%, 16.9%)
CIE-LABlab(75.37, -63.61, 49.82)
CIE-LCHlch(75.37, 80.80, 141.93°)
OKLaboklab(76.65% -0.1717 0.1176)
OKLCHoklch(76.65% 0.208 145.6)
XYZxyz(27.3763, 48.8621, 17.0035)
Luminance0.4886 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40D457 #D440BD
analogous
#73D440 #40D457 #40D4A1
triadic
#40D457 #5740D4 #D45740
tetradic
#40D457 #4073D4 #D440BD #D4A140
square
#40D457 #4073D4 #D440BD #D4A140
split-complementary
#40D457 #A140D4 #D44073
monochromatic
#1C7D2B #27AF3D #40D457 #72DF83 #A4EAAF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40D457#FFFFFF#000000##000000
##40D4571.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)
#D7C14A
Deuteranopia (green-blind)
#C6B561
Tritanopia (blue-blind)
#00CFB9
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #40d457;
/* rgb */ color: rgb(64, 212, 87);
/* oklch */ color: oklch(76.6% 0.208 145.6);
Tailwind
colors: {
  custom: {
    50: '#88e28a',
    500: '#40d457',
    950: '#000000',
  },
}
SCSS
$custom: #40d457;
$custom-light: #88e28a;
$custom-dark: #000000;
JSON
{
  "hex": "#40d457",
  "rgb": {
    "r": 64,
    "g": 212,
    "b": 87
  },
  "hsl": {
    "h": 129.324,
    "s": 63.248,
    "l": 54.118
  },
  "oklch": {
    "l": 0.76647,
    "c": 0.20812,
    "h": 145.6
  },
  "luminance": 0.48865
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #40D457

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

Preview Lab → · Contrast checker → · Palette generator →

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