#42BC40#42BC40

#42BC40 is a light, vivid green. Relative luminance 0.375; OKLCH L 70.2% C 0.196 H 142.9°. Best body text is #000000 at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#42BC40
RGBrgb(66, 188, 64)
HSLhsl(119, 49%, 49%)
HSVhsv(119, 66%, 74%)
CMYKcmyk(64.9%, 0%, 66%, 26.3%)
CIE-LABlab(67.64, -57.53, 51.15)
CIE-LCHlch(67.64, 76.98, 138.36°)
OKLaboklab(70.2% -0.1563 0.1182)
OKLCHoklch(70.2% 0.196 142.9)
XYZxyz(21.1542, 37.4927, 10.9715)
Luminance0.3750 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42BC40 #BA40BC
analogous
#80BC40 #42BC40 #40BC7C
triadic
#42BC40 #4042BC #BC4042
tetradic
#42BC40 #4080BC #BA40BC #BC7C40
square
#42BC40 #4080BC #BA40BC #BC7C40
split-complementary
#42BC40 #7C40BC #BC4080
monochromatic
#226121 #328E30 #42BC40 #6ECD6C #9BDD9A

Accessibility & contrast

On white

2.47
#42BC40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.50
#42BC40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42BC40
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42BC40#FFFFFF#000000##000000
##42BC401.002.478.508.50
#FFFFFF2.471.0021.0021.00
#0000008.5021.001.001.00
##0000008.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AB30
Deuteranopia (green-blind)
#B1A14B
Tritanopia (blue-blind)
#27B7A2
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #42bc40;
/* rgb */ color: rgb(66, 188, 64);
/* oklch */ color: oklch(70.2% 0.196 142.9);
Tailwind
colors: {
  custom: {
    50: '#85d17a',
    500: '#42bc40',
    950: '#000000',
  },
}
SCSS
$custom: #42bc40;
$custom-light: #85d17a;
$custom-dark: #000000;
JSON
{
  "hex": "#42bc40",
  "rgb": {
    "r": 66,
    "g": 188,
    "b": 64
  },
  "hsl": {
    "h": 119.032,
    "s": 49.206,
    "l": 49.412
  },
  "oklch": {
    "l": 0.702,
    "c": 0.19599,
    "h": 142.9
  },
  "luminance": 0.37495
}

Semantic roles & 50–950 ramp

primary
#42BC40
secondary
#C88FC9
accent
#4FD9D7
background
#F8FDF7
surface
#F0FAEE
border
#CBD3C9
text
#0C140A
muted
#7D837C

Preview Lab

Preview with #42BC40

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

Preview Lab → · Contrast checker → · Palette generator →

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