#40C56D#40C56D

#40C56D is a light, vivid green. Relative luminance 0.421; OKLCH L 73.1% C 0.170 H 150.8°. Best body text is #000000 at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#40C56D
RGBrgb(64, 197, 109)
HSLhsl(140, 53%, 51%)
HSVhsv(140, 68%, 77%)
CMYKcmyk(67.5%, 0%, 44.7%, 22.7%)
CIE-LABlab(70.96, -55.14, 33.85)
CIE-LCHlch(70.96, 64.70, 148.46°)
OKLaboklab(73.09% -0.1486 0.0832)
OKLCHoklch(73.09% 0.17 150.8)
XYZxyz(24.8389, 42.1239, 21.2867)
Luminance0.4213 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C56D #C54098
analogous
#55C540 #40C56D #40C5B0
triadic
#40C56D #6D40C5 #C56D40
tetradic
#40C56D #4055C5 #C54098 #C5B040
square
#40C56D #4055C5 #C54098 #C5B040
split-complementary
#40C56D #B040C5 #C54055
monochromatic
#206A39 #2F9953 #40C56D #6FD391 #9EE2B5

Accessibility & contrast

On white

2.23
#40C56D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.43
#40C56D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C56D
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C56D#FFFFFF#000000##000000
##40C56D1.002.239.439.43
#FFFFFF2.231.0021.0021.00
#0000009.4321.001.001.00
##0000009.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B566
Deuteranopia (green-blind)
#B5A973
Tritanopia (blue-blind)
#00C2B0
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #40c56d;
/* rgb */ color: rgb(64, 197, 109);
/* oklch */ color: oklch(73.1% 0.170 150.8);
Tailwind
colors: {
  custom: {
    50: '#85d898',
    500: '#40c56d',
    950: '#000000',
  },
}
SCSS
$custom: #40c56d;
$custom-light: #85d898;
$custom-dark: #000000;
JSON
{
  "hex": "#40c56d",
  "rgb": {
    "r": 64,
    "g": 197,
    "b": 109
  },
  "hsl": {
    "h": 140.301,
    "s": 53.414,
    "l": 51.176
  },
  "oklch": {
    "l": 0.73092,
    "c": 0.17034,
    "h": 150.8
  },
  "luminance": 0.42127
}

Semantic roles & 50–950 ramp

primary
#40C56D
secondary
#CE93BA
accent
#4BABDD
background
#F8FDF9
surface
#F0FAF2
border
#CBD3CC
text
#0C150E
muted
#7D837E

Preview Lab

Preview with #40C56D

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

Preview Lab → · Contrast checker → · Palette generator →

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