#40D46C#40D46C

#40D46C is a light, vivid green. Relative luminance 0.493; OKLCH L 76.9% C 0.191 H 149.1°. Best body text is #000000 at 10.85:1 contrast (WCAG AA passes).

Color values

HEX#40D46C
RGBrgb(64, 212, 108)
HSLhsl(138, 63%, 54%)
HSVhsv(138, 70%, 83%)
CMYKcmyk(69.8%, 0%, 49.1%, 16.9%)
CIE-LABlab(75.61, -60.75, 40.24)
CIE-LCHlch(75.61, 72.87, 146.48°)
OKLaboklab(76.93% -0.1636 0.0978)
OKLCHoklch(76.93% 0.191 149.1)
XYZxyz(28.3624, 49.2565, 22.1972)
Luminance0.4926 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40D46C #D440A8
analogous
#5ED440 #40D46C #40D4B6
triadic
#40D46C #6C40D4 #D46C40
tetradic
#40D46C #405ED4 #D440A8 #D4B640
square
#40D46C #405ED4 #D440A8 #D4B640
split-complementary
#40D46C #B640D4 #D4405E
monochromatic
#1C7D39 #27AF50 #40D46C #72DF92 #A4EAB9

Accessibility & contrast

On white

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

On black

10.85
#40D46C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40D46C
10.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40D46C#FFFFFF#000000##000000
##40D46C1.001.9410.8510.85
#FFFFFF1.941.0021.0021.00
#00000010.8521.001.001.00
##00000010.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C263
Deuteranopia (green-blind)
#C4B573
Tritanopia (blue-blind)
#00D0BC
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #40d46c;
/* rgb */ color: rgb(64, 212, 108);
/* oklch */ color: oklch(76.9% 0.191 149.1);
Tailwind
colors: {
  custom: {
    50: '#88e298',
    500: '#40d46c',
    950: '#000000',
  },
}
SCSS
$custom: #40d46c;
$custom-light: #88e298;
$custom-dark: #000000;
JSON
{
  "hex": "#40d46c",
  "rgb": {
    "r": 64,
    "g": 212,
    "b": 108
  },
  "hsl": {
    "h": 137.838,
    "s": 63.248,
    "l": 54.118
  },
  "oklch": {
    "l": 0.76929,
    "c": 0.19055,
    "h": 149.1
  },
  "luminance": 0.4926
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #40D46C

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

Preview Lab → · Contrast checker → · Palette generator →

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