#40B56C#40B56C

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

Color values

HEX#40B56C
RGBrgb(64, 181, 108)
HSLhsl(143, 48%, 48%)
HSVhsv(143, 65%, 71%)
CMYKcmyk(64.6%, 0%, 40.3%, 29%)
CIE-LABlab(65.92, -49.19, 27.82)
CIE-LCHlch(65.92, 56.51, 150.51°)
OKLaboklab(68.94% -0.1329 0.0692)
OKLCHoklch(68.94% 0.15 152.5)
XYZxyz(21.3432, 35.2182, 19.8575)
Luminance0.3522 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B56C #B54089
analogous
#4EB540 #40B56C #40B5A6
triadic
#40B56C #6C40B5 #B56C40
tetradic
#40B56C #404EB5 #B54089 #B5A640
square
#40B56C #404EB5 #B54089 #B5A640
split-complementary
#40B56C #A640B5 #B5404E
monochromatic
#205B36 #308851 #40B56C #68CA8D #96DAAF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40B56C#FFFFFF#000000##000000
##40B56C1.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)
#B5A767
Deuteranopia (green-blind)
#A69C71
Tritanopia (blue-blind)
#07B3A3
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #40b56c;
/* rgb */ color: rgb(64, 181, 108);
/* oklch */ color: oklch(68.9% 0.150 152.5);
Tailwind
colors: {
  custom: {
    50: '#82cc97',
    500: '#40b56c',
    950: '#000000',
  },
}
SCSS
$custom: #40b56c;
$custom-light: #82cc97;
$custom-dark: #000000;
JSON
{
  "hex": "#40b56c",
  "rgb": {
    "r": 64,
    "g": 181,
    "b": 108
  },
  "hsl": {
    "h": 142.564,
    "s": 47.755,
    "l": 48.039
  },
  "oklch": {
    "l": 0.68937,
    "c": 0.14981,
    "h": 152.5
  },
  "luminance": 0.3522
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #40B56C

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

Preview Lab → · Contrast checker → · Palette generator →

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