#40B856#40B856

#40B856 is a light, vivid green. Relative luminance 0.360; OKLCH L 69.4% C 0.174 H 146.7°. Best body text is #000000 at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#40B856
RGBrgb(64, 184, 86)
HSLhsl(131, 48%, 49%)
HSVhsv(131, 65%, 72%)
CMYKcmyk(65.2%, 0%, 53.3%, 27.8%)
CIE-LABlab(66.55, -53.87, 39.83)
CIE-LCHlch(66.55, 67.00, 143.52°)
OKLaboklab(69.36% -0.1455 0.0957)
OKLCHoklch(69.36% 0.174 146.7)
XYZxyz(20.9331, 36.0407, 14.6557)
Luminance0.3604 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B856 #B840A2
analogous
#66B840 #40B856 #40B892
triadic
#40B856 #5640B8 #B85640
tetradic
#40B856 #4066B8 #B840A2 #B89240
square
#40B856 #4066B8 #B840A2 #B89240
split-complementary
#40B856 #9240B8 #B84066
monochromatic
#205D2C #308B41 #40B856 #6ACB7C #97DBA4

Accessibility & contrast

On white

2.56
#40B856 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.21
#40B856 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B856
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B856#FFFFFF#000000##000000
##40B8561.002.568.218.21
#FFFFFF2.561.0021.0021.00
#0000008.2121.001.001.00
##0000008.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA84D
Deuteranopia (green-blind)
#AC9E5D
Tritanopia (blue-blind)
#1BB4A2
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #40b856;
/* rgb */ color: rgb(64, 184, 86);
/* oklch */ color: oklch(69.4% 0.174 146.7);
Tailwind
colors: {
  custom: {
    50: '#83ce88',
    500: '#40b856',
    950: '#000000',
  },
}
SCSS
$custom: #40b856;
$custom-light: #83ce88;
$custom-dark: #000000;
JSON
{
  "hex": "#40b856",
  "rgb": {
    "r": 64,
    "g": 184,
    "b": 86
  },
  "hsl": {
    "h": 131,
    "s": 48.387,
    "l": 48.627
  },
  "oklch": {
    "l": 0.69355,
    "c": 0.1741,
    "h": 146.7
  },
  "luminance": 0.36043
}

Semantic roles & 50–950 ramp

primary
#40B856
secondary
#C78DBC
accent
#50BFD8
background
#F8FCF8
surface
#F0F9F0
border
#CBD2CB
text
#0C140B
muted
#7D827C

Preview Lab

Preview with #40B856

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

Preview Lab → · Contrast checker → · Palette generator →

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