#40C56A#40C56A

#40C56A is a light, vivid green. Relative luminance 0.421; OKLCH L 73.0% C 0.173 H 150.0°. Best body text is #000000 at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#40C56A
RGBrgb(64, 197, 106)
HSLhsl(139, 53%, 51%)
HSVhsv(139, 68%, 77%)
CMYKcmyk(67.5%, 0%, 46.2%, 22.7%)
CIE-LABlab(70.91, -55.64, 35.31)
CIE-LCHlch(70.91, 65.90, 147.60°)
OKLaboklab(73.04% -0.1499 0.0865)
OKLCHoklch(73.04% 0.173 150)
XYZxyz(24.6802, 42.0604, 20.4507)
Luminance0.4206 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C56A #C5409B
analogous
#58C540 #40C56A #40C5AC
triadic
#40C56A #6A40C5 #C56A40
tetradic
#40C56A #4058C5 #C5409B #C5AC40
square
#40C56A #4058C5 #C5409B #C5AC40
split-complementary
#40C56A #AC40C5 #C54058
monochromatic
#206A38 #2F9950 #40C56A #6FD38F #9EE2B3

Accessibility & contrast

On white

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

On black

9.41
#40C56A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C56A
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C56A#FFFFFF#000000##000000
##40C56A1.002.239.419.41
#FFFFFF2.231.0021.0021.00
#0000009.4121.001.001.00
##0000009.4121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #40c56a;
/* rgb */ color: rgb(64, 197, 106);
/* oklch */ color: oklch(73.0% 0.173 150.0);
Tailwind
colors: {
  custom: {
    50: '#85d896',
    500: '#40c56a',
    950: '#000000',
  },
}
SCSS
$custom: #40c56a;
$custom-light: #85d896;
$custom-dark: #000000;
JSON
{
  "hex": "#40c56a",
  "rgb": {
    "r": 64,
    "g": 197,
    "b": 106
  },
  "hsl": {
    "h": 138.947,
    "s": 53.414,
    "l": 51.176
  },
  "oklch": {
    "l": 0.73041,
    "c": 0.17309,
    "h": 150
  },
  "luminance": 0.42063
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #40C56A

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

Preview Lab → · Contrast checker → · Palette generator →

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