#42C857#42C857

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

Color values

HEX#42C857
RGBrgb(66, 200, 87)
HSLhsl(129, 55%, 52%)
HSVhsv(129, 67%, 78%)
CMYKcmyk(67%, 0%, 56.5%, 21.6%)
CIE-LABlab(71.66, -59.11, 45.49)
CIE-LCHlch(71.66, 74.59, 142.42°)
OKLaboklab(73.59% -0.1596 0.1082)
OKLCHoklch(73.59% 0.193 145.9)
XYZxyz(24.6197, 43.1523, 16.0467)
Luminance0.4315 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42C857 #C842B3
analogous
#70C842 #42C857 #42C89A
triadic
#42C857 #5742C8 #C85742
tetradic
#42C857 #4270C8 #C842B3 #C89A42
square
#42C857 #4270C8 #C842B3 #C89A42
split-complementary
#42C857 #9A42C8 #C84270
monochromatic
#206F2D #2E9F40 #42C857 #71D681 #A1E4AB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##42C857#FFFFFF#000000##000000
##42C8571.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)
#CBB64C
Deuteranopia (green-blind)
#BBAB60
Tritanopia (blue-blind)
#14C3AF
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #42c857;
/* rgb */ color: rgb(66, 200, 87);
/* oklch */ color: oklch(73.6% 0.193 145.9);
Tailwind
colors: {
  custom: {
    50: '#87da89',
    500: '#42c857',
    950: '#000000',
  },
}
SCSS
$custom: #42c857;
$custom-light: #87da89;
$custom-dark: #000000;
JSON
{
  "hex": "#42c857",
  "rgb": {
    "r": 66,
    "g": 200,
    "b": 87
  },
  "hsl": {
    "h": 129.403,
    "s": 54.918,
    "l": 52.157
  },
  "oklch": {
    "l": 0.73592,
    "c": 0.19283,
    "h": 145.9
  },
  "luminance": 0.43155
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #42C857

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

Preview Lab → · Contrast checker → · Palette generator →

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