#42C540#42C540

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

Color values

HEX#42C540
RGBrgb(66, 197, 64)
HSLhsl(119, 53%, 51%)
HSVhsv(119, 68%, 77%)
CMYKcmyk(66.5%, 0%, 67.5%, 22.7%)
CIE-LABlab(70.50, -60.63, 54.23)
CIE-LCHlch(70.50, 81.35, 138.19°)
OKLaboklab(72.56% -0.1647 0.1247)
OKLCHoklch(72.56% 0.207 142.9)
XYZxyz(23.1371, 41.4585, 11.6325)
Luminance0.4146 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42C540 #C340C5
analogous
#84C540 #42C540 #40C580
triadic
#42C540 #4042C5 #C54042
tetradic
#42C540 #4084C5 #C340C5 #C58040
square
#42C540 #4084C5 #C340C5 #C58040
split-complementary
#42C540 #8040C5 #C54084
monochromatic
#216A20 #30992F #42C540 #70D36F #9FE29E

Accessibility & contrast

On white

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

On black

9.29
#42C540 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42C540
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42C540#FFFFFF#000000##000000
##42C5401.002.269.299.29
#FFFFFF2.261.0021.0021.00
#0000009.2921.001.001.00
##0000009.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B32E
Deuteranopia (green-blind)
#BAA84C
Tritanopia (blue-blind)
#22BFAA
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #42c540;
/* rgb */ color: rgb(66, 197, 64);
/* oklch */ color: oklch(72.6% 0.207 142.9);
Tailwind
colors: {
  custom: {
    50: '#87d87b',
    500: '#42c540',
    950: '#000000',
  },
}
SCSS
$custom: #42c540;
$custom-light: #87d87b;
$custom-dark: #000000;
JSON
{
  "hex": "#42c540",
  "rgb": {
    "r": 66,
    "g": 197,
    "b": 64
  },
  "hsl": {
    "h": 119.098,
    "s": 53.414,
    "l": 51.176
  },
  "oklch": {
    "l": 0.7256,
    "c": 0.20661,
    "h": 142.9
  },
  "luminance": 0.41461
}

Semantic roles & 50–950 ramp

primary
#42C540
secondary
#CD93CE
accent
#4BDDDB
background
#F9FDF7
surface
#F1FAEE
border
#CBD3C9
text
#0D150A
muted
#7E837C

Preview Lab

Preview with #42C540

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

Preview Lab → · Contrast checker → · Palette generator →

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