#42C539#42C539

#42C539 is a light, highly saturated green. Relative luminance 0.414; OKLCH L 72.5% C 0.211 H 142.2°. Best body text is #000000 at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#42C539
RGBrgb(66, 197, 57)
HSLhsl(116, 55%, 50%)
HSVhsv(116, 71%, 77%)
CMYKcmyk(66.5%, 0%, 71.1%, 22.7%)
CIE-LABlab(70.44, -61.25, 56.90)
CIE-LCHlch(70.44, 83.60, 137.11°)
OKLaboklab(72.5% -0.1668 0.1295)
OKLCHoklch(72.5% 0.211 142.2)
XYZxyz(22.9503, 41.3838, 10.6485)
Luminance0.4139 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42C539 #BC39C5
analogous
#88C539 #42C539 #39C576
triadic
#42C539 #3942C5 #C53942
tetradic
#42C539 #3988C5 #BC39C5 #C57639
square
#42C539 #3988C5 #BC39C5 #C57639
split-complementary
#42C539 #7639C5 #C53988
monochromatic
#22661E #32962B #42C539 #6FD368 #9CE197

Accessibility & contrast

On white

2.26
#42C539 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.28
#42C539 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42C539
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42C539#FFFFFF#000000##000000
##42C5391.002.269.289.28
#FFFFFF2.261.0021.0021.00
#0000009.2821.001.001.00
##0000009.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB322
Deuteranopia (green-blind)
#BAA847
Tritanopia (blue-blind)
#25BFA9
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #42c539;
/* rgb */ color: rgb(66, 197, 57);
/* oklch */ color: oklch(72.5% 0.211 142.2);
Tailwind
colors: {
  custom: {
    50: '#87d877',
    500: '#42c539',
    950: '#000000',
  },
}
SCSS
$custom: #42c539;
$custom-light: #87d877;
$custom-dark: #000000;
JSON
{
  "hex": "#42c539",
  "rgb": {
    "r": 66,
    "g": 197,
    "b": 57
  },
  "hsl": {
    "h": 116.143,
    "s": 55.118,
    "l": 49.804
  },
  "oklch": {
    "l": 0.725,
    "c": 0.21111,
    "h": 142.2
  },
  "luminance": 0.41386
}

Semantic roles & 50–950 ramp

primary
#42C539
secondary
#C98DCD
accent
#49DED5
background
#F9FDF7
surface
#F1FAEE
border
#CBD3C9
text
#0D1509
muted
#7E837B

Preview Lab

Preview with #42C539

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

Preview Lab → · Contrast checker → · Palette generator →

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