#40D36C#40D36C

#40D36C is a light, vivid green. Relative luminance 0.488; OKLCH L 76.7% C 0.189 H 149.2°. Best body text is #000000 at 10.75:1 contrast (WCAG AA passes).

Color values

HEX#40D36C
RGBrgb(64, 211, 108)
HSLhsl(138, 63%, 54%)
HSVhsv(138, 70%, 83%)
CMYKcmyk(69.7%, 0%, 48.8%, 17.3%)
CIE-LABlab(75.30, -60.40, 39.85)
CIE-LCHlch(75.30, 72.36, 146.58°)
OKLaboklab(76.67% -0.1626 0.0969)
OKLCHoklch(76.67% 0.189 149.2)
XYZxyz(28.1132, 48.7581, 22.1141)
Luminance0.4876 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40D36C #D340A7
analogous
#5ED340 #40D36C #40D3B6
triadic
#40D36C #6C40D3 #D36C40
tetradic
#40D36C #405ED3 #D340A7 #D3B640
square
#40D36C #405ED3 #D340A7 #D3B640
split-complementary
#40D36C #B640D3 #D3405E
monochromatic
#1D7C39 #28AE50 #40D36C #72DE92 #A3EAB9

Accessibility & contrast

On white

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

On black

10.75
#40D36C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40D36C
10.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40D36C#FFFFFF#000000##000000
##40D36C1.001.9510.7510.75
#FFFFFF1.951.0021.0021.00
#00000010.7521.001.001.00
##00000010.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C164
Deuteranopia (green-blind)
#C3B573
Tritanopia (blue-blind)
#00CFBB
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #40d36c;
/* rgb */ color: rgb(64, 211, 108);
/* oklch */ color: oklch(76.7% 0.189 149.2);
Tailwind
colors: {
  custom: {
    50: '#87e298',
    500: '#40d36c',
    950: '#000000',
  },
}
SCSS
$custom: #40d36c;
$custom-light: #87e298;
$custom-dark: #000000;
JSON
{
  "hex": "#40d36c",
  "rgb": {
    "r": 64,
    "g": 211,
    "b": 108
  },
  "hsl": {
    "h": 137.959,
    "s": 62.553,
    "l": 53.922
  },
  "oklch": {
    "l": 0.76673,
    "c": 0.18929,
    "h": 149.2
  },
  "luminance": 0.48761
}

Semantic roles & 50–950 ramp

primary
#40D36C
secondary
#D798C4
accent
#42B5E6
background
#F9FEF9
surface
#F1FCF2
border
#CBD5CC
text
#0D150E
muted
#7E847E

Preview Lab

Preview with #40D36C

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

Preview Lab → · Contrast checker → · Palette generator →

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