#42C876#42C876

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

Color values

HEX#42C876
RGBrgb(66, 200, 118)
HSLhsl(143, 55%, 52%)
HSVhsv(143, 67%, 78%)
CMYKcmyk(67%, 0%, 41%, 21.6%)
CIE-LABlab(72.08, -54.36, 30.70)
CIE-LCHlch(72.08, 62.43, 150.55°)
OKLaboklab(74.07% -0.1467 0.0762)
OKLCHoklch(74.07% 0.165 152.6)
XYZxyz(26.1689, 43.7720, 24.2057)
Luminance0.4377 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42C876 #C84294
analogous
#51C842 #42C876 #42C8B9
triadic
#42C876 #7642C8 #C87642
tetradic
#42C876 #4251C8 #C84294 #C8B942
square
#42C876 #4251C8 #C84294 #C8B942
split-complementary
#42C876 #B942C8 #C84251
monochromatic
#206F3F #2E9F5A #42C876 #71D698 #A1E4BB

Accessibility & contrast

On white

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

On black

9.75
#42C876 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42C876
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42C876#FFFFFF#000000##000000
##42C8761.002.159.759.75
#FFFFFF2.151.0021.0021.00
#0000009.7521.001.001.00
##0000009.7521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #42c876;
/* rgb */ color: rgb(66, 200, 118);
/* oklch */ color: oklch(74.1% 0.165 152.6);
Tailwind
colors: {
  custom: {
    50: '#86da9e',
    500: '#42c876',
    950: '#000000',
  },
}
SCSS
$custom: #42c876;
$custom-light: #86da9e;
$custom-dark: #000000;
JSON
{
  "hex": "#42c876",
  "rgb": {
    "r": 66,
    "g": 200,
    "b": 118
  },
  "hsl": {
    "h": 143.284,
    "s": 54.918,
    "l": 52.157
  },
  "oklch": {
    "l": 0.74073,
    "c": 0.1653,
    "h": 152.6
  },
  "luminance": 0.43775
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #42C876

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

Preview Lab → · Contrast checker → · Palette generator →

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