#40BC4E#40BC4E

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

Color values

HEX#40BC4E
RGBrgb(64, 188, 78)
HSLhsl(127, 49%, 49%)
HSVhsv(127, 66%, 74%)
CMYKcmyk(66%, 0%, 58.5%, 26.3%)
CIE-LABlab(67.73, -56.38, 45.04)
CIE-LCHlch(67.73, 72.16, 141.38°)
OKLaboklab(70.3% -0.1525 0.1065)
OKLCHoklch(70.3% 0.186 145.1)
XYZxyz(21.4713, 37.6043, 13.3331)
Luminance0.3761 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40BC4E #BC40AE
analogous
#70BC40 #40BC4E #40BC8C
triadic
#40BC4E #4E40BC #BC4E40
tetradic
#40BC4E #4070BC #BC40AE #BC8C40
square
#40BC4E #4070BC #BC40AE #BC8C40
split-complementary
#40BC4E #8C40BC #BC4070
monochromatic
#216128 #308E3B #40BC4E #6CCD77 #9ADDA1

Accessibility & contrast

On white

2.46
#40BC4E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##40BC4E#FFFFFF#000000##000000
##40BC4E1.002.468.528.52
#FFFFFF2.461.0021.0021.00
#0000008.5221.001.001.00
##0000008.5221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #40bc4e;
/* rgb */ color: rgb(64, 188, 78);
/* oklch */ color: oklch(70.3% 0.186 145.1);
Tailwind
colors: {
  custom: {
    50: '#84d183',
    500: '#40bc4e',
    950: '#000000',
  },
}
SCSS
$custom: #40bc4e;
$custom-light: #84d183;
$custom-dark: #000000;
JSON
{
  "hex": "#40bc4e",
  "rgb": {
    "r": 64,
    "g": 188,
    "b": 78
  },
  "hsl": {
    "h": 126.774,
    "s": 49.206,
    "l": 49.412
  },
  "oklch": {
    "l": 0.70298,
    "c": 0.18599,
    "h": 145.1
  },
  "luminance": 0.37606
}

Semantic roles & 50–950 ramp

primary
#40BC4E
secondary
#C98FC2
accent
#4FC9D9
background
#F8FDF8
surface
#F0FAEF
border
#CBD3CA
text
#0C140B
muted
#7D837C

Preview Lab

Preview with #40BC4E

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

Preview Lab → · Contrast checker → · Palette generator →

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