#40C857#40C857

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

Color values

HEX#40C857
RGBrgb(64, 200, 87)
HSLhsl(130, 55%, 52%)
HSVhsv(130, 68%, 78%)
CMYKcmyk(68%, 0%, 56.5%, 21.6%)
CIE-LABlab(71.61, -59.48, 45.43)
CIE-LCHlch(71.61, 74.85, 142.63°)
OKLaboklab(73.54% -0.1606 0.108)
OKLCHoklch(73.54% 0.194 146.1)
XYZxyz(24.4872, 43.0840, 16.0405)
Luminance0.4309 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C857 #C840B1
analogous
#6DC840 #40C857 #40C89B
triadic
#40C857 #5740C8 #C85740
tetradic
#40C857 #406DC8 #C840B1 #C89B40
square
#40C857 #406DC8 #C840B1 #C89B40
split-complementary
#40C857 #9B40C8 #C8406D
monochromatic
#206E2D #2D9D40 #40C857 #70D681 #9FE3AB

Accessibility & contrast

On white

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

On black

9.62
#40C857 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C857
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C857#FFFFFF#000000##000000
##40C8571.002.189.629.62
#FFFFFF2.181.0021.0021.00
#0000009.6221.001.001.00
##0000009.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB64C
Deuteranopia (green-blind)
#BBAB60
Tritanopia (blue-blind)
#0AC3AF
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #40c857;
/* rgb */ color: rgb(64, 200, 87);
/* oklch */ color: oklch(73.5% 0.194 146.1);
Tailwind
colors: {
  custom: {
    50: '#86da89',
    500: '#40c857',
    950: '#000000',
  },
}
SCSS
$custom: #40c857;
$custom-light: #86da89;
$custom-dark: #000000;
JSON
{
  "hex": "#40c857",
  "rgb": {
    "r": 64,
    "g": 200,
    "b": 87
  },
  "hsl": {
    "h": 130.147,
    "s": 55.285,
    "l": 51.765
  },
  "oklch": {
    "l": 0.73541,
    "c": 0.19352,
    "h": 146.1
  },
  "luminance": 0.43087
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #40C857

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

Preview Lab → · Contrast checker → · Palette generator →

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