#40E28B#40E28B

#40E28B is a light, vivid green. Relative luminance 0.573; OKLCH L 81.0% C 0.181 H 154.8°. Best body text is #000000 at 12.47:1 contrast (WCAG AA passes).

Color values

HEX#40E28B
RGBrgb(64, 226, 139)
HSLhsl(148, 74%, 57%)
HSVhsv(148, 72%, 89%)
CMYKcmyk(71.7%, 0%, 38.5%, 11.4%)
CIE-LABlab(80.37, -60.57, 30.87)
CIE-LCHlch(80.37, 67.99, 152.99°)
OKLaboklab(81.01% -0.1635 0.077)
OKLCHoklch(81.01% 0.181 154.8)
XYZxyz(33.9678, 57.3429, 33.6992)
Luminance0.5735 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40E28B #E24097
analogous
#46E240 #40E28B #40E2DC
triadic
#40E28B #8B40E2 #E28B40
tetradic
#40E28B #4046E2 #E24097 #E2DC40
square
#40E28B #4046E2 #E24097 #E2DC40
split-complementary
#40E28B #DC40E2 #E24046
monochromatic
#16924F #1EC76C #40E28B #75EAAB #AAF2CC

Accessibility & contrast

On white

1.68
#40E28B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.47
#40E28B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40E28B
12.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40E28B#FFFFFF#000000##000000
##40E28B1.001.6812.4712.47
#FFFFFF1.681.0021.0021.00
#00000012.4721.001.001.00
##00000012.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1D085
Deuteranopia (green-blind)
#CEC291
Tritanopia (blue-blind)
#00E0CC
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #40e28b;
/* rgb */ color: rgb(64, 226, 139);
/* oklch */ color: oklch(81.0% 0.181 154.8);
Tailwind
colors: {
  custom: {
    50: '#8aecad',
    500: '#40e28b',
    950: '#000000',
  },
}
SCSS
$custom: #40e28b;
$custom-light: #8aecad;
$custom-dark: #000000;
JSON
{
  "hex": "#40e28b",
  "rgb": {
    "r": 64,
    "g": 226,
    "b": 139
  },
  "hsl": {
    "h": 147.778,
    "s": 73.636,
    "l": 56.863
  },
  "oklch": {
    "l": 0.81009,
    "c": 0.18073,
    "h": 154.8
  },
  "luminance": 0.57347
}

Semantic roles & 50–950 ramp

primary
#40E28B
secondary
#963067
accent
#389BF0
background
#FCFFFD
surface
#F4FEF7
border
#CED6D0
text
#0D1610
muted
#7F8581

Preview Lab

Preview with #40E28B

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

Preview Lab → · Contrast checker → · Palette generator →

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