#42C545#42C545

#42C545 is a light, highly saturated green. Relative luminance 0.415; OKLCH L 72.6% C 0.203 H 143.4°. Best body text is #000000 at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#42C545
RGBrgb(66, 197, 69)
HSLhsl(121, 53%, 52%)
HSVhsv(121, 66%, 77%)
CMYKcmyk(66.5%, 0%, 65%, 22.7%)
CIE-LABlab(70.54, -60.14, 52.22)
CIE-LCHlch(70.54, 79.65, 139.03°)
OKLaboklab(72.61% -0.1632 0.121)
OKLCHoklch(72.61% 0.203 143.4)
XYZxyz(23.2858, 41.5180, 12.4157)
Luminance0.4152 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42C545 #C542C2
analogous
#81C542 #42C545 #42C587
triadic
#42C545 #4542C5 #C54542
tetradic
#42C545 #4281C5 #C542C2 #C58742
square
#42C545 #4281C5 #C542C2 #C58742
split-complementary
#42C545 #8742C5 #C54281
monochromatic
#216C23 #2F9A32 #42C545 #71D373 #A0E2A1

Accessibility & contrast

On white

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

On black

9.30
#42C545 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42C545
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42C545#FFFFFF#000000##000000
##42C5451.002.269.309.30
#FFFFFF2.261.0021.0021.00
#0000009.3021.001.001.00
##0000009.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B335
Deuteranopia (green-blind)
#B9A850
Tritanopia (blue-blind)
#21C0AA
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #42c545;
/* rgb */ color: rgb(66, 197, 69);
/* oklch */ color: oklch(72.6% 0.203 143.4);
Tailwind
colors: {
  custom: {
    50: '#87d87e',
    500: '#42c545',
    950: '#000000',
  },
}
SCSS
$custom: #42c545;
$custom-light: #87d87e;
$custom-dark: #000000;
JSON
{
  "hex": "#42c545",
  "rgb": {
    "r": 66,
    "g": 197,
    "b": 69
  },
  "hsl": {
    "h": 121.374,
    "s": 53.036,
    "l": 51.569
  },
  "oklch": {
    "l": 0.72608,
    "c": 0.20314,
    "h": 143.4
  },
  "luminance": 0.4152
}

Semantic roles & 50–950 ramp

primary
#42C545
secondary
#CE95CD
accent
#4BD9DC
background
#F8FDF7
surface
#F0FAEE
border
#CBD3C9
text
#0D150A
muted
#7D837C

Preview Lab

Preview with #42C545

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

Preview Lab → · Contrast checker → · Palette generator →

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