#40D047#40D047

#40D047 is a light, highly saturated green. Relative luminance 0.467; OKLCH L 75.4% C 0.215 H 143.7°. Best body text is #000000 at 10.33:1 contrast (WCAG AA passes).

Color values

HEX#40D047
RGBrgb(64, 208, 71)
HSLhsl(123, 61%, 53%)
HSVhsv(123, 69%, 82%)
CMYKcmyk(69.2%, 0%, 65.9%, 18.4%)
CIE-LABlab(73.97, -64.03, 55.13)
CIE-LCHlch(73.97, 84.49, 139.27°)
OKLaboklab(75.44% -0.1735 0.1274)
OKLCHoklch(75.44% 0.215 143.7)
XYZxyz(25.8059, 46.6539, 13.6051)
Luminance0.4666 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40D047 #D040C9
analogous
#81D040 #40D047 #40D08F
triadic
#40D047 #4740D0 #D04740
tetradic
#40D047 #4081D0 #D040C9 #D08F40
square
#40D047 #4081D0 #D040C9 #D08F40
split-complementary
#40D047 #8F40D0 #D04081
monochromatic
#1E7822 #2AA930 #40D047 #71DC76 #A2E8A6

Accessibility & contrast

On white

2.03
#40D047 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.33
#40D047 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40D047
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40D047#FFFFFF#000000##000000
##40D0471.002.0310.3310.33
#FFFFFF2.031.0021.0021.00
#00000010.3321.001.001.00
##00000010.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BD35
Deuteranopia (green-blind)
#C3B153
Tritanopia (blue-blind)
#0FCAB4
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #40d047;
/* rgb */ color: rgb(64, 208, 71);
/* oklch */ color: oklch(75.4% 0.215 143.7);
Tailwind
colors: {
  custom: {
    50: '#88e080',
    500: '#40d047',
    950: '#000000',
  },
}
SCSS
$custom: #40d047;
$custom-light: #88e080;
$custom-dark: #000000;
JSON
{
  "hex": "#40d047",
  "rgb": {
    "r": 64,
    "g": 208,
    "b": 71
  },
  "hsl": {
    "h": 122.917,
    "s": 60.504,
    "l": 53.333
  },
  "oklch": {
    "l": 0.75441,
    "c": 0.21525,
    "h": 143.7
  },
  "luminance": 0.46657
}

Semantic roles & 50–950 ramp

primary
#40D047
secondary
#D597D2
accent
#44DCE4
background
#F9FDF8
surface
#F1FBEF
border
#CBD4CA
text
#0D150B
muted
#7E837C

Preview Lab

Preview with #40D047

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

Preview Lab → · Contrast checker → · Palette generator →

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