#42C050#42C050

#42C050 is a light, vivid green. Relative luminance 0.394; OKLCH L 71.4% C 0.189 H 145.1°. Best body text is #000000 at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#42C050
RGBrgb(66, 192, 80)
HSLhsl(127, 50%, 51%)
HSVhsv(127, 66%, 75%)
CMYKcmyk(65.6%, 0%, 58.3%, 24.7%)
CIE-LABlab(69.06, -57.16, 45.69)
CIE-LCHlch(69.06, 73.18, 141.36°)
OKLaboklab(71.42% -0.1546 0.1081)
OKLCHoklch(71.42% 0.189 145.1)
XYZxyz(22.5429, 39.4344, 14.0114)
Luminance0.3944 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42C050 #C042B2
analogous
#73C042 #42C050 #42C08F
triadic
#42C050 #5042C0 #C05042
tetradic
#42C050 #4273C0 #C042B2 #C08F42
square
#42C050 #4273C0 #C042B2 #C08F42
split-complementary
#42C050 #8F42C0 #C04273
monochromatic
#226629 #31943C #42C050 #70CF7A #9EDFA5

Accessibility & contrast

On white

2.36
#42C050 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.89
#42C050 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42C050
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42C050#FFFFFF#000000##000000
##42C0501.002.368.898.89
#FFFFFF2.361.0021.0021.00
#0000008.8921.001.001.00
##0000008.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AF45
Deuteranopia (green-blind)
#B4A459
Tritanopia (blue-blind)
#1FBBA8
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #42c050;
/* rgb */ color: rgb(66, 192, 80);
/* oklch */ color: oklch(71.4% 0.189 145.1);
Tailwind
colors: {
  custom: {
    50: '#85d484',
    500: '#42c050',
    950: '#000000',
  },
}
SCSS
$custom: #42c050;
$custom-light: #85d484;
$custom-dark: #000000;
JSON
{
  "hex": "#42c050",
  "rgb": {
    "r": 66,
    "g": 192,
    "b": 80
  },
  "hsl": {
    "h": 126.667,
    "s": 50,
    "l": 50.588
  },
  "oklch": {
    "l": 0.71424,
    "c": 0.18862,
    "h": 145.1
  },
  "luminance": 0.39437
}

Semantic roles & 50–950 ramp

primary
#42C050
secondary
#CB93C5
accent
#4ECADA
background
#F8FDF8
surface
#F0FAEF
border
#CBD3CA
text
#0C140B
muted
#7D837C

Preview Lab

Preview with #42C050

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

Preview Lab → · Contrast checker → · Palette generator →

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