#42C982#42C982

#42C982 is a light, vivid green. Relative luminance 0.445; OKLCH L 74.6% C 0.156 H 156.1°. Best body text is #000000 at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#42C982
RGBrgb(66, 201, 130)
HSLhsl(148, 56%, 52%)
HSVhsv(148, 67%, 79%)
CMYKcmyk(67.2%, 0%, 35.3%, 21.2%)
CIE-LABlab(72.59, -52.51, 25.13)
CIE-LCHlch(72.59, 58.22, 154.42°)
OKLaboklab(74.56% -0.1423 0.0632)
OKLCHoklch(74.56% 0.156 156.1)
XYZxyz(27.1602, 44.5403, 28.2805)
Luminance0.4454 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42C982 #C94289
analogous
#46C942 #42C982 #42C9C5
triadic
#42C982 #8242C9 #C98242
tetradic
#42C982 #4246C9 #C94289 #C9C542
square
#42C982 #4246C9 #C94289 #C9C542
split-complementary
#42C982 #C542C9 #C94246
monochromatic
#207046 #2EA064 #42C982 #72D7A1 #A1E4C1

Accessibility & contrast

On white

2.12
#42C982 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.91
#42C982 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42C982
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42C982#FFFFFF#000000##000000
##42C9821.002.129.919.91
#FFFFFF2.121.0021.0021.00
#0000009.9121.001.001.00
##0000009.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B97D
Deuteranopia (green-blind)
#B7AD87
Tritanopia (blue-blind)
#00C7B7
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #42c982;
/* rgb */ color: rgb(66, 201, 130);
/* oklch */ color: oklch(74.6% 0.156 156.1);
Tailwind
colors: {
  custom: {
    50: '#86daa6',
    500: '#42c982',
    950: '#000000',
  },
}
SCSS
$custom: #42c982;
$custom-light: #86daa6;
$custom-dark: #000000;
JSON
{
  "hex": "#42c982",
  "rgb": {
    "r": 66,
    "g": 201,
    "b": 130
  },
  "hsl": {
    "h": 148.444,
    "s": 55.556,
    "l": 52.353
  },
  "oklch": {
    "l": 0.74561,
    "c": 0.15566,
    "h": 156.1
  },
  "luminance": 0.44543
}

Semantic roles & 50–950 ramp

primary
#42C982
secondary
#D196B5
accent
#4998DF
background
#F8FDFA
surface
#F0FBF4
border
#CBD4CE
text
#0C150F
muted
#7D837F

Preview Lab

Preview with #42C982

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

Preview Lab → · Contrast checker → · Palette generator →

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