#42C847#42C847

#42C847 is a light, highly saturated green. Relative luminance 0.429; OKLCH L 73.4% C 0.205 H 143.6°. Best body text is #000000 at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#42C847
RGBrgb(66, 200, 71)
HSLhsl(122, 55%, 52%)
HSVhsv(122, 67%, 78%)
CMYKcmyk(67%, 0%, 64.5%, 21.6%)
CIE-LABlab(71.50, -60.96, 52.44)
CIE-LCHlch(71.50, 80.41, 139.30°)
OKLaboklab(73.41% -0.1653 0.1217)
OKLCHoklch(73.41% 0.205 143.6)
XYZxyz(24.0369, 42.9192, 12.9775)
Luminance0.4292 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42C847 #C842C3
analogous
#80C842 #42C847 #42C88A
triadic
#42C847 #4742C8 #C84742
tetradic
#42C847 #4280C8 #C842C3 #C88A42
square
#42C847 #4280C8 #C842C3 #C88A42
split-complementary
#42C847 #8A42C8 #C84280
monochromatic
#206F23 #2E9F32 #42C847 #71D675 #A1E4A3

Accessibility & contrast

On white

2.19
#42C847 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.58
#42C847 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42C847
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42C847#FFFFFF#000000##000000
##42C8471.002.199.589.58
#FFFFFF2.191.0021.0021.00
#0000009.5821.001.001.00
##0000009.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB637
Deuteranopia (green-blind)
#BCAB52
Tritanopia (blue-blind)
#1EC3AD
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #42c847;
/* rgb */ color: rgb(66, 200, 71);
/* oklch */ color: oklch(73.4% 0.205 143.6);
Tailwind
colors: {
  custom: {
    50: '#87da7f',
    500: '#42c847',
    950: '#000000',
  },
}
SCSS
$custom: #42c847;
$custom-light: #87da7f;
$custom-dark: #000000;
JSON
{
  "hex": "#42c847",
  "rgb": {
    "r": 66,
    "g": 200,
    "b": 71
  },
  "hsl": {
    "h": 122.239,
    "s": 54.918,
    "l": 52.157
  },
  "oklch": {
    "l": 0.7341,
    "c": 0.20525,
    "h": 143.6
  },
  "luminance": 0.42922
}

Semantic roles & 50–950 ramp

primary
#42C847
secondary
#D096CE
accent
#4AD9DE
background
#F9FDF8
surface
#F1FBEF
border
#CBD4CA
text
#0D150A
muted
#7E837C

Preview Lab

Preview with #42C847

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

Preview Lab → · Contrast checker → · Palette generator →

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