#40C56B#40C56B

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

Color values

HEX#40C56B
RGBrgb(64, 197, 107)
HSLhsl(139, 53%, 51%)
HSVhsv(139, 68%, 77%)
CMYKcmyk(67.5%, 0%, 45.7%, 22.7%)
CIE-LABlab(70.93, -55.47, 34.83)
CIE-LCHlch(70.93, 65.50, 147.88°)
OKLaboklab(73.06% -0.1495 0.0854)
OKLCHoklch(73.06% 0.172 150.3)
XYZxyz(24.7325, 42.0814, 20.7262)
Luminance0.4208 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C56B #C5409A
analogous
#57C540 #40C56B #40C5AD
triadic
#40C56B #6B40C5 #C56B40
tetradic
#40C56B #4057C5 #C5409A #C5AD40
square
#40C56B #4057C5 #C5409A #C5AD40
split-complementary
#40C56B #AD40C5 #C54057
monochromatic
#206A38 #2F9951 #40C56B #6FD38F #9EE2B4

Accessibility & contrast

On white

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

On black

9.42
#40C56B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C56B
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C56B#FFFFFF#000000##000000
##40C56B1.002.239.429.42
#FFFFFF2.231.0021.0021.00
#0000009.4221.001.001.00
##0000009.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B564
Deuteranopia (green-blind)
#B6A971
Tritanopia (blue-blind)
#00C2AF
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #40c56b;
/* rgb */ color: rgb(64, 197, 107);
/* oklch */ color: oklch(73.1% 0.172 150.3);
Tailwind
colors: {
  custom: {
    50: '#85d896',
    500: '#40c56b',
    950: '#000000',
  },
}
SCSS
$custom: #40c56b;
$custom-light: #85d896;
$custom-dark: #000000;
JSON
{
  "hex": "#40c56b",
  "rgb": {
    "r": 64,
    "g": 197,
    "b": 107
  },
  "hsl": {
    "h": 139.398,
    "s": 53.414,
    "l": 51.176
  },
  "oklch": {
    "l": 0.73058,
    "c": 0.17217,
    "h": 150.3
  },
  "luminance": 0.42084
}

Semantic roles & 50–950 ramp

primary
#40C56B
secondary
#CE93BB
accent
#4BAEDD
background
#F8FDF9
surface
#F0FAF2
border
#CBD3CC
text
#0C150D
muted
#7D837E

Preview Lab

Preview with #40C56B

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

Preview Lab → · Contrast checker → · Palette generator →

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