#42C04D#42C04D

#42C04D is a light, vivid green. Relative luminance 0.394; OKLCH L 71.4% C 0.191 H 144.6°. Best body text is #000000 at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#42C04D
RGBrgb(66, 192, 77)
HSLhsl(125, 50%, 51%)
HSVhsv(125, 66%, 75%)
CMYKcmyk(65.6%, 0%, 59.9%, 24.7%)
CIE-LABlab(69.03, -57.52, 47.03)
CIE-LCHlch(69.03, 74.30, 140.73°)
OKLaboklab(71.39% -0.1557 0.1107)
OKLCHoklch(71.39% 0.191 144.6)
XYZxyz(22.4345, 39.3910, 13.4407)
Luminance0.3939 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42C04D #C042B5
analogous
#76C042 #42C04D #42C08C
triadic
#42C04D #4D42C0 #C04D42
tetradic
#42C04D #4276C0 #C042B5 #C08C42
square
#42C04D #4276C0 #C042B5 #C08C42
split-complementary
#42C04D #8C42C0 #C04276
monochromatic
#226628 #31943A #42C04D #70CF78 #9EDFA3

Accessibility & contrast

On white

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

On black

8.88
#42C04D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42C04D
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42C04D#FFFFFF#000000##000000
##42C04D1.002.378.888.88
#FFFFFF2.371.0021.0021.00
#0000008.8821.001.001.00
##0000008.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AF41
Deuteranopia (green-blind)
#B4A456
Tritanopia (blue-blind)
#20BBA7
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #42c04d;
/* rgb */ color: rgb(66, 192, 77);
/* oklch */ color: oklch(71.4% 0.191 144.6);
Tailwind
colors: {
  custom: {
    50: '#86d483',
    500: '#42c04d',
    950: '#000000',
  },
}
SCSS
$custom: #42c04d;
$custom-light: #86d483;
$custom-dark: #000000;
JSON
{
  "hex": "#42c04d",
  "rgb": {
    "r": 66,
    "g": 192,
    "b": 77
  },
  "hsl": {
    "h": 125.238,
    "s": 50,
    "l": 50.588
  },
  "oklch": {
    "l": 0.71388,
    "c": 0.19104,
    "h": 144.6
  },
  "luminance": 0.39393
}

Semantic roles & 50–950 ramp

primary
#42C04D
secondary
#CB93C6
accent
#4ECDDA
background
#F8FDF8
surface
#F0FAEF
border
#CBD3CA
text
#0C140B
muted
#7D837C

Preview Lab

Preview with #42C04D

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

Preview Lab → · Contrast checker → · Palette generator →

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