#42C782#42C782

#42C782 is a light, vivid green. Relative luminance 0.436; OKLCH L 74.1% C 0.153 H 156.4°. Best body text is #000000 at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#42C782
RGBrgb(66, 199, 130)
HSLhsl(149, 54%, 52%)
HSVhsv(149, 67%, 78%)
CMYKcmyk(66.8%, 0%, 34.7%, 22%)
CIE-LABlab(71.97, -51.73, 24.30)
CIE-LCHlch(71.97, 57.15, 154.84°)
OKLaboklab(74.05% -0.1403 0.0611)
OKLCHoklch(74.05% 0.153 156.4)
XYZxyz(26.6970, 43.6139, 28.1261)
Luminance0.4362 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42C782 #C74287
analogous
#45C742 #42C782 #42C7C5
triadic
#42C782 #8242C7 #C78242
tetradic
#42C782 #4245C7 #C74287 #C7C542
square
#42C782 #4245C7 #C74287 #C7C542
split-complementary
#42C782 #C542C7 #C74245
monochromatic
#216E46 #2F9D64 #42C782 #71D5A1 #A0E3C0

Accessibility & contrast

On white

2.16
#42C782 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.72
#42C782 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42C782
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42C782#FFFFFF#000000##000000
##42C7821.002.169.729.72
#FFFFFF2.161.0021.0021.00
#0000009.7221.001.001.00
##0000009.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B87E
Deuteranopia (green-blind)
#B5AC86
Tritanopia (blue-blind)
#00C5B5
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #42c782;
/* rgb */ color: rgb(66, 199, 130);
/* oklch */ color: oklch(74.1% 0.153 156.4);
Tailwind
colors: {
  custom: {
    50: '#86d9a6',
    500: '#42c782',
    950: '#000000',
  },
}
SCSS
$custom: #42c782;
$custom-light: #86d9a6;
$custom-dark: #000000;
JSON
{
  "hex": "#42c782",
  "rgb": {
    "r": 66,
    "g": 199,
    "b": 130
  },
  "hsl": {
    "h": 148.872,
    "s": 54.286,
    "l": 51.961
  },
  "oklch": {
    "l": 0.74052,
    "c": 0.15301,
    "h": 156.4
  },
  "luminance": 0.43617
}

Semantic roles & 50–950 ramp

primary
#42C782
secondary
#D095B3
accent
#4A97DE
background
#F8FDFA
surface
#F0FBF4
border
#CBD4CE
text
#0C150F
muted
#7D837F

Preview Lab

Preview with #42C782

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

Preview Lab → · Contrast checker → · Palette generator →

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