#42C956#42C956

#42C956 is a light, vivid green. Relative luminance 0.436; OKLCH L 73.8% C 0.195 H 145.7°. Best body text is #000000 at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#42C956
RGBrgb(66, 201, 86)
HSLhsl(129, 56%, 52%)
HSVhsv(129, 67%, 79%)
CMYKcmyk(67.2%, 0%, 57.2%, 21.2%)
CIE-LABlab(71.96, -59.59, 46.31)
CIE-LCHlch(71.96, 75.47, 142.15°)
OKLaboklab(73.84% -0.161 0.1099)
OKLCHoklch(73.84% 0.195 145.7)
XYZxyz(24.8115, 43.6008, 15.9105)
Luminance0.4360 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42C956 #C942B5
analogous
#71C942 #42C956 #42C99A
triadic
#42C956 #5642C9 #C95642
tetradic
#42C956 #4271C9 #C942B5 #C99A42
square
#42C956 #4271C9 #C942B5 #C99A42
split-complementary
#42C956 #9A42C9 #C94271
monochromatic
#20702C #2EA03F #42C956 #72D781 #A1E4AB

Accessibility & contrast

On white

2.16
#42C956 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.72
#42C956 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42C956
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42C956#FFFFFF#000000##000000
##42C9561.002.169.729.72
#FFFFFF2.161.0021.0021.00
#0000009.7221.001.001.00
##0000009.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB74B
Deuteranopia (green-blind)
#BCAC5F
Tritanopia (blue-blind)
#14C4B0
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #42c956;
/* rgb */ color: rgb(66, 201, 86);
/* oklch */ color: oklch(73.8% 0.195 145.7);
Tailwind
colors: {
  custom: {
    50: '#87da89',
    500: '#42c956',
    950: '#000000',
  },
}
SCSS
$custom: #42c956;
$custom-light: #87da89;
$custom-dark: #000000;
JSON
{
  "hex": "#42c956",
  "rgb": {
    "r": 66,
    "g": 201,
    "b": 86
  },
  "hsl": {
    "h": 128.889,
    "s": 55.556,
    "l": 52.353
  },
  "oklch": {
    "l": 0.73839,
    "c": 0.19489,
    "h": 145.7
  },
  "luminance": 0.43603
}

Semantic roles & 50–950 ramp

primary
#42C956
secondary
#D196C8
accent
#49C9DF
background
#F8FDF8
surface
#F0FBF0
border
#CBD4CB
text
#0D150C
muted
#7D837D

Preview Lab

Preview with #42C956

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

Preview Lab → · Contrast checker → · Palette generator →

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