#40D252#40D252

#40D252 is a light, highly saturated green. Relative luminance 0.478; OKLCH L 76.1% C 0.210 H 145.0°. Best body text is #000000 at 10.56:1 contrast (WCAG AA passes).

Color values

HEX#40D252
RGBrgb(64, 210, 82)
HSLhsl(127, 62%, 54%)
HSVhsv(127, 70%, 82%)
CMYKcmyk(69.5%, 0%, 61%, 17.6%)
CIE-LABlab(74.69, -63.52, 51.27)
CIE-LCHlch(74.69, 81.63, 141.09°)
OKLaboklab(76.07% -0.1717 0.1203)
OKLCHoklch(76.07% 0.21 145)
XYZxyz(26.6822, 47.7895, 15.7991)
Luminance0.4779 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40D252 #D240C0
analogous
#77D240 #40D252 #40D29B
triadic
#40D252 #5240D2 #D25240
tetradic
#40D252 #4077D2 #D240C0 #D29B40
square
#40D252 #4077D2 #D240C0 #D29B40
split-complementary
#40D252 #9B40D2 #D24077
monochromatic
#1D7B28 #29AC39 #40D252 #72DE7F #A3E9AC

Accessibility & contrast

On white

1.99
#40D252 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.56
#40D252 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40D252
10.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40D252#FFFFFF#000000##000000
##40D2521.001.9910.5610.56
#FFFFFF1.991.0021.0021.00
#00000010.5621.001.001.00
##00000010.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BF44
Deuteranopia (green-blind)
#C4B35D
Tritanopia (blue-blind)
#00CDB7
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #40d252;
/* rgb */ color: rgb(64, 210, 82);
/* oklch */ color: oklch(76.1% 0.210 145.0);
Tailwind
colors: {
  custom: {
    50: '#88e187',
    500: '#40d252',
    950: '#000000',
  },
}
SCSS
$custom: #40d252;
$custom-light: #88e187;
$custom-dark: #000000;
JSON
{
  "hex": "#40d252",
  "rgb": {
    "r": 64,
    "g": 210,
    "b": 82
  },
  "hsl": {
    "h": 127.397,
    "s": 61.864,
    "l": 53.725
  },
  "oklch": {
    "l": 0.76073,
    "c": 0.2096,
    "h": 145
  },
  "luminance": 0.47792
}

Semantic roles & 50–950 ramp

primary
#40D252
secondary
#D698CE
accent
#43D1E5
background
#F9FDF8
surface
#F1FBF0
border
#CBD4CB
text
#0D150C
muted
#7E837D

Preview Lab

Preview with #40D252

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

Preview Lab → · Contrast checker → · Palette generator →

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