#40BC42#40BC42

#40BC42 is a light, vivid green. Relative luminance 0.374; OKLCH L 70.2% C 0.195 H 143.4°. Best body text is #000000 at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#40BC42
RGBrgb(64, 188, 66)
HSLhsl(121, 49%, 49%)
HSVhsv(121, 66%, 74%)
CMYKcmyk(66%, 0%, 64.9%, 26.3%)
CIE-LABlab(67.61, -57.74, 50.25)
CIE-LCHlch(67.61, 76.55, 138.97°)
OKLaboklab(70.16% -0.1567 0.1165)
OKLCHoklch(70.16% 0.195 143.4)
XYZxyz(21.0797, 37.4476, 11.2704)
Luminance0.3745 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40BC42 #BC40BA
analogous
#7CBC40 #40BC42 #40BC80
triadic
#40BC42 #4240BC #BC4240
tetradic
#40BC42 #407CBC #BC40BA #BC8040
square
#40BC42 #407CBC #BC40BA #BC8040
split-complementary
#40BC42 #8040BC #BC407C
monochromatic
#216122 #308E32 #40BC42 #6CCD6E #9ADD9B

Accessibility & contrast

On white

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

On black

8.49
#40BC42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40BC42
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40BC42#FFFFFF#000000##000000
##40BC421.002.478.498.49
#FFFFFF2.471.0021.0021.00
#0000008.4921.001.001.00
##0000008.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AB33
Deuteranopia (green-blind)
#B1A14D
Tritanopia (blue-blind)
#22B7A3
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #40bc42;
/* rgb */ color: rgb(64, 188, 66);
/* oklch */ color: oklch(70.2% 0.195 143.4);
Tailwind
colors: {
  custom: {
    50: '#84d17c',
    500: '#40bc42',
    950: '#000000',
  },
}
SCSS
$custom: #40bc42;
$custom-light: #84d17c;
$custom-dark: #000000;
JSON
{
  "hex": "#40bc42",
  "rgb": {
    "r": 64,
    "g": 188,
    "b": 66
  },
  "hsl": {
    "h": 120.968,
    "s": 49.206,
    "l": 49.412
  },
  "oklch": {
    "l": 0.70164,
    "c": 0.19528,
    "h": 143.4
  },
  "luminance": 0.3745
}

Semantic roles & 50–950 ramp

primary
#40BC42
secondary
#C98FC8
accent
#4FD7D9
background
#F8FDF7
surface
#F0FAEE
border
#CBD3C9
text
#0C140A
muted
#7D837C

Preview Lab

Preview with #40BC42

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

Preview Lab → · Contrast checker → · Palette generator →

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