#42C877#42C877

#42C877 is a light, vivid green. Relative luminance 0.438; OKLCH L 74.1% C 0.164 H 152.8°. Best body text is #000000 at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#42C877
RGBrgb(66, 200, 119)
HSLhsl(144, 55%, 52%)
HSVhsv(144, 67%, 78%)
CMYKcmyk(67%, 0%, 40.5%, 21.6%)
CIE-LABlab(72.09, -54.18, 30.20)
CIE-LCHlch(72.09, 62.03, 150.86°)
OKLaboklab(74.09% -0.1463 0.075)
OKLCHoklch(74.09% 0.164 152.8)
XYZxyz(26.2286, 43.7959, 24.5204)
Luminance0.4380 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42C877 #C84293
analogous
#50C842 #42C877 #42C8BA
triadic
#42C877 #7742C8 #C87742
tetradic
#42C877 #4250C8 #C84293 #C8BA42
square
#42C877 #4250C8 #C84293 #C8BA42
split-complementary
#42C877 #BA42C8 #C84250
monochromatic
#206F40 #2E9F5B #42C877 #71D699 #A1E4BB

Accessibility & contrast

On white

2.15
#42C877 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.76
#42C877 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42C877
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42C877#FFFFFF#000000##000000
##42C8771.002.159.769.76
#FFFFFF2.151.0021.0021.00
#0000009.7621.001.001.00
##0000009.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B871
Deuteranopia (green-blind)
#B7AC7C
Tritanopia (blue-blind)
#00C5B4
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #42c877;
/* rgb */ color: rgb(66, 200, 119);
/* oklch */ color: oklch(74.1% 0.164 152.8);
Tailwind
colors: {
  custom: {
    50: '#86da9f',
    500: '#42c877',
    950: '#000000',
  },
}
SCSS
$custom: #42c877;
$custom-light: #86da9f;
$custom-dark: #000000;
JSON
{
  "hex": "#42c877",
  "rgb": {
    "r": 66,
    "g": 200,
    "b": 119
  },
  "hsl": {
    "h": 143.731,
    "s": 54.918,
    "l": 52.157
  },
  "oklch": {
    "l": 0.74091,
    "c": 0.16439,
    "h": 152.8
  },
  "luminance": 0.43799
}

Semantic roles & 50–950 ramp

primary
#42C877
secondary
#D096B9
accent
#4AA3DE
background
#F8FDF9
surface
#F0FBF2
border
#CBD4CC
text
#0C150E
muted
#7D837E

Preview Lab

Preview with #42C877

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

Preview Lab → · Contrast checker → · Palette generator →

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