#42C652#42C652

#42C652 is a light, vivid green. Relative luminance 0.422; OKLCH L 73.0% C 0.194 H 145.2°. Best body text is #000000 at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#42C652
RGBrgb(66, 198, 82)
HSLhsl(127, 54%, 52%)
HSVhsv(127, 67%, 78%)
CMYKcmyk(66.7%, 0%, 58.6%, 22.4%)
CIE-LABlab(70.98, -59.03, 47.00)
CIE-LCHlch(70.98, 75.46, 141.47°)
OKLaboklab(73.01% -0.1596 0.1111)
OKLCHoklch(73.01% 0.194 145.2)
XYZxyz(23.9623, 42.1531, 14.8545)
Luminance0.4216 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42C652 #C642B6
analogous
#74C642 #42C652 #42C694
triadic
#42C652 #5242C6 #C65242
tetradic
#42C652 #4274C6 #C642B6 #C69442
square
#42C652 #4274C6 #C642B6 #C69442
split-complementary
#42C652 #9442C6 #C64274
monochromatic
#216D2A #2F9C3C #42C652 #71D47D #A0E2A8

Accessibility & contrast

On white

2.23
#42C652 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.43
#42C652 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42C652
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42C652#FFFFFF#000000##000000
##42C6521.002.239.439.43
#FFFFFF2.231.0021.0021.00
#0000009.4321.001.001.00
##0000009.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B446
Deuteranopia (green-blind)
#B9A95B
Tritanopia (blue-blind)
#19C1AD
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #42c652;
/* rgb */ color: rgb(66, 198, 82);
/* oklch */ color: oklch(73.0% 0.194 145.2);
Tailwind
colors: {
  custom: {
    50: '#86d886',
    500: '#42c652',
    950: '#000000',
  },
}
SCSS
$custom: #42c652;
$custom-light: #86d886;
$custom-dark: #000000;
JSON
{
  "hex": "#42c652",
  "rgb": {
    "r": 66,
    "g": 198,
    "b": 82
  },
  "hsl": {
    "h": 127.273,
    "s": 53.659,
    "l": 51.765
  },
  "oklch": {
    "l": 0.73011,
    "c": 0.19444,
    "h": 145.2
  },
  "luminance": 0.42156
}

Semantic roles & 50–950 ramp

primary
#42C652
secondary
#CF95C8
accent
#4BCBDD
background
#F8FDF8
surface
#F0FBF0
border
#CBD4CB
text
#0D150B
muted
#7D837C

Preview Lab

Preview with #42C652

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

Preview Lab → · Contrast checker → · Palette generator →

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