#42C851#42C851

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

Color values

HEX#42C851
RGBrgb(66, 200, 81)
HSLhsl(127, 55%, 52%)
HSVhsv(127, 67%, 78%)
CMYKcmyk(67%, 0%, 59.5%, 21.6%)
CIE-LABlab(71.59, -59.85, 48.17)
CIE-LCHlch(71.59, 76.83, 141.17°)
OKLaboklab(73.52% -0.1619 0.1135)
OKLCHoklch(73.52% 0.198 145)
XYZxyz(24.3847, 43.0583, 14.8090)
Luminance0.4306 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42C851 #C842B9
analogous
#76C842 #42C851 #42C894
triadic
#42C851 #5142C8 #C85142
tetradic
#42C851 #4276C8 #C842B9 #C89442
square
#42C851 #4276C8 #C842B9 #C89442
split-complementary
#42C851 #9442C8 #C84276
monochromatic
#206F29 #2E9F3B #42C851 #71D67D #A1E4A8

Accessibility & contrast

On white

2.18
#42C851 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##42C851#FFFFFF#000000##000000
##42C8511.002.189.619.61
#FFFFFF2.181.0021.0021.00
#0000009.6121.001.001.00
##0000009.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB644
Deuteranopia (green-blind)
#BBAB5B
Tritanopia (blue-blind)
#18C3AE
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #42c851;
/* rgb */ color: rgb(66, 200, 81);
/* oklch */ color: oklch(73.5% 0.198 145.0);
Tailwind
colors: {
  custom: {
    50: '#87da86',
    500: '#42c851',
    950: '#000000',
  },
}
SCSS
$custom: #42c851;
$custom-light: #87da86;
$custom-dark: #000000;
JSON
{
  "hex": "#42c851",
  "rgb": {
    "r": 66,
    "g": 200,
    "b": 81
  },
  "hsl": {
    "h": 126.716,
    "s": 54.918,
    "l": 52.157
  },
  "oklch": {
    "l": 0.73519,
    "c": 0.19769,
    "h": 145
  },
  "luminance": 0.43061
}

Semantic roles & 50–950 ramp

primary
#42C851
secondary
#D096CA
accent
#4ACEDE
background
#F8FDF8
surface
#F0FBF0
border
#CBD4CB
text
#0D150B
muted
#7D837C

Preview Lab

Preview with #42C851

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

Preview Lab → · Contrast checker → · Palette generator →

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