#40C956#40C956

#40C956 is a light, vivid green. Relative luminance 0.435; OKLCH L 73.8% C 0.196 H 145.9°. Best body text is #000000 at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#40C956
RGBrgb(64, 201, 86)
HSLhsl(130, 56%, 52%)
HSVhsv(130, 68%, 79%)
CMYKcmyk(68.2%, 0%, 57.2%, 21.2%)
CIE-LABlab(71.91, -59.96, 46.25)
CIE-LCHlch(71.91, 75.73, 142.36°)
OKLaboklab(73.79% -0.1619 0.1097)
OKLCHoklch(73.79% 0.196 145.9)
XYZxyz(24.6790, 43.5325, 15.9043)
Luminance0.4354 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C956 #C940B3
analogous
#6FC940 #40C956 #40C99B
triadic
#40C956 #5640C9 #C95640
tetradic
#40C956 #406FC9 #C940B3 #C99B40
square
#40C956 #406FC9 #C940B3 #C99B40
split-complementary
#40C956 #9B40C9 #C9406F
monochromatic
#1F6F2C #2D9F3F #40C956 #70D680 #9FE4AA

Accessibility & contrast

On white

2.16
#40C956 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.71
#40C956 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C956
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C956#FFFFFF#000000##000000
##40C9561.002.169.719.71
#FFFFFF2.161.0021.0021.00
#0000009.7121.001.001.00
##0000009.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB74B
Deuteranopia (green-blind)
#BCAC5F
Tritanopia (blue-blind)
#0AC4B0
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #40c956;
/* rgb */ color: rgb(64, 201, 86);
/* oklch */ color: oklch(73.8% 0.196 145.9);
Tailwind
colors: {
  custom: {
    50: '#86db89',
    500: '#40c956',
    950: '#000000',
  },
}
SCSS
$custom: #40c956;
$custom-light: #86db89;
$custom-dark: #000000;
JSON
{
  "hex": "#40c956",
  "rgb": {
    "r": 64,
    "g": 201,
    "b": 86
  },
  "hsl": {
    "h": 129.635,
    "s": 55.918,
    "l": 51.961
  },
  "oklch": {
    "l": 0.73788,
    "c": 0.19558,
    "h": 145.9
  },
  "luminance": 0.43535
}

Semantic roles & 50–950 ramp

primary
#40C956
secondary
#D094C7
accent
#49C7DF
background
#F8FDF8
surface
#F0FBF0
border
#CBD4CB
text
#0D150C
muted
#7D837D

Preview Lab

Preview with #40C956

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

Preview Lab → · Contrast checker → · Palette generator →

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