#40C866#40C866

#40C866 is a light, vivid green. Relative luminance 0.434; OKLCH L 73.8% C 0.181 H 148.9°. Best body text is #000000 at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#40C866
RGBrgb(64, 200, 102)
HSLhsl(137, 55%, 52%)
HSVhsv(137, 68%, 78%)
CMYKcmyk(68%, 0%, 49%, 21.6%)
CIE-LABlab(71.80, -57.37, 38.43)
CIE-LCHlch(71.80, 69.05, 146.18°)
OKLaboklab(73.75% -0.1546 0.0934)
OKLCHoklch(73.75% 0.181 148.9)
XYZxyz(25.1650, 43.3551, 19.6100)
Luminance0.4336 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C866 #C840A2
analogous
#5EC840 #40C866 #40C8AA
triadic
#40C866 #6640C8 #C86640
tetradic
#40C866 #405EC8 #C840A2 #C8AA40
square
#40C866 #405EC8 #C840A2 #C8AA40
split-complementary
#40C866 #AA40C8 #C8405E
monochromatic
#206E36 #2D9D4D #40C866 #70D68C #9FE3B2

Accessibility & contrast

On white

2.17
#40C866 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.67
#40C866 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C866
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C866#FFFFFF#000000##000000
##40C8661.002.179.679.67
#FFFFFF2.171.0021.0021.00
#0000009.6721.001.001.00
##0000009.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB75E
Deuteranopia (green-blind)
#B9AB6D
Tritanopia (blue-blind)
#00C4B1
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #40c866;
/* rgb */ color: rgb(64, 200, 102);
/* oklch */ color: oklch(73.8% 0.181 148.9);
Tailwind
colors: {
  custom: {
    50: '#85da93',
    500: '#40c866',
    950: '#000000',
  },
}
SCSS
$custom: #40c866;
$custom-light: #85da93;
$custom-dark: #000000;
JSON
{
  "hex": "#40c866",
  "rgb": {
    "r": 64,
    "g": 200,
    "b": 102
  },
  "hsl": {
    "h": 136.765,
    "s": 55.285,
    "l": 51.765
  },
  "oklch": {
    "l": 0.73752,
    "c": 0.18059,
    "h": 148.9
  },
  "luminance": 0.43358
}

Semantic roles & 50–950 ramp

primary
#40C866
secondary
#D094BF
accent
#49B5DF
background
#F8FDF9
surface
#F0FBF1
border
#CBD4CB
text
#0C150D
muted
#7D837E

Preview Lab

Preview with #40C866

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

Preview Lab → · Contrast checker → · Palette generator →

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