#42C562#42C562

#42C562 is a light, vivid green. Relative luminance 0.420; OKLCH L 73.0% C 0.180 H 148.1°. Best body text is #000000 at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#42C562
RGBrgb(66, 197, 98)
HSLhsl(135, 53%, 52%)
HSVhsv(135, 66%, 77%)
CMYKcmyk(66.5%, 0%, 50.3%, 22.7%)
CIE-LABlab(70.85, -56.51, 39.23)
CIE-LCHlch(70.85, 68.80, 145.23°)
OKLaboklab(72.97% -0.1524 0.095)
OKLCHoklch(72.97% 0.18 148.1)
XYZxyz(24.4158, 41.9700, 18.3672)
Luminance0.4197 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42C562 #C542A5
analogous
#64C542 #42C562 #42C5A3
triadic
#42C562 #6242C5 #C56242
tetradic
#42C562 #4264C5 #C542A5 #C5A342
square
#42C562 #4264C5 #C542A5 #C5A342
split-complementary
#42C562 #A342C5 #C54264
monochromatic
#216C33 #2F9A4A #42C562 #71D389 #A0E2B0

Accessibility & contrast

On white

2.24
#42C562 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.39
#42C562 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42C562
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42C562#FFFFFF#000000##000000
##42C5621.002.249.399.39
#FFFFFF2.241.0021.0021.00
#0000009.3921.001.001.00
##0000009.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B45A
Deuteranopia (green-blind)
#B7A969
Tritanopia (blue-blind)
#0CC1AE
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #42c562;
/* rgb */ color: rgb(66, 197, 98);
/* oklch */ color: oklch(73.0% 0.180 148.1);
Tailwind
colors: {
  custom: {
    50: '#86d890',
    500: '#42c562',
    950: '#000000',
  },
}
SCSS
$custom: #42c562;
$custom-light: #86d890;
$custom-dark: #000000;
JSON
{
  "hex": "#42c562",
  "rgb": {
    "r": 66,
    "g": 197,
    "b": 98
  },
  "hsl": {
    "h": 134.656,
    "s": 53.036,
    "l": 51.569
  },
  "oklch": {
    "l": 0.72968,
    "c": 0.17957,
    "h": 148.1
  },
  "luminance": 0.41973
}

Semantic roles & 50–950 ramp

primary
#42C562
secondary
#CE95C0
accent
#4BB9DC
background
#F8FDF9
surface
#F0FAF1
border
#CBD3CB
text
#0C150D
muted
#7D837E

Preview Lab

Preview with #42C562

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

Preview Lab → · Contrast checker → · Palette generator →

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