#40E027#40E027

#40E027 is a light, highly saturated green. Relative luminance 0.545; OKLCH L 79.4% C 0.249 H 141.4°. Best body text is #000000 at 11.91:1 contrast (WCAG AA passes).

Color values

HEX#40E027
RGBrgb(64, 224, 39)
HSLhsl(112, 75%, 52%)
HSVhsv(112, 83%, 88%)
CMYKcmyk(71.4%, 0%, 82.6%, 12.2%)
CIE-LABlab(78.78, -71.40, 70.51)
CIE-LCHlch(78.78, 100.35, 135.36°)
OKLaboklab(79.37% -0.1949 0.1555)
OKLCHoklch(79.37% 0.249 141.4)
XYZxyz(29.1346, 54.5445, 10.9118)
Luminance0.5455 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40E027 #C727E0
analogous
#9DE027 #40E027 #27E06B
triadic
#40E027 #2740E0 #E02740
tetradic
#40E027 #279DE0 #C727E0 #E06B27
square
#40E027 #279DE0 #C727E0 #E06B27
split-complementary
#40E027 #6B27E0 #E0279D
monochromatic
#207B12 #2EB019 #40E027 #6FE85D #9FEF92

Accessibility & contrast

On white

1.76
#40E027 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.91
#40E027 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40E027
11.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40E027#FFFFFF#000000##000000
##40E0271.001.7611.9111.91
#FFFFFF1.761.0021.0021.00
#00000011.9121.001.001.00
##00000011.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CB00
Deuteranopia (green-blind)
#D4BE40
Tritanopia (blue-blind)
#0CD9BF
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #40e027;
/* rgb */ color: rgb(64, 224, 39);
/* oklch */ color: oklch(79.4% 0.249 141.4);
Tailwind
colors: {
  custom: {
    50: '#8deb73',
    500: '#40e027',
    950: '#000000',
  },
}
SCSS
$custom: #40e027;
$custom-light: #8deb73;
$custom-dark: #000000;
JSON
{
  "hex": "#40e027",
  "rgb": {
    "r": 64,
    "g": 224,
    "b": 39
  },
  "hsl": {
    "h": 111.892,
    "s": 74.899,
    "l": 51.569
  },
  "oklch": {
    "l": 0.79373,
    "c": 0.24936,
    "h": 141.4
  },
  "luminance": 0.54548
}

Semantic roles & 50–950 ramp

primary
#40E027
secondary
#762982
accent
#36F2D8
background
#FCFFFB
surface
#F5FEF1
border
#CFD6CB
text
#0E1609
muted
#7F857D

Preview Lab

Preview with #40E027

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

Preview Lab → · Contrast checker → · Palette generator →

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