#40B76C#40B76C

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

Color values

HEX#40B76C
RGBrgb(64, 183, 108)
HSLhsl(142, 48%, 48%)
HSVhsv(142, 65%, 72%)
CMYKcmyk(65%, 0%, 41%, 28.2%)
CIE-LABlab(66.55, -49.97, 28.65)
CIE-LCHlch(66.55, 57.60, 150.18°)
OKLaboklab(69.46% -0.135 0.0711)
OKLCHoklch(69.46% 0.153 152.2)
XYZxyz(21.7528, 36.0374, 19.9940)
Luminance0.3604 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B76C #B7408B
analogous
#4FB740 #40B76C #40B7A7
triadic
#40B76C #6C40B7 #B76C40
tetradic
#40B76C #404FB7 #B7408B #B7A740
square
#40B76C #404FB7 #B7408B #B7A740
split-complementary
#40B76C #A740B7 #B7404F
monochromatic
#205C36 #308A51 #40B76C #69CB8D #97DBB0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40B76C#FFFFFF#000000##000000
##40B76C1.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)
#B7A867
Deuteranopia (green-blind)
#A89E71
Tritanopia (blue-blind)
#04B4A4
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #40b76c;
/* rgb */ color: rgb(64, 183, 108);
/* oklch */ color: oklch(69.5% 0.153 152.2);
Tailwind
colors: {
  custom: {
    50: '#82cd97',
    500: '#40b76c',
    950: '#000000',
  },
}
SCSS
$custom: #40b76c;
$custom-light: #82cd97;
$custom-dark: #000000;
JSON
{
  "hex": "#40b76c",
  "rgb": {
    "r": 64,
    "g": 183,
    "b": 108
  },
  "hsl": {
    "h": 142.185,
    "s": 48.178,
    "l": 48.431
  },
  "oklch": {
    "l": 0.69455,
    "c": 0.15255,
    "h": 152.2
  },
  "luminance": 0.3604
}

Semantic roles & 50–950 ramp

primary
#40B76C
secondary
#C68DB1
accent
#50A6D8
background
#F8FCF9
surface
#F0F9F2
border
#CBD2CC
text
#0C140D
muted
#7D827E

Preview Lab

Preview with #40B76C

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

Preview Lab → · Contrast checker → · Palette generator →

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