#42C742#42C742

#42C742 is a light, highly saturated green. Relative luminance 0.424; OKLCH L 73.1% C 0.208 H 143.1°. Best body text is #000000 at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#42C742
RGBrgb(66, 199, 66)
HSLhsl(120, 54%, 52%)
HSVhsv(120, 67%, 78%)
CMYKcmyk(66.8%, 0%, 66.8%, 22%)
CIE-LABlab(71.14, -61.12, 54.12)
CIE-LCHlch(71.14, 81.64, 138.48°)
OKLaboklab(73.1% -0.166 0.1247)
OKLCHoklch(73.1% 0.208 143.1)
XYZxyz(23.6522, 42.3960, 12.0900)
Luminance0.4240 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42C742 #C742C7
analogous
#85C742 #42C742 #42C785
triadic
#42C742 #4242C7 #C74242
tetradic
#42C742 #4285C7 #C742C7 #C78542
square
#42C742 #4285C7 #C742C7 #C78542
split-complementary
#42C742 #8542C7 #C74285
monochromatic
#216E21 #2F9D2F #42C742 #71D571 #A0E3A0

Accessibility & contrast

On white

2.22
#42C742 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.48
#42C742 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42C742
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42C742#FFFFFF#000000##000000
##42C7421.002.229.489.48
#FFFFFF2.221.0021.0021.00
#0000009.4821.001.001.00
##0000009.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB530
Deuteranopia (green-blind)
#BBAA4E
Tritanopia (blue-blind)
#21C1AC
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #42c742;
/* rgb */ color: rgb(66, 199, 66);
/* oklch */ color: oklch(73.1% 0.208 143.1);
Tailwind
colors: {
  custom: {
    50: '#87d97c',
    500: '#42c742',
    950: '#000000',
  },
}
SCSS
$custom: #42c742;
$custom-light: #87d97c;
$custom-dark: #000000;
JSON
{
  "hex": "#42c742",
  "rgb": {
    "r": 66,
    "g": 199,
    "b": 66
  },
  "hsl": {
    "h": 120,
    "s": 54.286,
    "l": 51.961
  },
  "oklch": {
    "l": 0.73101,
    "c": 0.20759,
    "h": 143.1
  },
  "luminance": 0.42398
}

Semantic roles & 50–950 ramp

primary
#42C742
secondary
#D095D0
accent
#4ADEDE
background
#F9FDF7
surface
#F1FBEE
border
#CBD4C9
text
#0D150A
muted
#7E837C

Preview Lab

Preview with #42C742

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

Preview Lab → · Contrast checker → · Palette generator →

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