#42C047#42C047

#42C047 is a light, vivid green. Relative luminance 0.393; OKLCH L 71.3% C 0.196 H 143.8°. Best body text is #000000 at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#42C047
RGBrgb(66, 192, 71)
HSLhsl(122, 50%, 51%)
HSVhsv(122, 66%, 75%)
CMYKcmyk(65.6%, 0%, 63%, 24.7%)
CIE-LABlab(68.98, -58.20, 49.63)
CIE-LCHlch(68.98, 76.49, 139.55°)
OKLaboklab(71.32% -0.1578 0.1157)
OKLCHoklch(71.32% 0.196 143.8)
XYZxyz(22.2324, 39.3102, 12.3760)
Luminance0.3931 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42C047 #C042BB
analogous
#7CC042 #42C047 #42C086
triadic
#42C047 #4742C0 #C04742
tetradic
#42C047 #427CC0 #C042BB #C08642
square
#42C047 #427CC0 #C042BB #C08642
split-complementary
#42C047 #8642C0 #C0427C
monochromatic
#226625 #319435 #42C047 #70CF74 #9EDFA0

Accessibility & contrast

On white

2.37
#42C047 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.86
#42C047 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42C047
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42C047#FFFFFF#000000##000000
##42C0471.002.378.868.86
#FFFFFF2.371.0021.0021.00
#0000008.8621.001.001.00
##0000008.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AF39
Deuteranopia (green-blind)
#B5A451
Tritanopia (blue-blind)
#23BBA6
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #42c047;
/* rgb */ color: rgb(66, 192, 71);
/* oklch */ color: oklch(71.3% 0.196 143.8);
Tailwind
colors: {
  custom: {
    50: '#86d47f',
    500: '#42c047',
    950: '#000000',
  },
}
SCSS
$custom: #42c047;
$custom-light: #86d47f;
$custom-dark: #000000;
JSON
{
  "hex": "#42c047",
  "rgb": {
    "r": 66,
    "g": 192,
    "b": 71
  },
  "hsl": {
    "h": 122.381,
    "s": 50,
    "l": 50.588
  },
  "oklch": {
    "l": 0.71321,
    "c": 0.19569,
    "h": 143.8
  },
  "luminance": 0.39312
}

Semantic roles & 50–950 ramp

primary
#42C047
secondary
#CB93C9
accent
#4ED4DA
background
#F8FDF7
surface
#F0FAEE
border
#CBD3C9
text
#0C140A
muted
#7D837C

Preview Lab

Preview with #42C047

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

Preview Lab → · Contrast checker → · Palette generator →

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