#40BF42#40BF42

#40BF42 is a light, vivid green. Relative luminance 0.387; OKLCH L 71.0% C 0.199 H 143.3°. Best body text is #000000 at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#40BF42
RGBrgb(64, 191, 66)
HSLhsl(121, 50%, 50%)
HSVhsv(121, 66%, 75%)
CMYKcmyk(66.5%, 0%, 65.4%, 25.1%)
CIE-LABlab(68.56, -58.78, 51.30)
CIE-LCHlch(68.56, 78.02, 138.89°)
OKLaboklab(70.95% -0.1595 0.1188)
OKLCHoklch(70.95% 0.199 143.3)
XYZxyz(21.7272, 38.7427, 11.4863)
Luminance0.3875 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40BF42 #BF40BD
analogous
#7DBF40 #40BF42 #40BF82
triadic
#40BF42 #4240BF #BF4240
tetradic
#40BF42 #407DBF #BF40BD #BF8240
square
#40BF42 #407DBF #BF40BD #BF8240
split-complementary
#40BF42 #8240BF #BF407D
monochromatic
#216322 #319132 #40BF42 #6ECE6F #9CDE9D

Accessibility & contrast

On white

2.40
#40BF42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.75
#40BF42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40BF42
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40BF42#FFFFFF#000000##000000
##40BF421.002.408.758.75
#FFFFFF2.401.0021.0021.00
#0000008.7521.001.001.00
##0000008.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AE32
Deuteranopia (green-blind)
#B4A34D
Tritanopia (blue-blind)
#20BAA5
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #40bf42;
/* rgb */ color: rgb(64, 191, 66);
/* oklch */ color: oklch(71.0% 0.199 143.3);
Tailwind
colors: {
  custom: {
    50: '#85d37c',
    500: '#40bf42',
    950: '#000000',
  },
}
SCSS
$custom: #40bf42;
$custom-light: #85d37c;
$custom-dark: #000000;
JSON
{
  "hex": "#40bf42",
  "rgb": {
    "r": 64,
    "g": 191,
    "b": 66
  },
  "hsl": {
    "h": 120.945,
    "s": 49.804,
    "l": 50
  },
  "oklch": {
    "l": 0.70952,
    "c": 0.19887,
    "h": 143.3
  },
  "luminance": 0.38745
}

Semantic roles & 50–950 ramp

primary
#40BF42
secondary
#CA91C9
accent
#4ED7D9
background
#F8FDF7
surface
#F0FAEE
border
#CBD3C9
text
#0C140A
muted
#7D837C

Preview Lab

Preview with #40BF42

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

Preview Lab → · Contrast checker → · Palette generator →

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