#40D452#40D452

#40D452 is a light, highly saturated green. Relative luminance 0.488; OKLCH L 76.6% C 0.212 H 144.9°. Best body text is #000000 at 10.76:1 contrast (WCAG AA passes).

Color values

HEX#40D452
RGBrgb(64, 212, 82)
HSLhsl(127, 63%, 54%)
HSVhsv(127, 70%, 83%)
CMYKcmyk(69.8%, 0%, 61.3%, 16.9%)
CIE-LABlab(75.32, -64.20, 51.98)
CIE-LCHlch(75.32, 82.60, 141.00°)
OKLaboklab(76.59% -0.1735 0.1218)
OKLCHoklch(76.59% 0.212 144.9)
XYZxyz(27.1790, 48.7832, 15.9647)
Luminance0.4879 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40D452 #D440C2
analogous
#78D440 #40D452 #40D49C
triadic
#40D452 #5240D4 #D45240
tetradic
#40D452 #4078D4 #D440C2 #D49C40
square
#40D452 #4078D4 #D440C2 #D49C40
split-complementary
#40D452 #9C40D4 #D44078
monochromatic
#1C7D28 #27AF38 #40D452 #72DF7F #A4EAAC

Accessibility & contrast

On white

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

On black

10.76
#40D452 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40D452
10.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40D452#FFFFFF#000000##000000
##40D4521.001.9510.7610.76
#FFFFFF1.951.0021.0021.00
#00000010.7621.001.001.00
##00000010.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C143
Deuteranopia (green-blind)
#C6B55D
Tritanopia (blue-blind)
#00CFB8
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #40d452;
/* rgb */ color: rgb(64, 212, 82);
/* oklch */ color: oklch(76.6% 0.212 144.9);
Tailwind
colors: {
  custom: {
    50: '#89e287',
    500: '#40d452',
    950: '#000000',
  },
}
SCSS
$custom: #40d452;
$custom-light: #89e287;
$custom-dark: #000000;
JSON
{
  "hex": "#40d452",
  "rgb": {
    "r": 64,
    "g": 212,
    "b": 82
  },
  "hsl": {
    "h": 127.297,
    "s": 63.248,
    "l": 54.118
  },
  "oklch": {
    "l": 0.7659,
    "c": 0.21197,
    "h": 144.9
  },
  "luminance": 0.48786
}

Semantic roles & 50–950 ramp

primary
#40D452
secondary
#D798D0
accent
#42D2E6
background
#F9FEF8
surface
#F1FCF0
border
#CBD5CB
text
#0D160C
muted
#7E847D

Preview Lab

Preview with #40D452

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

Preview Lab → · Contrast checker → · Palette generator →

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