#40D057#40D057

#40D057 is a light, highly saturated green. Relative luminance 0.469; OKLCH L 75.6% C 0.203 H 145.8°. Best body text is #000000 at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#40D057
RGBrgb(64, 208, 87)
HSLhsl(130, 61%, 53%)
HSVhsv(130, 69%, 82%)
CMYKcmyk(69.2%, 0%, 58.2%, 18.4%)
CIE-LABlab(74.12, -62.25, 48.37)
CIE-LCHlch(74.12, 78.84, 142.15°)
OKLaboklab(75.61% -0.168 0.1144)
OKLCHoklch(75.61% 0.203 145.8)
XYZxyz(26.3887, 46.8870, 16.6744)
Luminance0.4689 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40D057 #D040B9
analogous
#71D040 #40D057 #40D09F
triadic
#40D057 #5740D0 #D05740
tetradic
#40D057 #4071D0 #D040B9 #D09F40
square
#40D057 #4071D0 #D040B9 #D09F40
split-complementary
#40D057 #9F40D0 #D04071
monochromatic
#1E782C #2AA93E #40D057 #71DC82 #A2E8AD

Accessibility & contrast

On white

2.02
#40D057 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.38
#40D057 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40D057
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40D057#FFFFFF#000000##000000
##40D0571.002.0210.3810.38
#FFFFFF2.021.0021.0021.00
#00000010.3821.001.001.00
##00000010.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BD4B
Deuteranopia (green-blind)
#C2B261
Tritanopia (blue-blind)
#00CBB6
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #40d057;
/* rgb */ color: rgb(64, 208, 87);
/* oklch */ color: oklch(75.6% 0.203 145.8);
Tailwind
colors: {
  custom: {
    50: '#87e08a',
    500: '#40d057',
    950: '#000000',
  },
}
SCSS
$custom: #40d057;
$custom-light: #87e08a;
$custom-dark: #000000;
JSON
{
  "hex": "#40d057",
  "rgb": {
    "r": 64,
    "g": 208,
    "b": 87
  },
  "hsl": {
    "h": 129.583,
    "s": 60.504,
    "l": 53.333
  },
  "oklch": {
    "l": 0.75613,
    "c": 0.2033,
    "h": 145.8
  },
  "luminance": 0.4689
}

Semantic roles & 50–950 ramp

primary
#40D057
secondary
#D597CB
accent
#44CAE4
background
#F9FDF8
surface
#F1FBF0
border
#CBD4CB
text
#0D150C
muted
#7E837D

Preview Lab

Preview with #40D057

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

Preview Lab → · Contrast checker → · Palette generator →

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