#42C962#42C962

#42C962 is a light, vivid green. Relative luminance 0.438; OKLCH L 74.0% C 0.185 H 147.8°. Best body text is #000000 at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#42C962
RGBrgb(66, 201, 98)
HSLhsl(134, 56%, 52%)
HSVhsv(134, 67%, 79%)
CMYKcmyk(67.2%, 0%, 51.2%, 21.2%)
CIE-LABlab(72.10, -57.96, 40.78)
CIE-LCHlch(72.10, 70.87, 144.87°)
OKLaboklab(74% -0.1563 0.0985)
OKLCHoklch(74% 0.185 147.8)
XYZxyz(25.3362, 43.8107, 18.6740)
Luminance0.4381 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42C962 #C942A9
analogous
#66C942 #42C962 #42C9A5
triadic
#42C962 #6242C9 #C96242
tetradic
#42C962 #4266C9 #C942A9 #C9A542
square
#42C962 #4266C9 #C942A9 #C9A542
split-complementary
#42C962 #A542C9 #C94266
monochromatic
#207033 #2EA049 #42C962 #72D78A #A1E4B1

Accessibility & contrast

On white

2.15
#42C962 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.76
#42C962 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42C962
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42C962#FFFFFF#000000##000000
##42C9621.002.159.769.76
#FFFFFF2.151.0021.0021.00
#0000009.7621.001.001.00
##0000009.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB859
Deuteranopia (green-blind)
#BBAC6A
Tritanopia (blue-blind)
#06C5B1
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #42c962;
/* rgb */ color: rgb(66, 201, 98);
/* oklch */ color: oklch(74.0% 0.185 147.8);
Tailwind
colors: {
  custom: {
    50: '#86da91',
    500: '#42c962',
    950: '#000000',
  },
}
SCSS
$custom: #42c962;
$custom-light: #86da91;
$custom-dark: #000000;
JSON
{
  "hex": "#42c962",
  "rgb": {
    "r": 66,
    "g": 201,
    "b": 98
  },
  "hsl": {
    "h": 134.222,
    "s": 55.556,
    "l": 52.353
  },
  "oklch": {
    "l": 0.74001,
    "c": 0.1847,
    "h": 147.8
  },
  "luminance": 0.43813
}

Semantic roles & 50–950 ramp

primary
#42C962
secondary
#D196C3
accent
#49BBDF
background
#F8FDF9
surface
#F0FBF1
border
#CBD4CB
text
#0D150D
muted
#7D837E

Preview Lab

Preview with #42C962

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

Preview Lab → · Contrast checker → · Palette generator →

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