#42BF40#42BF40

#42BF40 is a light, vivid green. Relative luminance 0.388; OKLCH L 71.0% C 0.200 H 142.9°. Best body text is #000000 at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#42BF40
RGBrgb(66, 191, 64)
HSLhsl(119, 50%, 50%)
HSVhsv(119, 66%, 75%)
CMYKcmyk(65.4%, 0%, 66.5%, 25.1%)
CIE-LABlab(68.60, -58.57, 52.18)
CIE-LCHlch(68.60, 78.45, 138.30°)
OKLaboklab(70.99% -0.1592 0.1204)
OKLCHoklch(70.99% 0.2 142.9)
XYZxyz(21.8017, 38.7878, 11.1873)
Luminance0.3879 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42BF40 #BD40BF
analogous
#82BF40 #42BF40 #40BF7D
triadic
#42BF40 #4042BF #BF4042
tetradic
#42BF40 #4082BF #BD40BF #BF7D40
square
#42BF40 #4082BF #BD40BF #BF7D40
split-complementary
#42BF40 #7D40BF #BF4082
monochromatic
#226321 #329131 #42BF40 #6FCE6E #9DDE9C

Accessibility & contrast

On white

2.40
#42BF40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.76
#42BF40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42BF40
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42BF40#FFFFFF#000000##000000
##42BF401.002.408.768.76
#FFFFFF2.401.0021.0021.00
#0000008.7621.001.001.00
##0000008.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AE2F
Deuteranopia (green-blind)
#B4A34C
Tritanopia (blue-blind)
#26BAA5
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #42bf40;
/* rgb */ color: rgb(66, 191, 64);
/* oklch */ color: oklch(71.0% 0.200 142.9);
Tailwind
colors: {
  custom: {
    50: '#86d37b',
    500: '#42bf40',
    950: '#000000',
  },
}
SCSS
$custom: #42bf40;
$custom-light: #86d37b;
$custom-dark: #000000;
JSON
{
  "hex": "#42bf40",
  "rgb": {
    "r": 66,
    "g": 191,
    "b": 64
  },
  "hsl": {
    "h": 119.055,
    "s": 49.804,
    "l": 50
  },
  "oklch": {
    "l": 0.70988,
    "c": 0.19956,
    "h": 142.9
  },
  "luminance": 0.3879
}

Semantic roles & 50–950 ramp

primary
#42BF40
secondary
#C991CA
accent
#4ED9D7
background
#F8FDF7
surface
#F0FAEE
border
#CBD3C9
text
#0C140A
muted
#7D837C

Preview Lab

Preview with #42BF40

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

Preview Lab → · Contrast checker → · Palette generator →

#42BF40 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva