#42C04E#42C04E

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

Color values

HEX#42C04E
RGBrgb(66, 192, 78)
HSLhsl(126, 50%, 51%)
HSVhsv(126, 66%, 75%)
CMYKcmyk(65.6%, 0%, 59.4%, 24.7%)
CIE-LABlab(69.04, -57.40, 46.58)
CIE-LCHlch(69.04, 73.93, 140.94°)
OKLaboklab(71.4% -0.1553 0.1098)
OKLCHoklch(71.4% 0.19 144.7)
XYZxyz(22.4701, 39.4053, 13.6281)
Luminance0.3941 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42C04E #C042B4
analogous
#75C042 #42C04E #42C08D
triadic
#42C04E #4E42C0 #C04E42
tetradic
#42C04E #4275C0 #C042B4 #C08D42
square
#42C04E #4275C0 #C042B4 #C08D42
split-complementary
#42C04E #8D42C0 #C04275
monochromatic
#226628 #31943B #42C04E #70CF79 #9EDFA4

Accessibility & contrast

On white

2.36
#42C04E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##42C04E#FFFFFF#000000##000000
##42C04E1.002.368.888.88
#FFFFFF2.361.0021.0021.00
#0000008.8821.001.001.00
##0000008.8821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #42c04e;
/* rgb */ color: rgb(66, 192, 78);
/* oklch */ color: oklch(71.4% 0.190 144.7);
Tailwind
colors: {
  custom: {
    50: '#85d483',
    500: '#42c04e',
    950: '#000000',
  },
}
SCSS
$custom: #42c04e;
$custom-light: #85d483;
$custom-dark: #000000;
JSON
{
  "hex": "#42c04e",
  "rgb": {
    "r": 66,
    "g": 192,
    "b": 78
  },
  "hsl": {
    "h": 125.714,
    "s": 50,
    "l": 50.588
  },
  "oklch": {
    "l": 0.714,
    "c": 0.19025,
    "h": 144.7
  },
  "luminance": 0.39408
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #42C04E

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

Preview Lab → · Contrast checker → · Palette generator →

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