#40B86B#40B86B

#40B86B is a light, vivid green. Relative luminance 0.364; OKLCH L 69.7% C 0.155 H 151.8°. Best body text is #000000 at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#40B86B
RGBrgb(64, 184, 107)
HSLhsl(142, 48%, 49%)
HSVhsv(142, 65%, 72%)
CMYKcmyk(65.2%, 0%, 41.8%, 27.8%)
CIE-LABlab(66.85, -50.54, 29.56)
CIE-LCHlch(66.85, 58.55, 149.68°)
OKLaboklab(69.7% -0.1364 0.0732)
OKLCHoklch(69.7% 0.155 151.8)
XYZxyz(21.9069, 36.4302, 19.7843)
Luminance0.3643 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B86B #B8408D
analogous
#51B840 #40B86B #40B8A7
triadic
#40B86B #6B40B8 #B86B40
tetradic
#40B86B #4051B8 #B8408D #B8A740
square
#40B86B #4051B8 #B8408D #B8A740
split-complementary
#40B86B #A740B8 #B84051
monochromatic
#205D36 #308B51 #40B86B #6ACB8D #97DBB0

Accessibility & contrast

On white

2.53
#40B86B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.29
#40B86B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B86B
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B86B#FFFFFF#000000##000000
##40B86B1.002.538.298.29
#FFFFFF2.531.0021.0021.00
#0000008.2921.001.001.00
##0000008.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A965
Deuteranopia (green-blind)
#A99E70
Tritanopia (blue-blind)
#04B5A5
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #40b86b;
/* rgb */ color: rgb(64, 184, 107);
/* oklch */ color: oklch(69.7% 0.155 151.8);
Tailwind
colors: {
  custom: {
    50: '#82ce96',
    500: '#40b86b',
    950: '#000000',
  },
}
SCSS
$custom: #40b86b;
$custom-light: #82ce96;
$custom-dark: #000000;
JSON
{
  "hex": "#40b86b",
  "rgb": {
    "r": 64,
    "g": 184,
    "b": 107
  },
  "hsl": {
    "h": 141.5,
    "s": 48.387,
    "l": 48.627
  },
  "oklch": {
    "l": 0.69696,
    "c": 0.15485,
    "h": 151.8
  },
  "luminance": 0.36433
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #40B86B

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

Preview Lab → · Contrast checker → · Palette generator →

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