#40E27B#40E27B

#40E27B is a light, vivid green. Relative luminance 0.569; OKLCH L 80.7% C 0.195 H 151.0°. Best body text is #000000 at 12.38:1 contrast (WCAG AA passes).

Color values

HEX#40E27B
RGBrgb(64, 226, 123)
HSLhsl(142, 74%, 57%)
HSVhsv(142, 72%, 89%)
CMYKcmyk(71.7%, 0%, 45.6%, 11.4%)
CIE-LABlab(80.13, -63.34, 38.58)
CIE-LCHlch(80.13, 74.16, 148.66°)
OKLaboklab(80.73% -0.1704 0.0946)
OKLCHoklch(80.73% 0.195 151)
XYZxyz(32.8831, 56.9090, 27.9866)
Luminance0.5691 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40E27B #E240A7
analogous
#56E240 #40E27B #40E2CC
triadic
#40E27B #7B40E2 #E27B40
tetradic
#40E27B #4056E2 #E240A7 #E2CC40
square
#40E27B #4056E2 #E240A7 #E2CC40
split-complementary
#40E27B #CC40E2 #E24056
monochromatic
#169243 #1EC75C #40E27B #75EAA0 #AAF2C4

Accessibility & contrast

On white

1.70
#40E27B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.38
#40E27B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40E27B
12.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40E27B#FFFFFF#000000##000000
##40E27B1.001.7012.3812.38
#FFFFFF1.701.0021.0021.00
#00000012.3821.001.001.00
##00000012.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CF73
Deuteranopia (green-blind)
#D0C182
Tritanopia (blue-blind)
#00DEC9
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #40e27b;
/* rgb */ color: rgb(64, 226, 123);
/* oklch */ color: oklch(80.7% 0.195 151.0);
Tailwind
colors: {
  custom: {
    50: '#8aeca2',
    500: '#40e27b',
    950: '#000000',
  },
}
SCSS
$custom: #40e27b;
$custom-light: #8aeca2;
$custom-dark: #000000;
JSON
{
  "hex": "#40e27b",
  "rgb": {
    "r": 64,
    "g": 226,
    "b": 123
  },
  "hsl": {
    "h": 141.852,
    "s": 73.636,
    "l": 56.863
  },
  "oklch": {
    "l": 0.80728,
    "c": 0.19492,
    "h": 151
  },
  "luminance": 0.56913
}

Semantic roles & 50–950 ramp

primary
#40E27B
secondary
#963071
accent
#38ADF0
background
#FCFFFC
surface
#F4FEF5
border
#CED6CF
text
#0D160F
muted
#7F8580

Preview Lab

Preview with #40E27B

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

Preview Lab → · Contrast checker → · Palette generator →

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