#42C74E#42C74E

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

Color values

HEX#42C74E
RGBrgb(66, 199, 78)
HSLhsl(125, 54%, 52%)
HSVhsv(125, 67%, 78%)
CMYKcmyk(66.8%, 0%, 60.8%, 22%)
CIE-LABlab(71.25, -59.86, 49.12)
CIE-LCHlch(71.25, 77.43, 140.63°)
OKLaboklab(73.22% -0.162 0.1153)
OKLCHoklch(73.22% 0.199 144.6)
XYZxyz(24.0438, 42.5526, 14.1526)
Luminance0.4255 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42C74E #C742BB
analogous
#78C742 #42C74E #42C791
triadic
#42C74E #4E42C7 #C74E42
tetradic
#42C74E #4278C7 #C742BB #C79142
square
#42C74E #4278C7 #C742BB #C79142
split-complementary
#42C74E #9142C7 #C74278
monochromatic
#216E28 #2F9D39 #42C74E #71D57A #A0E3A6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##42C74E#FFFFFF#000000##000000
##42C74E1.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)
#CAB541
Deuteranopia (green-blind)
#BBAA58
Tritanopia (blue-blind)
#1BC2AD
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #42c74e;
/* rgb */ color: rgb(66, 199, 78);
/* oklch */ color: oklch(73.2% 0.199 144.6);
Tailwind
colors: {
  custom: {
    50: '#87d984',
    500: '#42c74e',
    950: '#000000',
  },
}
SCSS
$custom: #42c74e;
$custom-light: #87d984;
$custom-dark: #000000;
JSON
{
  "hex": "#42c74e",
  "rgb": {
    "r": 66,
    "g": 199,
    "b": 78
  },
  "hsl": {
    "h": 125.414,
    "s": 54.286,
    "l": 51.961
  },
  "oklch": {
    "l": 0.73224,
    "c": 0.19882,
    "h": 144.6
  },
  "luminance": 0.42555
}

Semantic roles & 50–950 ramp

primary
#42C74E
secondary
#D095CA
accent
#4AD0DE
background
#F8FDF8
surface
#F0FBEF
border
#CBD4CA
text
#0D150B
muted
#7D837C

Preview Lab

Preview with #42C74E

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

Preview Lab → · Contrast checker → · Palette generator →

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