#42C856#42C856

#42C856 is a light, vivid green. Relative luminance 0.431; OKLCH L 73.6% C 0.194 H 145.7°. Best body text is #000000 at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#42C856
RGBrgb(66, 200, 86)
HSLhsl(129, 55%, 52%)
HSVhsv(129, 67%, 78%)
CMYKcmyk(67%, 0%, 57%, 21.6%)
CIE-LABlab(71.65, -59.24, 45.94)
CIE-LCHlch(71.65, 74.97, 142.20°)
OKLaboklab(73.58% -0.16 0.1091)
OKLCHoklch(73.58% 0.194 145.7)
XYZxyz(24.5791, 43.1361, 15.8331)
Luminance0.4314 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42C856 #C842B4
analogous
#71C842 #42C856 #42C899
triadic
#42C856 #5642C8 #C85642
tetradic
#42C856 #4271C8 #C842B4 #C89942
square
#42C856 #4271C8 #C842B4 #C89942
split-complementary
#42C856 #9942C8 #C84271
monochromatic
#206F2C #2E9F3F #42C856 #71D680 #A1E4AB

Accessibility & contrast

On white

2.18
#42C856 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.63
#42C856 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42C856
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42C856#FFFFFF#000000##000000
##42C8561.002.189.639.63
#FFFFFF2.181.0021.0021.00
#0000009.6321.001.001.00
##0000009.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB64B
Deuteranopia (green-blind)
#BBAB5F
Tritanopia (blue-blind)
#15C3AF
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #42c856;
/* rgb */ color: rgb(66, 200, 86);
/* oklch */ color: oklch(73.6% 0.194 145.7);
Tailwind
colors: {
  custom: {
    50: '#87da89',
    500: '#42c856',
    950: '#000000',
  },
}
SCSS
$custom: #42c856;
$custom-light: #87da89;
$custom-dark: #000000;
JSON
{
  "hex": "#42c856",
  "rgb": {
    "r": 66,
    "g": 200,
    "b": 86
  },
  "hsl": {
    "h": 128.955,
    "s": 54.918,
    "l": 52.157
  },
  "oklch": {
    "l": 0.73579,
    "c": 0.19366,
    "h": 145.7
  },
  "luminance": 0.43139
}

Semantic roles & 50–950 ramp

primary
#42C856
secondary
#D096C7
accent
#4AC8DE
background
#F8FDF8
surface
#F0FBF0
border
#CBD4CB
text
#0D150C
muted
#7D837D

Preview Lab

Preview with #42C856

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

Preview Lab → · Contrast checker → · Palette generator →

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