#42D845#42D845

#42D845 is a light, highly saturated green. Relative luminance 0.507; OKLCH L 77.5% C 0.225 H 143.3°. Best body text is #000000 at 11.14:1 contrast (WCAG AA passes).

Color values

HEX#42D845
RGBrgb(66, 216, 69)
HSLhsl(121, 66%, 55%)
HSVhsv(121, 69%, 85%)
CMYKcmyk(69.4%, 0%, 68.1%, 15.3%)
CIE-LABlab(76.49, -66.49, 58.66)
CIE-LCHlch(76.49, 88.67, 138.58°)
OKLaboklab(77.54% -0.1804 0.1346)
OKLCHoklch(77.54% 0.225 143.3)
XYZxyz(27.8751, 50.6966, 13.9454)
Luminance0.5070 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42D845 #D842D5
analogous
#8AD842 #42D845 #42D890
triadic
#42D845 #4542D8 #D84542
tetradic
#42D845 #428AD8 #D842D5 #D89042
square
#42D845 #428AD8 #D842D5 #D89042
split-complementary
#42D845 #9042D8 #D8428A
monochromatic
#1B841D #26B729 #42D845 #75E277 #A7EDA9

Accessibility & contrast

On white

1.89
#42D845 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.14
#42D845 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42D845
11.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42D845#FFFFFF#000000##000000
##42D8451.001.8911.1411.14
#FFFFFF1.891.0021.0021.00
#00000011.1421.001.001.00
##00000011.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC430
Deuteranopia (green-blind)
#CBB853
Tritanopia (blue-blind)
#10D2BA
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #42d845;
/* rgb */ color: rgb(66, 216, 69);
/* oklch */ color: oklch(77.5% 0.225 143.3);
Tailwind
colors: {
  custom: {
    50: '#8be580',
    500: '#42d845',
    950: '#000000',
  },
}
SCSS
$custom: #42d845;
$custom-light: #8be580;
$custom-dark: #000000;
JSON
{
  "hex": "#42d845",
  "rgb": {
    "r": 66,
    "g": 216,
    "b": 69
  },
  "hsl": {
    "h": 121.2,
    "s": 65.789,
    "l": 55.294
  },
  "oklch": {
    "l": 0.77543,
    "c": 0.22504,
    "h": 143.3
  },
  "luminance": 0.507
}

Semantic roles & 50–950 ramp

primary
#42D845
secondary
#8B3389
accent
#3FE5E9
background
#FCFEFB
surface
#F4FCF2
border
#CED5CC
text
#0D160B
muted
#7F847E

Preview Lab

Preview with #42D845

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

Preview Lab → · Contrast checker → · Palette generator →

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