#40C856#40C856

#40C856 is a light, vivid green. Relative luminance 0.431; OKLCH L 73.5% C 0.194 H 145.9°. Best body text is #000000 at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#40C856
RGBrgb(64, 200, 86)
HSLhsl(130, 55%, 52%)
HSVhsv(130, 68%, 78%)
CMYKcmyk(68%, 0%, 57%, 21.6%)
CIE-LABlab(71.60, -59.61, 45.88)
CIE-LCHlch(71.60, 75.22, 142.42°)
OKLaboklab(73.53% -0.1609 0.1089)
OKLCHoklch(73.53% 0.194 145.9)
XYZxyz(24.4467, 43.0678, 15.8269)
Luminance0.4307 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C856 #C840B2
analogous
#6EC840 #40C856 #40C89A
triadic
#40C856 #5640C8 #C85640
tetradic
#40C856 #406EC8 #C840B2 #C89A40
square
#40C856 #406EC8 #C840B2 #C89A40
split-complementary
#40C856 #9A40C8 #C8406E
monochromatic
#206E2C #2D9D3F #40C856 #70D680 #9FE3AA

Accessibility & contrast

On white

2.18
#40C856 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.61
#40C856 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C856
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C856#FFFFFF#000000##000000
##40C8561.002.189.619.61
#FFFFFF2.181.0021.0021.00
#0000009.6121.001.001.00
##0000009.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB64B
Deuteranopia (green-blind)
#BBAB5F
Tritanopia (blue-blind)
#0BC3AF
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #40c856;
/* rgb */ color: rgb(64, 200, 86);
/* oklch */ color: oklch(73.5% 0.194 145.9);
Tailwind
colors: {
  custom: {
    50: '#86da89',
    500: '#40c856',
    950: '#000000',
  },
}
SCSS
$custom: #40c856;
$custom-light: #86da89;
$custom-dark: #000000;
JSON
{
  "hex": "#40c856",
  "rgb": {
    "r": 64,
    "g": 200,
    "b": 86
  },
  "hsl": {
    "h": 129.706,
    "s": 55.285,
    "l": 51.765
  },
  "oklch": {
    "l": 0.73528,
    "c": 0.19435,
    "h": 145.9
  },
  "luminance": 0.4307
}

Semantic roles & 50–950 ramp

primary
#40C856
secondary
#D094C6
accent
#49C6DF
background
#F8FDF8
surface
#F0FBF0
border
#CBD4CB
text
#0C150C
muted
#7D837D

Preview Lab

Preview with #40C856

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

Preview Lab → · Contrast checker → · Palette generator →

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