#40DF57#40DF57

#40DF57 is a light, highly saturated green. Relative luminance 0.546; OKLCH L 79.5% C 0.221 H 145.3°. Best body text is #000000 at 11.91:1 contrast (WCAG AA passes).

Color values

HEX#40DF57
RGBrgb(64, 223, 87)
HSLhsl(129, 71%, 56%)
HSVhsv(129, 71%, 87%)
CMYKcmyk(71.3%, 0%, 61%, 12.5%)
CIE-LABlab(78.78, -67.28, 53.75)
CIE-LCHlch(78.78, 86.11, 141.38°)
OKLaboklab(79.48% -0.1817 0.126)
OKLCHoklch(79.48% 0.221 145.3)
XYZxyz(30.2203, 54.5501, 17.9515)
Luminance0.5455 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40DF57 #DF40C8
analogous
#79DF40 #40DF57 #40DFA7
triadic
#40DF57 #5740DF #DF5740
tetradic
#40DF57 #4079DF #DF40C8 #DFA740
square
#40DF57 #4079DF #DF40C8 #DFA740
split-complementary
#40DF57 #A740DF #DF4079
monochromatic
#188D29 #20C138 #40DF57 #74E885 #A9F1B3

Accessibility & contrast

On white

1.76
#40DF57 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.91
#40DF57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40DF57
11.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40DF57#FFFFFF#000000##000000
##40DF571.001.7611.9111.91
#FFFFFF1.761.0021.0021.00
#00000011.9121.001.001.00
##00000011.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CB48
Deuteranopia (green-blind)
#D0BE62
Tritanopia (blue-blind)
#00D9C2
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #40df57;
/* rgb */ color: rgb(64, 223, 87);
/* oklch */ color: oklch(79.5% 0.221 145.3);
Tailwind
colors: {
  custom: {
    50: '#8bea8b',
    500: '#40df57',
    950: '#000000',
  },
}
SCSS
$custom: #40df57;
$custom-light: #8bea8b;
$custom-dark: #000000;
JSON
{
  "hex": "#40df57",
  "rgb": {
    "r": 64,
    "g": 223,
    "b": 87
  },
  "hsl": {
    "h": 128.679,
    "s": 71.3,
    "l": 56.275
  },
  "oklch": {
    "l": 0.79476,
    "c": 0.22109,
    "h": 145.3
  },
  "luminance": 0.54553
}

Semantic roles & 50–950 ramp

primary
#40DF57
secondary
#923184
accent
#3AD4EE
background
#FCFFFC
surface
#F5FEF4
border
#CFD6CE
text
#0E160C
muted
#7F857F

Preview Lab

Preview with #40DF57

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

Preview Lab → · Contrast checker → · Palette generator →

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