#40BC4D#40BC4D

#40BC4D is a light, vivid green. Relative luminance 0.376; OKLCH L 70.3% C 0.187 H 144.9°. Best body text is #000000 at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#40BC4D
RGBrgb(64, 188, 77)
HSLhsl(126, 49%, 49%)
HSVhsv(126, 66%, 74%)
CMYKcmyk(66%, 0%, 59%, 26.3%)
CIE-LABlab(67.72, -56.50, 45.49)
CIE-LCHlch(67.72, 72.54, 141.16°)
OKLaboklab(70.29% -0.1529 0.1074)
OKLCHoklch(70.29% 0.187 144.9)
XYZxyz(21.4358, 37.5900, 13.1457)
Luminance0.3759 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40BC4D #BC40AF
analogous
#71BC40 #40BC4D #40BC8B
triadic
#40BC4D #4D40BC #BC4D40
tetradic
#40BC4D #4071BC #BC40AF #BC8B40
square
#40BC4D #4071BC #BC40AF #BC8B40
split-complementary
#40BC4D #8B40BC #BC4071
monochromatic
#216128 #308E3A #40BC4D #6CCD76 #9ADDA1

Accessibility & contrast

On white

2.47
#40BC4D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.52
#40BC4D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40BC4D
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40BC4D#FFFFFF#000000##000000
##40BC4D1.002.478.528.52
#FFFFFF2.471.0021.0021.00
#0000008.5221.001.001.00
##0000008.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAB42
Deuteranopia (green-blind)
#B0A156
Tritanopia (blue-blind)
#1DB7A4
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #40bc4d;
/* rgb */ color: rgb(64, 188, 77);
/* oklch */ color: oklch(70.3% 0.187 144.9);
Tailwind
colors: {
  custom: {
    50: '#84d182',
    500: '#40bc4d',
    950: '#000000',
  },
}
SCSS
$custom: #40bc4d;
$custom-light: #84d182;
$custom-dark: #000000;
JSON
{
  "hex": "#40bc4d",
  "rgb": {
    "r": 64,
    "g": 188,
    "b": 77
  },
  "hsl": {
    "h": 126.29,
    "s": 49.206,
    "l": 49.412
  },
  "oklch": {
    "l": 0.70285,
    "c": 0.18681,
    "h": 144.9
  },
  "luminance": 0.37592
}

Semantic roles & 50–950 ramp

primary
#40BC4D
secondary
#C98FC3
accent
#4FCAD9
background
#F8FDF8
surface
#F0FAEF
border
#CBD3CA
text
#0C140B
muted
#7D837C

Preview Lab

Preview with #40BC4D

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

Preview Lab → · Contrast checker → · Palette generator →

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