#40E252#40E252

#40E252 is a light, highly saturated green. Relative luminance 0.561; OKLCH L 80.2% C 0.228 H 144.6°. Best body text is #000000 at 12.22:1 contrast (WCAG AA passes).

Color values

HEX#40E252
RGBrgb(64, 226, 82)
HSLhsl(127, 74%, 57%)
HSVhsv(127, 72%, 89%)
CMYKcmyk(71.7%, 0%, 63.7%, 11.4%)
CIE-LABlab(79.66, -68.80, 56.86)
CIE-LCHlch(79.66, 89.25, 140.43°)
OKLaboklab(80.19% -0.186 0.1322)
OKLCHoklch(80.19% 0.228 144.6)
XYZxyz(30.8316, 56.0884, 17.1823)
Luminance0.5609 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40E252 #E240D0
analogous
#7FE240 #40E252 #40E2A3
triadic
#40E252 #5240E2 #E25240
tetradic
#40E252 #407FE2 #E240D0 #E2A340
square
#40E252 #407FE2 #E240D0 #E2A340
split-complementary
#40E252 #A340E2 #E2407F
monochromatic
#169224 #1EC731 #40E252 #75EA82 #AAF2B2

Accessibility & contrast

On white

1.72
#40E252 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.22
#40E252 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40E252
12.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40E252#FFFFFF#000000##000000
##40E2521.001.7212.2212.22
#FFFFFF1.721.0021.0021.00
#00000012.2221.001.001.00
##00000012.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CD40
Deuteranopia (green-blind)
#D3C05F
Tritanopia (blue-blind)
#00DCC4
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #40e252;
/* rgb */ color: rgb(64, 226, 82);
/* oklch */ color: oklch(80.2% 0.228 144.6);
Tailwind
colors: {
  custom: {
    50: '#8bec88',
    500: '#40e252',
    950: '#000000',
  },
}
SCSS
$custom: #40e252;
$custom-light: #8bec88;
$custom-dark: #000000;
JSON
{
  "hex": "#40e252",
  "rgb": {
    "r": 64,
    "g": 226,
    "b": 82
  },
  "hsl": {
    "h": 126.667,
    "s": 73.636,
    "l": 56.863
  },
  "oklch": {
    "l": 0.80193,
    "c": 0.22816,
    "h": 144.6
  },
  "luminance": 0.56092
}

Semantic roles & 50–950 ramp

primary
#40E252
secondary
#96308B
accent
#38DCF0
background
#FCFFFC
surface
#F5FEF4
border
#CFD6CE
text
#0E160C
muted
#7F857F

Preview Lab

Preview with #40E252

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

Preview Lab → · Contrast checker → · Palette generator →

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