#42C950#42C950

#42C950 is a light, vivid green. Relative luminance 0.435; OKLCH L 73.8% C 0.200 H 144.8°. Best body text is #000000 at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#42C950
RGBrgb(66, 201, 80)
HSLhsl(126, 56%, 52%)
HSVhsv(126, 67%, 79%)
CMYKcmyk(67.2%, 0%, 60.2%, 21.2%)
CIE-LABlab(71.90, -60.32, 48.97)
CIE-LCHlch(71.90, 77.69, 140.93°)
OKLaboklab(73.77% -0.1632 0.1151)
OKLCHoklch(73.77% 0.2 144.8)
XYZxyz(24.5798, 43.5081, 14.6904)
Luminance0.4351 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42C950 #C942BB
analogous
#78C942 #42C950 #42C993
triadic
#42C950 #5042C9 #C95042
tetradic
#42C950 #4278C9 #C942BB #C99342
square
#42C950 #4278C9 #C942BB #C99342
split-complementary
#42C950 #9342C9 #C94278
monochromatic
#207028 #2EA03A #42C950 #72D77C #A1E4A8

Accessibility & contrast

On white

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

On black

9.70
#42C950 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42C950
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42C950#FFFFFF#000000##000000
##42C9501.002.169.709.70
#FFFFFF2.161.0021.0021.00
#0000009.7021.001.001.00
##0000009.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB743
Deuteranopia (green-blind)
#BCAC5A
Tritanopia (blue-blind)
#18C4AF
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #42c950;
/* rgb */ color: rgb(66, 201, 80);
/* oklch */ color: oklch(73.8% 0.200 144.8);
Tailwind
colors: {
  custom: {
    50: '#87db85',
    500: '#42c950',
    950: '#000000',
  },
}
SCSS
$custom: #42c950;
$custom-light: #87db85;
$custom-dark: #000000;
JSON
{
  "hex": "#42c950",
  "rgb": {
    "r": 66,
    "g": 201,
    "b": 80
  },
  "hsl": {
    "h": 126.222,
    "s": 55.556,
    "l": 52.353
  },
  "oklch": {
    "l": 0.73767,
    "c": 0.19969,
    "h": 144.8
  },
  "luminance": 0.43511
}

Semantic roles & 50–950 ramp

primary
#42C950
secondary
#D196CB
accent
#49CFDF
background
#F9FDF8
surface
#F1FBEF
border
#CBD4CA
text
#0D150B
muted
#7E837C

Preview Lab

Preview with #42C950

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

Preview Lab → · Contrast checker → · Palette generator →

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