#42C866#42C866

#42C866 is a light, vivid green. Relative luminance 0.434; OKLCH L 73.8% C 0.180 H 148.7°. Best body text is #000000 at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#42C866
RGBrgb(66, 200, 102)
HSLhsl(136, 55%, 52%)
HSVhsv(136, 67%, 78%)
CMYKcmyk(67%, 0%, 49%, 21.6%)
CIE-LABlab(71.84, -57.00, 38.49)
CIE-LCHlch(71.84, 68.78, 145.97°)
OKLaboklab(73.8% -0.1536 0.0935)
OKLCHoklch(73.8% 0.18 148.7)
XYZxyz(25.2974, 43.4234, 19.6162)
Luminance0.4343 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42C866 #C842A4
analogous
#61C842 #42C866 #42C8A9
triadic
#42C866 #6642C8 #C86642
tetradic
#42C866 #4261C8 #C842A4 #C8A942
square
#42C866 #4261C8 #C842A4 #C8A942
split-complementary
#42C866 #A942C8 #C84261
monochromatic
#206F36 #2E9F4C #42C866 #71D68C #A1E4B3

Accessibility & contrast

On white

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

On black

9.69
#42C866 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42C866
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42C866#FFFFFF#000000##000000
##42C8661.002.179.699.69
#FFFFFF2.171.0021.0021.00
#0000009.6921.001.001.00
##0000009.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB75E
Deuteranopia (green-blind)
#B9AC6D
Tritanopia (blue-blind)
#01C4B1
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #42c866;
/* rgb */ color: rgb(66, 200, 102);
/* oklch */ color: oklch(73.8% 0.180 148.7);
Tailwind
colors: {
  custom: {
    50: '#86da93',
    500: '#42c866',
    950: '#000000',
  },
}
SCSS
$custom: #42c866;
$custom-light: #86da93;
$custom-dark: #000000;
JSON
{
  "hex": "#42c866",
  "rgb": {
    "r": 66,
    "g": 200,
    "b": 102
  },
  "hsl": {
    "h": 136.119,
    "s": 54.918,
    "l": 52.157
  },
  "oklch": {
    "l": 0.73803,
    "c": 0.17987,
    "h": 148.7
  },
  "luminance": 0.43426
}

Semantic roles & 50–950 ramp

primary
#42C866
secondary
#D096C0
accent
#4AB6DE
background
#F8FDF9
surface
#F0FBF1
border
#CBD4CB
text
#0C150D
muted
#7D837E

Preview Lab

Preview with #42C866

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

Preview Lab → · Contrast checker → · Palette generator →

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