#40D372#40D372

#40D372 is a light, vivid green. Relative luminance 0.489; OKLCH L 76.8% C 0.184 H 150.5°. Best body text is #000000 at 10.78:1 contrast (WCAG AA passes).

Color values

HEX#40D372
RGBrgb(64, 211, 114)
HSLhsl(140, 63%, 54%)
HSVhsv(140, 70%, 83%)
CMYKcmyk(69.7%, 0%, 46%, 17.3%)
CIE-LABlab(75.38, -59.45, 36.99)
CIE-LCHlch(75.38, 70.02, 148.11°)
OKLaboklab(76.77% -0.1601 0.0906)
OKLCHoklch(76.77% 0.184 150.5)
XYZxyz(28.4436, 48.8903, 23.8541)
Luminance0.4889 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40D372 #D340A1
analogous
#58D340 #40D372 #40D3BC
triadic
#40D372 #7240D3 #D37240
tetradic
#40D372 #4058D3 #D340A1 #D3BC40
square
#40D372 #4058D3 #D340A1 #D3BC40
split-complementary
#40D372 #BC40D3 #D34058
monochromatic
#1D7C3D #28AE56 #40D372 #72DE97 #A3EABB

Accessibility & contrast

On white

1.95
#40D372 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.78
#40D372 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40D372
10.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40D372#FFFFFF#000000##000000
##40D3721.001.9510.7810.78
#FFFFFF1.951.0021.0021.00
#00000010.7821.001.001.00
##00000010.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4C16A
Deuteranopia (green-blind)
#C2B579
Tritanopia (blue-blind)
#00CFBC
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #40d372;
/* rgb */ color: rgb(64, 211, 114);
/* oklch */ color: oklch(76.8% 0.184 150.5);
Tailwind
colors: {
  custom: {
    50: '#87e29c',
    500: '#40d372',
    950: '#000000',
  },
}
SCSS
$custom: #40d372;
$custom-light: #87e29c;
$custom-dark: #000000;
JSON
{
  "hex": "#40d372",
  "rgb": {
    "r": 64,
    "g": 211,
    "b": 114
  },
  "hsl": {
    "h": 140.408,
    "s": 62.553,
    "l": 53.922
  },
  "oklch": {
    "l": 0.76768,
    "c": 0.18395,
    "h": 150.5
  },
  "luminance": 0.48893
}

Semantic roles & 50–950 ramp

primary
#40D372
secondary
#D798C1
accent
#42AEE6
background
#F9FDF9
surface
#F1FBF2
border
#CBD4CC
text
#0D150E
muted
#7E837E

Preview Lab

Preview with #40D372

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

Preview Lab → · Contrast checker → · Palette generator →

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