#42C552#42C552

#42C552 is a light, vivid green. Relative luminance 0.417; OKLCH L 72.8% C 0.193 H 145.2°. Best body text is #000000 at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#42C552
RGBrgb(66, 197, 82)
HSLhsl(127, 53%, 52%)
HSVhsv(127, 66%, 77%)
CMYKcmyk(66.5%, 0%, 58.4%, 22.7%)
CIE-LABlab(70.66, -58.68, 46.63)
CIE-LCHlch(70.66, 74.96, 141.53°)
OKLaboklab(72.75% -0.1587 0.1103)
OKLCHoklch(72.75% 0.193 145.2)
XYZxyz(23.7345, 41.6975, 14.7786)
Luminance0.4170 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42C552 #C542B5
analogous
#74C542 #42C552 #42C594
triadic
#42C552 #5242C5 #C55242
tetradic
#42C552 #4274C5 #C542B5 #C59442
square
#42C552 #4274C5 #C542B5 #C59442
split-complementary
#42C552 #9442C5 #C54274
monochromatic
#216C2A #2F9A3C #42C552 #71D37D #A0E2A8

Accessibility & contrast

On white

2.25
#42C552 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.34
#42C552 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42C552
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42C552#FFFFFF#000000##000000
##42C5521.002.259.349.34
#FFFFFF2.251.0021.0021.00
#0000009.3421.001.001.00
##0000009.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B446
Deuteranopia (green-blind)
#B8A95B
Tritanopia (blue-blind)
#1AC0AC
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #42c552;
/* rgb */ color: rgb(66, 197, 82);
/* oklch */ color: oklch(72.8% 0.193 145.2);
Tailwind
colors: {
  custom: {
    50: '#86d886',
    500: '#42c552',
    950: '#000000',
  },
}
SCSS
$custom: #42c552;
$custom-light: #86d886;
$custom-dark: #000000;
JSON
{
  "hex": "#42c552",
  "rgb": {
    "r": 66,
    "g": 197,
    "b": 82
  },
  "hsl": {
    "h": 127.328,
    "s": 53.036,
    "l": 51.569
  },
  "oklch": {
    "l": 0.72751,
    "c": 0.1932,
    "h": 145.2
  },
  "luminance": 0.417
}

Semantic roles & 50–950 ramp

primary
#42C552
secondary
#CE95C7
accent
#4BCBDC
background
#F8FDF8
surface
#F0FAF0
border
#CBD3CB
text
#0C150B
muted
#7D837C

Preview Lab

Preview with #42C552

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

Preview Lab → · Contrast checker → · Palette generator →

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