#42C854#42C854

#42C854 is a light, vivid green. Relative luminance 0.431; OKLCH L 73.6% C 0.195 H 145.4°. Best body text is #000000 at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#42C854
RGBrgb(66, 200, 84)
HSLhsl(128, 55%, 52%)
HSVhsv(128, 67%, 78%)
CMYKcmyk(67%, 0%, 58%, 21.6%)
CIE-LABlab(71.63, -59.49, 46.84)
CIE-LCHlch(71.63, 75.72, 141.78°)
OKLaboklab(73.56% -0.1608 0.1109)
OKLCHoklch(73.56% 0.195 145.4)
XYZxyz(24.4996, 43.1043, 15.4146)
Luminance0.4311 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42C854 #C842B6
analogous
#73C842 #42C854 #42C897
triadic
#42C854 #5442C8 #C85442
tetradic
#42C854 #4273C8 #C842B6 #C89742
square
#42C854 #4273C8 #C842B6 #C89742
split-complementary
#42C854 #9742C8 #C84273
monochromatic
#206F2B #2E9F3D #42C854 #71D67F #A1E4AA

Accessibility & contrast

On white

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

On black

9.62
#42C854 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42C854
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42C854#FFFFFF#000000##000000
##42C8541.002.189.629.62
#FFFFFF2.181.0021.0021.00
#0000009.6221.001.001.00
##0000009.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB648
Deuteranopia (green-blind)
#BBAB5D
Tritanopia (blue-blind)
#16C3AF
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #42c854;
/* rgb */ color: rgb(66, 200, 84);
/* oklch */ color: oklch(73.6% 0.195 145.4);
Tailwind
colors: {
  custom: {
    50: '#87da87',
    500: '#42c854',
    950: '#000000',
  },
}
SCSS
$custom: #42c854;
$custom-light: #87da87;
$custom-dark: #000000;
JSON
{
  "hex": "#42c854",
  "rgb": {
    "r": 66,
    "g": 200,
    "b": 84
  },
  "hsl": {
    "h": 128.06,
    "s": 54.918,
    "l": 52.157
  },
  "oklch": {
    "l": 0.73555,
    "c": 0.19529,
    "h": 145.4
  },
  "luminance": 0.43107
}

Semantic roles & 50–950 ramp

primary
#42C854
secondary
#D096C8
accent
#4ACADE
background
#F8FDF8
surface
#F0FBF0
border
#CBD4CB
text
#0D150B
muted
#7D837C

Preview Lab

Preview with #42C854

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

Preview Lab → · Contrast checker → · Palette generator →

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