#40B56B#40B56B

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

Color values

HEX#40B56B
RGBrgb(64, 181, 107)
HSLhsl(142, 48%, 48%)
HSVhsv(142, 65%, 71%)
CMYKcmyk(64.6%, 0%, 40.9%, 29%)
CIE-LABlab(65.90, -49.37, 28.32)
CIE-LCHlch(65.90, 56.92, 150.16°)
OKLaboklab(68.92% -0.1334 0.0703)
OKLCHoklch(68.92% 0.151 152.2)
XYZxyz(21.2903, 35.1971, 19.5788)
Luminance0.3520 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B56B #B5408A
analogous
#50B540 #40B56B #40B5A5
triadic
#40B56B #6B40B5 #B56B40
tetradic
#40B56B #4050B5 #B5408A #B5A540
square
#40B56B #4050B5 #B5408A #B5A540
split-complementary
#40B56B #A540B5 #B54050
monochromatic
#205B36 #308850 #40B56B #68CA8C #96DAAF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40B56B#FFFFFF#000000##000000
##40B56B1.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)
#B5A666
Deuteranopia (green-blind)
#A69C70
Tritanopia (blue-blind)
#09B2A3
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #40b56b;
/* rgb */ color: rgb(64, 181, 107);
/* oklch */ color: oklch(68.9% 0.151 152.2);
Tailwind
colors: {
  custom: {
    50: '#82cc96',
    500: '#40b56b',
    950: '#000000',
  },
}
SCSS
$custom: #40b56b;
$custom-light: #82cc96;
$custom-dark: #000000;
JSON
{
  "hex": "#40b56b",
  "rgb": {
    "r": 64,
    "g": 181,
    "b": 107
  },
  "hsl": {
    "h": 142.051,
    "s": 47.755,
    "l": 48.039
  },
  "oklch": {
    "l": 0.68918,
    "c": 0.15076,
    "h": 152.2
  },
  "luminance": 0.35199
}

Semantic roles & 50–950 ramp

primary
#40B56B
secondary
#C58BB0
accent
#50A6D7
background
#F8FCF9
surface
#F0F9F2
border
#CBD2CC
text
#0B130D
muted
#7C827E

Preview Lab

Preview with #40B56B

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

Preview Lab → · Contrast checker → · Palette generator →

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