#42CC2D#42CC2D

#42CC2D is a light, highly saturated green. Relative luminance 0.445; OKLCH L 74.3% C 0.225 H 141.3°. Best body text is #000000 at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#42CC2D
RGBrgb(66, 204, 45)
HSLhsl(112, 64%, 49%)
HSVhsv(112, 78%, 80%)
CMYKcmyk(67.6%, 0%, 77.9%, 20%)
CIE-LABlab(72.58, -64.43, 63.11)
CIE-LCHlch(72.58, 90.19, 135.59°)
OKLaboklab(74.25% -0.1759 0.1408)
OKLCHoklch(74.25% 0.225 141.3)
XYZxyz(24.3120, 44.5309, 9.7962)
Luminance0.4453 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42CC2D #B72DCC
analogous
#92CC2D #42CC2D #2DCC67
triadic
#42CC2D #2D42CC #CC2D42
tetradic
#42CC2D #2D92CC #B72DCC #CC672D
square
#42CC2D #2D92CC #B72DCC #CC672D
split-complementary
#42CC2D #672DCC #CC2D92
monochromatic
#226817 #329A22 #42CC2D #6CDB5B #99E68D

Accessibility & contrast

On white

2.12
#42CC2D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.91
#42CC2D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42CC2D
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42CC2D#FFFFFF#000000##000000
##42CC2D1.002.129.919.91
#FFFFFF2.121.0021.0021.00
#0000009.9121.001.001.00
##0000009.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1B900
Deuteranopia (green-blind)
#C1AE40
Tritanopia (blue-blind)
#24C6AE
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #42cc2d;
/* rgb */ color: rgb(66, 204, 45);
/* oklch */ color: oklch(74.3% 0.225 141.3);
Tailwind
colors: {
  custom: {
    50: '#89dd72',
    500: '#42cc2d',
    950: '#000000',
  },
}
SCSS
$custom: #42cc2d;
$custom-light: #89dd72;
$custom-dark: #000000;
JSON
{
  "hex": "#42cc2d",
  "rgb": {
    "r": 66,
    "g": 204,
    "b": 45
  },
  "hsl": {
    "h": 112.075,
    "s": 63.855,
    "l": 48.824
  },
  "oklch": {
    "l": 0.7425,
    "c": 0.22537,
    "h": 141.3
  },
  "luminance": 0.44533
}

Semantic roles & 50–950 ramp

primary
#42CC2D
secondary
#C685D0
accent
#41E7D1
background
#F9FDF7
surface
#F1FBED
border
#CBD4C8
text
#0D1509
muted
#7E837B

Preview Lab

Preview with #42CC2D

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

Preview Lab → · Contrast checker → · Palette generator →

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