#42C862#42C862

#42C862 is a light, vivid green. Relative luminance 0.433; OKLCH L 73.7% C 0.183 H 147.9°. Best body text is #000000 at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#42C862
RGBrgb(66, 200, 98)
HSLhsl(134, 55%, 52%)
HSVhsv(134, 67%, 78%)
CMYKcmyk(67%, 0%, 51%, 21.6%)
CIE-LABlab(71.79, -57.60, 40.40)
CIE-LCHlch(71.79, 70.35, 144.96°)
OKLaboklab(73.74% -0.1553 0.0976)
OKLCHoklch(73.74% 0.183 147.9)
XYZxyz(25.1038, 43.3460, 18.5965)
Luminance0.4335 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42C862 #C842A8
analogous
#65C842 #42C862 #42C8A5
triadic
#42C862 #6242C8 #C86242
tetradic
#42C862 #4265C8 #C842A8 #C8A542
square
#42C862 #4265C8 #C842A8 #C8A542
split-complementary
#42C862 #A542C8 #C84265
monochromatic
#206F33 #2E9F49 #42C862 #71D689 #A1E4B1

Accessibility & contrast

On white

2.17
#42C862 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.67
#42C862 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42C862
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42C862#FFFFFF#000000##000000
##42C8621.002.179.679.67
#FFFFFF2.171.0021.0021.00
#0000009.6721.001.001.00
##0000009.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB759
Deuteranopia (green-blind)
#BAAB69
Tritanopia (blue-blind)
#07C4B0
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #42c862;
/* rgb */ color: rgb(66, 200, 98);
/* oklch */ color: oklch(73.7% 0.183 147.9);
Tailwind
colors: {
  custom: {
    50: '#86da91',
    500: '#42c862',
    950: '#000000',
  },
}
SCSS
$custom: #42c862;
$custom-light: #86da91;
$custom-dark: #000000;
JSON
{
  "hex": "#42c862",
  "rgb": {
    "r": 66,
    "g": 200,
    "b": 98
  },
  "hsl": {
    "h": 134.328,
    "s": 54.918,
    "l": 52.157
  },
  "oklch": {
    "l": 0.73743,
    "c": 0.18342,
    "h": 147.9
  },
  "luminance": 0.43349
}

Semantic roles & 50–950 ramp

primary
#42C862
secondary
#D096C2
accent
#4ABBDE
background
#F8FDF9
surface
#F0FBF1
border
#CBD4CB
text
#0C150D
muted
#7D837E

Preview Lab

Preview with #42C862

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

Preview Lab → · Contrast checker → · Palette generator →

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