#42D342#42D342

#42D342 is a light, highly saturated green. Relative luminance 0.481; OKLCH L 76.2% C 0.221 H 143.0°. Best body text is #000000 at 10.63:1 contrast (WCAG AA passes).

Color values

HEX#42D342
RGBrgb(66, 211, 66)
HSLhsl(120, 62%, 54%)
HSVhsv(120, 69%, 83%)
CMYKcmyk(68.7%, 0%, 68.7%, 17.3%)
CIE-LABlab(74.91, -65.12, 58.14)
CIE-LCHlch(74.91, 87.30, 138.24°)
OKLaboklab(76.22% -0.1768 0.1332)
OKLCHoklch(76.22% 0.221 143)
XYZxyz(26.5228, 48.1373, 13.0468)
Luminance0.4814 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42D342 #D342D3
analogous
#8BD342 #42D342 #42D38B
triadic
#42D342 #4242D3 #D34242
tetradic
#42D342 #428BD3 #D342D3 #D38B42
square
#42D342 #428BD3 #D342D3 #D38B42
split-complementary
#42D342 #8B42D3 #D3428B
monochromatic
#1D7D1D #29AF29 #42D342 #74DF74 #A5EAA5

Accessibility & contrast

On white

1.98
#42D342 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.63
#42D342 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42D342
10.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42D342#FFFFFF#000000##000000
##42D3421.001.9810.6310.63
#FFFFFF1.981.0021.0021.00
#00000010.6321.001.001.00
##00000010.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BF2D
Deuteranopia (green-blind)
#C7B450
Tritanopia (blue-blind)
#17CDB6
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #42d342;
/* rgb */ color: rgb(66, 211, 66);
/* oklch */ color: oklch(76.2% 0.221 143.0);
Tailwind
colors: {
  custom: {
    50: '#8ae27e',
    500: '#42d342',
    950: '#000000',
  },
}
SCSS
$custom: #42d342;
$custom-light: #8ae27e;
$custom-dark: #000000;
JSON
{
  "hex": "#42d342",
  "rgb": {
    "r": 66,
    "g": 211,
    "b": 66
  },
  "hsl": {
    "h": 120,
    "s": 62.232,
    "l": 54.314
  },
  "oklch": {
    "l": 0.76223,
    "c": 0.22135,
    "h": 143
  },
  "luminance": 0.4814
}

Semantic roles & 50–950 ramp

primary
#42D342
secondary
#D79AD7
accent
#42E5E5
background
#F9FEF8
surface
#F2FCEF
border
#CCD5CA
text
#0D150A
muted
#7E847C

Preview Lab

Preview with #42D342

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

Preview Lab → · Contrast checker → · Palette generator →

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