#40B96B#40B96B

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

Color values

HEX#40B96B
RGBrgb(64, 185, 107)
HSLhsl(141, 49%, 49%)
HSVhsv(141, 65%, 73%)
CMYKcmyk(65.4%, 0%, 42.2%, 27.5%)
CIE-LABlab(67.16, -50.93, 29.97)
CIE-LCHlch(67.16, 59.09, 149.52°)
OKLaboklab(69.96% -0.1375 0.0742)
OKLCHoklch(69.96% 0.156 151.7)
XYZxyz(22.1154, 36.8471, 19.8538)
Luminance0.3685 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B96B #B9408E
analogous
#52B940 #40B96B #40B9A8
triadic
#40B96B #6B40B9 #B96B40
tetradic
#40B96B #4052B9 #B9408E #B9A840
square
#40B96B #4052B9 #B9408E #B9A840
split-complementary
#40B96B #A840B9 #B94052
monochromatic
#215E36 #308C51 #40B96B #6BCC8D #98DBB0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40B96B#FFFFFF#000000##000000
##40B96B1.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)
#BAAA65
Deuteranopia (green-blind)
#AA9F70
Tritanopia (blue-blind)
#03B6A6
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #40b96b;
/* rgb */ color: rgb(64, 185, 107);
/* oklch */ color: oklch(70.0% 0.156 151.7);
Tailwind
colors: {
  custom: {
    50: '#82cf96',
    500: '#40b96b',
    950: '#000000',
  },
}
SCSS
$custom: #40b96b;
$custom-light: #82cf96;
$custom-dark: #000000;
JSON
{
  "hex": "#40b96b",
  "rgb": {
    "r": 64,
    "g": 185,
    "b": 107
  },
  "hsl": {
    "h": 141.322,
    "s": 48.594,
    "l": 48.824
  },
  "oklch": {
    "l": 0.69955,
    "c": 0.1562,
    "h": 151.7
  },
  "luminance": 0.36849
}

Semantic roles & 50–950 ramp

primary
#40B96B
secondary
#C78EB3
accent
#50A8D8
background
#F8FCF9
surface
#F0F9F2
border
#CBD2CC
text
#0C140D
muted
#7D827E

Preview Lab

Preview with #40B96B

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

Preview Lab → · Contrast checker → · Palette generator →

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