#42C752#42C752

#42C752 is a light, vivid green. Relative luminance 0.426; OKLCH L 73.3% C 0.196 H 145.1°. Best body text is #000000 at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#42C752
RGBrgb(66, 199, 82)
HSLhsl(127, 54%, 52%)
HSVhsv(127, 67%, 78%)
CMYKcmyk(66.8%, 0%, 58.8%, 22%)
CIE-LABlab(71.29, -59.38, 47.37)
CIE-LCHlch(71.29, 75.96, 141.42°)
OKLaboklab(73.27% -0.1606 0.1118)
OKLCHoklch(73.27% 0.196 145.1)
XYZxyz(24.1916, 42.6118, 14.9310)
Luminance0.4261 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42C752 #C742B7
analogous
#75C742 #42C752 #42C795
triadic
#42C752 #5242C7 #C75242
tetradic
#42C752 #4275C7 #C742B7 #C79542
square
#42C752 #4275C7 #C742B7 #C79542
split-complementary
#42C752 #9542C7 #C74275
monochromatic
#216E2A #2F9D3C #42C752 #71D57D #A0E3A8

Accessibility & contrast

On white

2.21
#42C752 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.52
#42C752 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42C752
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42C752#FFFFFF#000000##000000
##42C7521.002.219.529.52
#FFFFFF2.211.0021.0021.00
#0000009.5221.001.001.00
##0000009.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB546
Deuteranopia (green-blind)
#BAAA5B
Tritanopia (blue-blind)
#19C2AE
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #42c752;
/* rgb */ color: rgb(66, 199, 82);
/* oklch */ color: oklch(73.3% 0.196 145.1);
Tailwind
colors: {
  custom: {
    50: '#87d986',
    500: '#42c752',
    950: '#000000',
  },
}
SCSS
$custom: #42c752;
$custom-light: #87d986;
$custom-dark: #000000;
JSON
{
  "hex": "#42c752",
  "rgb": {
    "r": 66,
    "g": 199,
    "b": 82
  },
  "hsl": {
    "h": 127.218,
    "s": 54.286,
    "l": 51.961
  },
  "oklch": {
    "l": 0.73271,
    "c": 0.19567,
    "h": 145.1
  },
  "luminance": 0.42614
}

Semantic roles & 50–950 ramp

primary
#42C752
secondary
#D095C9
accent
#4ACCDE
background
#F8FDF8
surface
#F0FBF0
border
#CBD4CB
text
#0D150B
muted
#7D837C

Preview Lab

Preview with #42C752

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

Preview Lab → · Contrast checker → · Palette generator →

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