#40C56C#40C56C

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

Color values

HEX#40C56C
RGBrgb(64, 197, 108)
HSLhsl(140, 53%, 51%)
HSVhsv(140, 68%, 77%)
CMYKcmyk(67.5%, 0%, 45.2%, 22.7%)
CIE-LABlab(70.94, -55.31, 34.34)
CIE-LCHlch(70.94, 65.10, 148.17°)
OKLaboklab(73.08% -0.1491 0.0843)
OKLCHoklch(73.08% 0.171 150.5)
XYZxyz(24.7854, 42.1025, 21.0048)
Luminance0.4210 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C56C #C54099
analogous
#56C540 #40C56C #40C5AF
triadic
#40C56C #6C40C5 #C56C40
tetradic
#40C56C #4056C5 #C54099 #C5AF40
square
#40C56C #4056C5 #C54099 #C5AF40
split-complementary
#40C56C #AF40C5 #C54056
monochromatic
#206A39 #2F9952 #40C56C #6FD390 #9EE2B4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40C56C#FFFFFF#000000##000000
##40C56C1.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)
#C6B565
Deuteranopia (green-blind)
#B6A972
Tritanopia (blue-blind)
#00C2B0
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #40c56c;
/* rgb */ color: rgb(64, 197, 108);
/* oklch */ color: oklch(73.1% 0.171 150.5);
Tailwind
colors: {
  custom: {
    50: '#85d897',
    500: '#40c56c',
    950: '#000000',
  },
}
SCSS
$custom: #40c56c;
$custom-light: #85d897;
$custom-dark: #000000;
JSON
{
  "hex": "#40c56c",
  "rgb": {
    "r": 64,
    "g": 197,
    "b": 108
  },
  "hsl": {
    "h": 139.85,
    "s": 53.414,
    "l": 51.176
  },
  "oklch": {
    "l": 0.73075,
    "c": 0.17126,
    "h": 150.5
  },
  "luminance": 0.42105
}

Semantic roles & 50–950 ramp

primary
#40C56C
secondary
#CE93BA
accent
#4BADDD
background
#F8FDF9
surface
#F0FAF2
border
#CBD3CC
text
#0C150D
muted
#7D837E

Preview Lab

Preview with #40C56C

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

Preview Lab → · Contrast checker → · Palette generator →

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