#42C558#42C558

#42C558 is a light, vivid green. Relative luminance 0.418; OKLCH L 72.8% C 0.188 H 146.2°. Best body text is #000000 at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#42C558
RGBrgb(66, 197, 88)
HSLhsl(130, 53%, 52%)
HSVhsv(130, 66%, 77%)
CMYKcmyk(66.5%, 0%, 55.3%, 22.7%)
CIE-LABlab(70.73, -57.92, 43.92)
CIE-LCHlch(70.73, 72.68, 142.83°)
OKLaboklab(72.83% -0.1564 0.1048)
OKLCHoklch(72.83% 0.188 146.2)
XYZxyz(23.9728, 41.7928, 16.0341)
Luminance0.4179 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42C558 #C542AF
analogous
#6EC542 #42C558 #42C599
triadic
#42C558 #5842C5 #C55842
tetradic
#42C558 #426EC5 #C542AF #C59942
square
#42C558 #426EC5 #C542AF #C59942
split-complementary
#42C558 #9942C5 #C5426E
monochromatic
#216C2E #2F9A41 #42C558 #71D381 #A0E2AB

Accessibility & contrast

On white

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

On black

9.36
#42C558 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42C558
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42C558#FFFFFF#000000##000000
##42C5581.002.249.369.36
#FFFFFF2.241.0021.0021.00
#0000009.3621.001.001.00
##0000009.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B44E
Deuteranopia (green-blind)
#B8A960
Tritanopia (blue-blind)
#16C0AD
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #42c558;
/* rgb */ color: rgb(66, 197, 88);
/* oklch */ color: oklch(72.8% 0.188 146.2);
Tailwind
colors: {
  custom: {
    50: '#86d88a',
    500: '#42c558',
    950: '#000000',
  },
}
SCSS
$custom: #42c558;
$custom-light: #86d88a;
$custom-dark: #000000;
JSON
{
  "hex": "#42c558",
  "rgb": {
    "r": 66,
    "g": 197,
    "b": 88
  },
  "hsl": {
    "h": 130.076,
    "s": 53.036,
    "l": 51.569
  },
  "oklch": {
    "l": 0.72827,
    "c": 0.18825,
    "h": 146.2
  },
  "luminance": 0.41795
}

Semantic roles & 50–950 ramp

primary
#42C558
secondary
#CE95C5
accent
#4BC4DC
background
#F8FDF8
surface
#F0FAF0
border
#CBD3CB
text
#0C150C
muted
#7D837D

Preview Lab

Preview with #42C558

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

Preview Lab → · Contrast checker → · Palette generator →

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