#42C74D#42C74D

#42C74D is a light, vivid green. Relative luminance 0.425; OKLCH L 73.2% C 0.200 H 144.4°. Best body text is #000000 at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#42C74D
RGBrgb(66, 199, 77)
HSLhsl(125, 54%, 52%)
HSVhsv(125, 67%, 78%)
CMYKcmyk(66.8%, 0%, 61.3%, 22%)
CIE-LABlab(71.24, -59.97, 49.55)
CIE-LCHlch(71.24, 77.80, 140.43°)
OKLaboklab(73.21% -0.1623 0.1161)
OKLCHoklch(73.21% 0.2 144.4)
XYZxyz(24.0082, 42.5384, 13.9652)
Luminance0.4254 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42C74D #C742BC
analogous
#7AC742 #42C74D #42C78F
triadic
#42C74D #4D42C7 #C74D42
tetradic
#42C74D #427AC7 #C742BC #C78F42
square
#42C74D #427AC7 #C742BC #C78F42
split-complementary
#42C74D #8F42C7 #C7427A
monochromatic
#216E27 #2F9D38 #42C74D #71D579 #A0E3A6

Accessibility & contrast

On white

2.21
#42C74D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.51
#42C74D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42C74D
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42C74D#FFFFFF#000000##000000
##42C74D1.002.219.519.51
#FFFFFF2.211.0021.0021.00
#0000009.5121.001.001.00
##0000009.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB53F
Deuteranopia (green-blind)
#BBAA57
Tritanopia (blue-blind)
#1CC2AD
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #42c74d;
/* rgb */ color: rgb(66, 199, 77);
/* oklch */ color: oklch(73.2% 0.200 144.4);
Tailwind
colors: {
  custom: {
    50: '#87d983',
    500: '#42c74d',
    950: '#000000',
  },
}
SCSS
$custom: #42c74d;
$custom-light: #87d983;
$custom-dark: #000000;
JSON
{
  "hex": "#42c74d",
  "rgb": {
    "r": 66,
    "g": 199,
    "b": 77
  },
  "hsl": {
    "h": 124.962,
    "s": 54.286,
    "l": 51.961
  },
  "oklch": {
    "l": 0.73213,
    "c": 0.1996,
    "h": 144.4
  },
  "luminance": 0.42541
}

Semantic roles & 50–950 ramp

primary
#42C74D
secondary
#D095CB
accent
#4AD1DE
background
#F8FDF8
surface
#F0FBEF
border
#CBD4CA
text
#0D150B
muted
#7D837C

Preview Lab

Preview with #42C74D

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

Preview Lab → · Contrast checker → · Palette generator →

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