#42BC42#42BC42

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

Color values

HEX#42BC42
RGBrgb(66, 188, 66)
HSLhsl(120, 48%, 50%)
HSVhsv(120, 65%, 74%)
CMYKcmyk(64.9%, 0%, 64.9%, 26.3%)
CIE-LABlab(67.66, -57.33, 50.32)
CIE-LCHlch(67.66, 76.28, 138.72°)
OKLaboklab(70.22% -0.1557 0.1167)
OKLCHoklch(70.22% 0.195 143.2)
XYZxyz(21.2121, 37.5159, 11.2766)
Luminance0.3752 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42BC42 #BC42BC
analogous
#7FBC42 #42BC42 #42BC7F
triadic
#42BC42 #4242BC #BC4242
tetradic
#42BC42 #427FBC #BC42BC #BC7F42
square
#42BC42 #427FBC #BC42BC #BC7F42
split-complementary
#42BC42 #7F42BC #BC427F
monochromatic
#226122 #328F32 #42BC42 #6FCC6F #9CDC9C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##42BC42#FFFFFF#000000##000000
##42BC421.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)
#C0AB33
Deuteranopia (green-blind)
#B1A14D
Tritanopia (blue-blind)
#27B7A3
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #42bc42;
/* rgb */ color: rgb(66, 188, 66);
/* oklch */ color: oklch(70.2% 0.195 143.2);
Tailwind
colors: {
  custom: {
    50: '#85d17c',
    500: '#42bc42',
    950: '#000000',
  },
}
SCSS
$custom: #42bc42;
$custom-light: #85d17c;
$custom-dark: #000000;
JSON
{
  "hex": "#42bc42",
  "rgb": {
    "r": 66,
    "g": 188,
    "b": 66
  },
  "hsl": {
    "h": 120,
    "s": 48.031,
    "l": 49.804
  },
  "oklch": {
    "l": 0.7022,
    "c": 0.19455,
    "h": 143.2
  },
  "luminance": 0.37518
}

Semantic roles & 50–950 ramp

primary
#42BC42
secondary
#C991C9
accent
#50D8D8
background
#F8FDF7
surface
#F0FAEE
border
#CBD3C9
text
#0C140A
muted
#7D837C

Preview Lab

Preview with #42BC42

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

Preview Lab → · Contrast checker → · Palette generator →

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