#40D57F#40D57F

#40D57F is a light, vivid green. Relative luminance 0.502; OKLCH L 77.5% C 0.175 H 153.4°. Best body text is #000000 at 11.04:1 contrast (WCAG AA passes).

Color values

HEX#40D57F
RGBrgb(64, 213, 127)
HSLhsl(145, 64%, 54%)
HSVhsv(145, 70%, 84%)
CMYKcmyk(70%, 0%, 40.4%, 16.5%)
CIE-LABlab(76.20, -57.96, 31.48)
CIE-LCHlch(76.20, 65.96, 151.50°)
OKLaboklab(77.5% -0.1563 0.0782)
OKLCHoklch(77.5% 0.175 153.4)
XYZxyz(29.7367, 50.2075, 28.1984)
Luminance0.5021 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40D57F #D54096
analogous
#4CD540 #40D57F #40D5C9
triadic
#40D57F #7F40D5 #D57F40
tetradic
#40D57F #404CD5 #D54096 #D5C940
square
#40D57F #404CD5 #D54096 #D5C940
split-complementary
#40D57F #C940D5 #D5404C
monochromatic
#1C7F46 #27B161 #40D57F #72E0A1 #A4EBC2

Accessibility & contrast

On white

1.90
#40D57F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.04
#40D57F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40D57F
11.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40D57F#FFFFFF#000000##000000
##40D57F1.001.9011.0411.04
#FFFFFF1.901.0021.0021.00
#00000011.0421.001.001.00
##00000011.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C479
Deuteranopia (green-blind)
#C3B785
Tritanopia (blue-blind)
#00D2C0
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #40d57f;
/* rgb */ color: rgb(64, 213, 127);
/* oklch */ color: oklch(77.5% 0.175 153.4);
Tailwind
colors: {
  custom: {
    50: '#87e3a5',
    500: '#40d57f',
    950: '#000000',
  },
}
SCSS
$custom: #40d57f;
$custom-light: #87e3a5;
$custom-dark: #000000;
JSON
{
  "hex": "#40d57f",
  "rgb": {
    "r": 64,
    "g": 213,
    "b": 127
  },
  "hsl": {
    "h": 145.369,
    "s": 63.948,
    "l": 54.314
  },
  "oklch": {
    "l": 0.77503,
    "c": 0.17482,
    "h": 153.4
  },
  "luminance": 0.50211
}

Semantic roles & 50–950 ramp

primary
#40D57F
secondary
#863363
accent
#41A1E7
background
#FCFEFC
surface
#F4FCF6
border
#CED5D0
text
#0D160F
muted
#7F8480

Preview Lab

Preview with #40D57F

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

Preview Lab → · Contrast checker → · Palette generator →

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