#40D37C#40D37C

#40D37C is a light, vivid green. Relative luminance 0.491; OKLCH L 76.9% C 0.175 H 152.9°. Best body text is #000000 at 10.83:1 contrast (WCAG AA passes).

Color values

HEX#40D37C
RGBrgb(64, 211, 124)
HSLhsl(144, 63%, 54%)
HSVhsv(144, 70%, 83%)
CMYKcmyk(69.7%, 0%, 41.2%, 17.3%)
CIE-LABlab(75.53, -57.76, 32.14)
CIE-LCHlch(75.53, 66.10, 150.91°)
OKLaboklab(76.94% -0.1557 0.0797)
OKLCHoklch(76.94% 0.175 152.9)
XYZxyz(29.0442, 49.1305, 27.0173)
Luminance0.4913 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40D37C #D34097
analogous
#4ED340 #40D37C #40D3C6
triadic
#40D37C #7C40D3 #D37C40
tetradic
#40D37C #404ED3 #D34097 #D3C640
square
#40D37C #404ED3 #D34097 #D3C640
split-complementary
#40D37C #C640D3 #D3404E
monochromatic
#1D7C44 #28AE5F #40D37C #72DE9E #A3EAC0

Accessibility & contrast

On white

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

On black

10.83
#40D37C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40D37C
10.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40D37C#FFFFFF#000000##000000
##40D37C1.001.9410.8310.83
#FFFFFF1.941.0021.0021.00
#00000010.8321.001.001.00
##00000010.8321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #40d37c;
/* rgb */ color: rgb(64, 211, 124);
/* oklch */ color: oklch(76.9% 0.175 152.9);
Tailwind
colors: {
  custom: {
    50: '#87e2a3',
    500: '#40d37c',
    950: '#000000',
  },
}
SCSS
$custom: #40d37c;
$custom-light: #87e2a3;
$custom-dark: #000000;
JSON
{
  "hex": "#40d37c",
  "rgb": {
    "r": 64,
    "g": 211,
    "b": 124
  },
  "hsl": {
    "h": 144.49,
    "s": 62.553,
    "l": 53.922
  },
  "oklch": {
    "l": 0.7694,
    "c": 0.17494,
    "h": 152.9
  },
  "luminance": 0.49134
}

Semantic roles & 50–950 ramp

primary
#40D37C
secondary
#D798BD
accent
#42A3E6
background
#F9FDFA
surface
#F1FBF4
border
#CBD4CE
text
#0D150F
muted
#7E837F

Preview Lab

Preview with #40D37C

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

Preview Lab → · Contrast checker → · Palette generator →

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