#40E166#40E166

#40E166 is a light, highly saturated green. Relative luminance 0.559; OKLCH L 80.2% C 0.212 H 147.2°. Best body text is #000000 at 12.18:1 contrast (WCAG AA passes).

Color values

HEX#40E166
RGBrgb(64, 225, 102)
HSLhsl(134, 73%, 57%)
HSVhsv(134, 72%, 88%)
CMYKcmyk(71.6%, 0%, 54.7%, 11.8%)
CIE-LABlab(79.55, -66.10, 47.93)
CIE-LCHlch(79.55, 81.64, 144.05°)
OKLaboklab(80.17% -0.178 0.1145)
OKLCHoklch(80.17% 0.212 147.2)
XYZxyz(31.4355, 55.8962, 21.7001)
Luminance0.5590 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40E166 #E140BB
analogous
#6BE140 #40E166 #40E1B6
triadic
#40E166 #6640E1 #E16640
tetradic
#40E166 #406BE1 #E140BB #E1B640
square
#40E166 #406BE1 #E140BB #E1B640
split-complementary
#40E166 #B640E1 #E1406B
monochromatic
#179033 #1FC546 #40E166 #75E990 #AAF2BB

Accessibility & contrast

On white

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

On black

12.18
#40E166 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40E166
12.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40E166#FFFFFF#000000##000000
##40E1661.001.7212.1812.18
#FFFFFF1.721.0021.0021.00
#00000012.1821.001.001.00
##00000012.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CD5A
Deuteranopia (green-blind)
#D1C06F
Tritanopia (blue-blind)
#00DCC5
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #40e166;
/* rgb */ color: rgb(64, 225, 102);
/* oklch */ color: oklch(80.2% 0.212 147.2);
Tailwind
colors: {
  custom: {
    50: '#8aec94',
    500: '#40e166',
    950: '#000000',
  },
}
SCSS
$custom: #40e166;
$custom-light: #8aec94;
$custom-dark: #000000;
JSON
{
  "hex": "#40e166",
  "rgb": {
    "r": 64,
    "g": 225,
    "b": 102
  },
  "hsl": {
    "h": 134.161,
    "s": 72.851,
    "l": 56.667
  },
  "oklch": {
    "l": 0.80167,
    "c": 0.21167,
    "h": 147.2
  },
  "luminance": 0.559
}

Semantic roles & 50–950 ramp

primary
#40E166
secondary
#95307D
accent
#38C4F0
background
#FCFFFC
surface
#F4FEF4
border
#CED6CE
text
#0D160D
muted
#7F857F

Preview Lab

Preview with #40E166

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

Preview Lab → · Contrast checker → · Palette generator →

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