#40B56A#40B56A

#40B56A is a light, vivid green. Relative luminance 0.352; OKLCH L 68.9% C 0.152 H 151.9°. Best body text is #000000 at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#40B56A
RGBrgb(64, 181, 106)
HSLhsl(142, 48%, 48%)
HSVhsv(142, 65%, 71%)
CMYKcmyk(64.6%, 0%, 41.4%, 29%)
CIE-LABlab(65.89, -49.55, 28.83)
CIE-LCHlch(65.89, 57.32, 149.81°)
OKLaboklab(68.9% -0.1338 0.0715)
OKLCHoklch(68.9% 0.152 151.9)
XYZxyz(21.2380, 35.1761, 19.3033)
Luminance0.3518 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B56A #B5408B
analogous
#51B540 #40B56A #40B5A4
triadic
#40B56A #6A40B5 #B56A40
tetradic
#40B56A #4051B5 #B5408B #B5A440
square
#40B56A #4051B5 #B5408B #B5A440
split-complementary
#40B56A #A440B5 #B54051
monochromatic
#205B35 #308850 #40B56A #68CA8B #96DAAE

Accessibility & contrast

On white

2.61
#40B56A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.04
#40B56A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B56A
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B56A#FFFFFF#000000##000000
##40B56A1.002.618.048.04
#FFFFFF2.611.0021.0021.00
#0000008.0421.001.001.00
##0000008.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A665
Deuteranopia (green-blind)
#A69C6F
Tritanopia (blue-blind)
#0AB2A2
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #40b56a;
/* rgb */ color: rgb(64, 181, 106);
/* oklch */ color: oklch(68.9% 0.152 151.9);
Tailwind
colors: {
  custom: {
    50: '#82cc95',
    500: '#40b56a',
    950: '#000000',
  },
}
SCSS
$custom: #40b56a;
$custom-light: #82cc95;
$custom-dark: #000000;
JSON
{
  "hex": "#40b56a",
  "rgb": {
    "r": 64,
    "g": 181,
    "b": 106
  },
  "hsl": {
    "h": 141.538,
    "s": 47.755,
    "l": 48.039
  },
  "oklch": {
    "l": 0.68899,
    "c": 0.1517,
    "h": 151.9
  },
  "luminance": 0.35178
}

Semantic roles & 50–950 ramp

primary
#40B56A
secondary
#C58BB1
accent
#50A7D7
background
#F8FCF9
surface
#F0F9F2
border
#CBD2CC
text
#0B130D
muted
#7C827E

Preview Lab

Preview with #40B56A

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

Preview Lab → · Contrast checker → · Palette generator →

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