#40D378#40D378

#40D378 is a light, vivid green. Relative luminance 0.490; OKLCH L 76.9% C 0.179 H 151.9°. Best body text is #000000 at 10.81:1 contrast (WCAG AA passes).

Color values

HEX#40D378
RGBrgb(64, 211, 120)
HSLhsl(143, 63%, 54%)
HSVhsv(143, 70%, 83%)
CMYKcmyk(69.7%, 0%, 43.1%, 17.3%)
CIE-LABlab(75.47, -58.45, 34.09)
CIE-LCHlch(75.47, 67.67, 149.75°)
OKLaboklab(76.87% -0.1575 0.0841)
OKLCHoklch(76.87% 0.179 151.9)
XYZxyz(28.7963, 49.0314, 25.7120)
Luminance0.4904 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40D378 #D3409B
analogous
#52D340 #40D378 #40D3C2
triadic
#40D378 #7840D3 #D37840
tetradic
#40D378 #4052D3 #D3409B #D3C240
square
#40D378 #4052D3 #D3409B #D3C240
split-complementary
#40D378 #C240D3 #D34052
monochromatic
#1D7C41 #28AE5B #40D378 #72DE9B #A3EABE

Accessibility & contrast

On white

1.94
#40D378 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.81
#40D378 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40D378
10.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40D378#FFFFFF#000000##000000
##40D3781.001.9410.8110.81
#FFFFFF1.941.0021.0021.00
#00000010.8121.001.001.00
##00000010.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4C271
Deuteranopia (green-blind)
#C2B57E
Tritanopia (blue-blind)
#00D0BD
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #40d378;
/* rgb */ color: rgb(64, 211, 120);
/* oklch */ color: oklch(76.9% 0.179 151.9);
Tailwind
colors: {
  custom: {
    50: '#87e2a0',
    500: '#40d378',
    950: '#000000',
  },
}
SCSS
$custom: #40d378;
$custom-light: #87e2a0;
$custom-dark: #000000;
JSON
{
  "hex": "#40d378",
  "rgb": {
    "r": 64,
    "g": 211,
    "b": 120
  },
  "hsl": {
    "h": 142.857,
    "s": 62.553,
    "l": 53.922
  },
  "oklch": {
    "l": 0.76869,
    "c": 0.17856,
    "h": 151.9
  },
  "luminance": 0.49035
}

Semantic roles & 50–950 ramp

primary
#40D378
secondary
#D798BF
accent
#42A7E6
background
#F9FDF9
surface
#F1FBF2
border
#CBD4CC
text
#0D150F
muted
#7E837E

Preview Lab

Preview with #40D378

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

Preview Lab → · Contrast checker → · Palette generator →

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