#42C951#42C951

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

Color values

HEX#42C951
RGBrgb(66, 201, 81)
HSLhsl(127, 56%, 52%)
HSVhsv(127, 67%, 79%)
CMYKcmyk(67.2%, 0%, 59.7%, 21.2%)
CIE-LABlab(71.91, -60.20, 48.53)
CIE-LCHlch(71.91, 77.33, 141.12°)
OKLaboklab(73.78% -0.1628 0.1143)
OKLCHoklch(73.78% 0.199 144.9)
XYZxyz(24.6170, 43.5230, 14.8864)
Luminance0.4353 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42C951 #C942BA
analogous
#76C942 #42C951 #42C995
triadic
#42C951 #5142C9 #C95142
tetradic
#42C951 #4276C9 #C942BA #C99542
square
#42C951 #4276C9 #C942BA #C99542
split-complementary
#42C951 #9542C9 #C94276
monochromatic
#207029 #2EA03A #42C951 #72D77D #A1E4A9

Accessibility & contrast

On white

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

On black

9.71
#42C951 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42C951
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42C951#FFFFFF#000000##000000
##42C9511.002.169.719.71
#FFFFFF2.161.0021.0021.00
#0000009.7121.001.001.00
##0000009.7121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #42c951;
/* rgb */ color: rgb(66, 201, 81);
/* oklch */ color: oklch(73.8% 0.199 144.9);
Tailwind
colors: {
  custom: {
    50: '#87db86',
    500: '#42c951',
    950: '#000000',
  },
}
SCSS
$custom: #42c951;
$custom-light: #87db86;
$custom-dark: #000000;
JSON
{
  "hex": "#42c951",
  "rgb": {
    "r": 66,
    "g": 201,
    "b": 81
  },
  "hsl": {
    "h": 126.667,
    "s": 55.556,
    "l": 52.353
  },
  "oklch": {
    "l": 0.73779,
    "c": 0.19891,
    "h": 144.9
  },
  "luminance": 0.43526
}

Semantic roles & 50–950 ramp

primary
#42C951
secondary
#D196CA
accent
#49CEDF
background
#F9FDF8
surface
#F1FBF0
border
#CBD4CB
text
#0D150B
muted
#7E837C

Preview Lab

Preview with #42C951

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

Preview Lab → · Contrast checker → · Palette generator →

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