#40B96C#40B96C

#40B96C is a light, vivid green. Relative luminance 0.369; OKLCH L 70.0% C 0.155 H 151.9°. Best body text is #000000 at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#40B96C
RGBrgb(64, 185, 108)
HSLhsl(142, 49%, 49%)
HSVhsv(142, 65%, 73%)
CMYKcmyk(65.4%, 0%, 41.6%, 27.5%)
CIE-LABlab(67.18, -50.75, 29.47)
CIE-LCHlch(67.18, 58.69, 149.86°)
OKLaboklab(69.97% -0.137 0.073)
OKLCHoklch(69.97% 0.155 151.9)
XYZxyz(22.1683, 36.8683, 20.1325)
Luminance0.3687 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B96C #B9408D
analogous
#51B940 #40B96C #40B9A9
triadic
#40B96C #6C40B9 #B96C40
tetradic
#40B96C #4051B9 #B9408D #B9A940
square
#40B96C #4051B9 #B9408D #B9A940
split-complementary
#40B96C #A940B9 #B94051
monochromatic
#215E37 #308C51 #40B96C #6BCC8E #98DBB1

Accessibility & contrast

On white

2.51
#40B96C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.37
#40B96C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B96C
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B96C#FFFFFF#000000##000000
##40B96C1.002.518.378.37
#FFFFFF2.511.0021.0021.00
#0000008.3721.001.001.00
##0000008.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9AA66
Deuteranopia (green-blind)
#AA9F71
Tritanopia (blue-blind)
#01B6A6
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #40b96c;
/* rgb */ color: rgb(64, 185, 108);
/* oklch */ color: oklch(70.0% 0.155 151.9);
Tailwind
colors: {
  custom: {
    50: '#82cf97',
    500: '#40b96c',
    950: '#000000',
  },
}
SCSS
$custom: #40b96c;
$custom-light: #82cf97;
$custom-dark: #000000;
JSON
{
  "hex": "#40b96c",
  "rgb": {
    "r": 64,
    "g": 185,
    "b": 108
  },
  "hsl": {
    "h": 141.818,
    "s": 48.594,
    "l": 48.824
  },
  "oklch": {
    "l": 0.69974,
    "c": 0.15526,
    "h": 151.9
  },
  "luminance": 0.36871
}

Semantic roles & 50–950 ramp

primary
#40B96C
secondary
#C78EB2
accent
#50A7D8
background
#F8FCF9
surface
#F0F9F2
border
#CBD2CC
text
#0C140D
muted
#7D827E

Preview Lab

Preview with #40B96C

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

Preview Lab → · Contrast checker → · Palette generator →

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