#40D466#40D466

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

Color values

HEX#40D466
RGBrgb(64, 212, 102)
HSLhsl(135, 63%, 54%)
HSVhsv(135, 70%, 83%)
CMYKcmyk(69.8%, 0%, 51.9%, 16.9%)
CIE-LABlab(75.53, -61.64, 43.05)
CIE-LCHlch(75.53, 75.18, 145.07°)
OKLaboklab(76.84% -0.166 0.1038)
OKLCHoklch(76.84% 0.196 148)
XYZxyz(28.0540, 49.1332, 20.5730)
Luminance0.4914 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40D466 #D440AE
analogous
#64D440 #40D466 #40D4B0
triadic
#40D466 #6640D4 #D46640
tetradic
#40D466 #4064D4 #D440AE #D4B040
square
#40D466 #4064D4 #D440AE #D4B040
split-complementary
#40D466 #B040D4 #D44064
monochromatic
#1C7D35 #27AF4A #40D466 #72DF8E #A4EAB6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40D466#FFFFFF#000000##000000
##40D4661.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)
#D6C25C
Deuteranopia (green-blind)
#C4B56E
Tritanopia (blue-blind)
#00D0BB
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #40d466;
/* rgb */ color: rgb(64, 212, 102);
/* oklch */ color: oklch(76.8% 0.196 148.0);
Tailwind
colors: {
  custom: {
    50: '#88e294',
    500: '#40d466',
    950: '#000000',
  },
}
SCSS
$custom: #40d466;
$custom-light: #88e294;
$custom-dark: #000000;
JSON
{
  "hex": "#40d466",
  "rgb": {
    "r": 64,
    "g": 212,
    "b": 102
  },
  "hsl": {
    "h": 135.405,
    "s": 63.248,
    "l": 54.118
  },
  "oklch": {
    "l": 0.76841,
    "c": 0.19576,
    "h": 148
  },
  "luminance": 0.49136
}

Semantic roles & 50–950 ramp

primary
#40D466
secondary
#D798C7
accent
#42BCE6
background
#F9FEF9
surface
#F1FCF2
border
#CBD5CC
text
#0D150D
muted
#7E847E

Preview Lab

Preview with #40D466

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

Preview Lab → · Contrast checker → · Palette generator →

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