#40D373#40D373

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

Color values

HEX#40D373
RGBrgb(64, 211, 115)
HSLhsl(141, 63%, 54%)
HSVhsv(141, 70%, 83%)
CMYKcmyk(69.7%, 0%, 45.5%, 17.3%)
CIE-LABlab(75.40, -59.29, 36.51)
CIE-LCHlch(75.40, 69.63, 148.38°)
OKLaboklab(76.78% -0.1597 0.0896)
OKLCHoklch(76.78% 0.183 150.7)
XYZxyz(28.5008, 48.9132, 24.1555)
Luminance0.4892 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40D373 #D340A0
analogous
#57D340 #40D373 #40D3BC
triadic
#40D373 #7340D3 #D37340
tetradic
#40D373 #4057D3 #D340A0 #D3BC40
square
#40D373 #4057D3 #D340A0 #D3BC40
split-complementary
#40D373 #BC40D3 #D34057
monochromatic
#1D7C3E #28AE56 #40D373 #72DE97 #A3EABC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40D373#FFFFFF#000000##000000
##40D3731.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)
#D4C16C
Deuteranopia (green-blind)
#C2B57A
Tritanopia (blue-blind)
#00D0BC
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #40d373;
/* rgb */ color: rgb(64, 211, 115);
/* oklch */ color: oklch(76.8% 0.183 150.7);
Tailwind
colors: {
  custom: {
    50: '#87e29c',
    500: '#40d373',
    950: '#000000',
  },
}
SCSS
$custom: #40d373;
$custom-light: #87e29c;
$custom-dark: #000000;
JSON
{
  "hex": "#40d373",
  "rgb": {
    "r": 64,
    "g": 211,
    "b": 115
  },
  "hsl": {
    "h": 140.816,
    "s": 62.553,
    "l": 53.922
  },
  "oklch": {
    "l": 0.76784,
    "c": 0.18306,
    "h": 150.7
  },
  "luminance": 0.48916
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #40D373

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

Preview Lab → · Contrast checker → · Palette generator →

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