#42C850#42C850

#42C850 is a light, vivid green. Relative luminance 0.430; OKLCH L 73.5% C 0.198 H 144.8°. Best body text is #000000 at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#42C850
RGBrgb(66, 200, 80)
HSLhsl(126, 55%, 52%)
HSVhsv(126, 67%, 78%)
CMYKcmyk(67%, 0%, 60%, 21.6%)
CIE-LABlab(71.58, -59.97, 48.61)
CIE-LCHlch(71.58, 77.20, 140.97°)
OKLaboklab(73.51% -0.1622 0.1144)
OKLCHoklch(73.51% 0.198 144.8)
XYZxyz(24.3474, 43.0434, 14.6130)
Luminance0.4305 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42C850 #C842BA
analogous
#77C842 #42C850 #42C893
triadic
#42C850 #5042C8 #C85042
tetradic
#42C850 #4277C8 #C842BA #C89342
square
#42C850 #4277C8 #C842BA #C89342
split-complementary
#42C850 #9342C8 #C84277
monochromatic
#206F29 #2E9F3A #42C850 #71D67C #A1E4A8

Accessibility & contrast

On white

2.19
#42C850 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.61
#42C850 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42C850
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42C850#FFFFFF#000000##000000
##42C8501.002.199.619.61
#FFFFFF2.191.0021.0021.00
#0000009.6121.001.001.00
##0000009.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB643
Deuteranopia (green-blind)
#BBAB5A
Tritanopia (blue-blind)
#19C3AE
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #42c850;
/* rgb */ color: rgb(66, 200, 80);
/* oklch */ color: oklch(73.5% 0.198 144.8);
Tailwind
colors: {
  custom: {
    50: '#87da85',
    500: '#42c850',
    950: '#000000',
  },
}
SCSS
$custom: #42c850;
$custom-light: #87da85;
$custom-dark: #000000;
JSON
{
  "hex": "#42c850",
  "rgb": {
    "r": 66,
    "g": 200,
    "b": 80
  },
  "hsl": {
    "h": 126.269,
    "s": 54.918,
    "l": 52.157
  },
  "oklch": {
    "l": 0.73507,
    "c": 0.19848,
    "h": 144.8
  },
  "luminance": 0.43046
}

Semantic roles & 50–950 ramp

primary
#42C850
secondary
#D096CA
accent
#4ACFDE
background
#F9FDF8
surface
#F1FBEF
border
#CBD4CA
text
#0D150B
muted
#7E837C

Preview Lab

Preview with #42C850

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

Preview Lab → · Contrast checker → · Palette generator →

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