#42C879#42C879

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

Color values

HEX#42C879
RGBrgb(66, 200, 121)
HSLhsl(145, 55%, 52%)
HSVhsv(145, 67%, 78%)
CMYKcmyk(67%, 0%, 39.5%, 21.6%)
CIE-LABlab(72.12, -53.82, 29.21)
CIE-LCHlch(72.12, 61.24, 151.51°)
OKLaboklab(74.13% -0.1454 0.0727)
OKLCHoklch(74.13% 0.163 153.4)
XYZxyz(26.3500, 43.8444, 25.1596)
Luminance0.4385 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42C879 #C84291
analogous
#4EC842 #42C879 #42C8BC
triadic
#42C879 #7942C8 #C87942
tetradic
#42C879 #424EC8 #C84291 #C8BC42
square
#42C879 #424EC8 #C84291 #C8BC42
split-complementary
#42C879 #BC42C8 #C8424E
monochromatic
#206F41 #2E9F5C #42C879 #71D69B #A1E4BC

Accessibility & contrast

On white

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

On black

9.77
#42C879 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42C879
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42C879#FFFFFF#000000##000000
##42C8791.002.159.779.77
#FFFFFF2.151.0021.0021.00
#0000009.7721.001.001.00
##0000009.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B874
Deuteranopia (green-blind)
#B7AC7E
Tritanopia (blue-blind)
#00C6B4
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #42c879;
/* rgb */ color: rgb(66, 200, 121);
/* oklch */ color: oklch(74.1% 0.163 153.4);
Tailwind
colors: {
  custom: {
    50: '#86daa0',
    500: '#42c879',
    950: '#000000',
  },
}
SCSS
$custom: #42c879;
$custom-light: #86daa0;
$custom-dark: #000000;
JSON
{
  "hex": "#42c879",
  "rgb": {
    "r": 66,
    "g": 200,
    "b": 121
  },
  "hsl": {
    "h": 144.627,
    "s": 54.918,
    "l": 52.157
  },
  "oklch": {
    "l": 0.74129,
    "c": 0.16255,
    "h": 153.4
  },
  "luminance": 0.43847
}

Semantic roles & 50–950 ramp

primary
#42C879
secondary
#D096B8
accent
#4AA1DE
background
#F8FDF9
surface
#F0FBF2
border
#CBD4CC
text
#0C150F
muted
#7D837E

Preview Lab

Preview with #42C879

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

Preview Lab → · Contrast checker → · Palette generator →

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