#42C04F#42C04F

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

Color values

HEX#42C04F
RGBrgb(66, 192, 79)
HSLhsl(126, 50%, 51%)
HSVhsv(126, 66%, 75%)
CMYKcmyk(65.6%, 0%, 58.9%, 24.7%)
CIE-LABlab(69.05, -57.28, 46.14)
CIE-LCHlch(69.05, 73.55, 141.15°)
OKLaboklab(71.41% -0.155 0.1089)
OKLCHoklch(71.41% 0.189 144.9)
XYZxyz(22.5062, 39.4197, 13.8183)
Luminance0.3942 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42C04F #C042B3
analogous
#74C042 #42C04F #42C08E
triadic
#42C04F #4F42C0 #C04F42
tetradic
#42C04F #4274C0 #C042B3 #C08E42
square
#42C04F #4274C0 #C042B3 #C08E42
split-complementary
#42C04F #8E42C0 #C04274
monochromatic
#226629 #31943B #42C04F #70CF7A #9EDFA4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##42C04F#FFFFFF#000000##000000
##42C04F1.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)
#C3AF43
Deuteranopia (green-blind)
#B4A458
Tritanopia (blue-blind)
#1FBBA7
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #42c04f;
/* rgb */ color: rgb(66, 192, 79);
/* oklch */ color: oklch(71.4% 0.189 144.9);
Tailwind
colors: {
  custom: {
    50: '#85d484',
    500: '#42c04f',
    950: '#000000',
  },
}
SCSS
$custom: #42c04f;
$custom-light: #85d484;
$custom-dark: #000000;
JSON
{
  "hex": "#42c04f",
  "rgb": {
    "r": 66,
    "g": 192,
    "b": 79
  },
  "hsl": {
    "h": 126.19,
    "s": 50,
    "l": 50.588
  },
  "oklch": {
    "l": 0.71412,
    "c": 0.18944,
    "h": 144.9
  },
  "luminance": 0.39422
}

Semantic roles & 50–950 ramp

primary
#42C04F
secondary
#CB93C5
accent
#4ECBDA
background
#F8FDF8
surface
#F0FAEF
border
#CBD3CA
text
#0C140B
muted
#7D837C

Preview Lab

Preview with #42C04F

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

Preview Lab → · Contrast checker → · Palette generator →

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