#40BC4C#40BC4C

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

Color values

HEX#40BC4C
RGBrgb(64, 188, 76)
HSLhsl(126, 49%, 49%)
HSVhsv(126, 66%, 74%)
CMYKcmyk(66%, 0%, 59.6%, 26.3%)
CIE-LABlab(67.71, -56.62, 45.94)
CIE-LCHlch(67.71, 72.92, 140.95°)
OKLaboklab(70.27% -0.1532 0.1083)
OKLCHoklch(70.27% 0.188 144.8)
XYZxyz(21.4007, 37.5760, 12.9612)
Luminance0.3758 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40BC4C #BC40B0
analogous
#72BC40 #40BC4C #40BC8A
triadic
#40BC4C #4C40BC #BC4C40
tetradic
#40BC4C #4072BC #BC40B0 #BC8A40
square
#40BC4C #4072BC #BC40B0 #BC8A40
split-complementary
#40BC4C #8A40BC #BC4072
monochromatic
#216127 #308E3A #40BC4C #6CCD76 #9ADDA0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40BC4C#FFFFFF#000000##000000
##40BC4C1.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)
#BFAB40
Deuteranopia (green-blind)
#B0A155
Tritanopia (blue-blind)
#1EB7A4
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #40bc4c;
/* rgb */ color: rgb(64, 188, 76);
/* oklch */ color: oklch(70.3% 0.188 144.8);
Tailwind
colors: {
  custom: {
    50: '#84d182',
    500: '#40bc4c',
    950: '#000000',
  },
}
SCSS
$custom: #40bc4c;
$custom-light: #84d182;
$custom-dark: #000000;
JSON
{
  "hex": "#40bc4c",
  "rgb": {
    "r": 64,
    "g": 188,
    "b": 76
  },
  "hsl": {
    "h": 125.806,
    "s": 49.206,
    "l": 49.412
  },
  "oklch": {
    "l": 0.70274,
    "c": 0.18762,
    "h": 144.8
  },
  "luminance": 0.37578
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #40BC4C

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

Preview Lab → · Contrast checker → · Palette generator →

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