#42C351#42C351

#42C351 is a light, vivid green. Relative luminance 0.408; OKLCH L 72.2% C 0.192 H 145.1°. Best body text is #000000 at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#42C351
RGBrgb(66, 195, 81)
HSLhsl(127, 52%, 51%)
HSVhsv(127, 66%, 76%)
CMYKcmyk(66.2%, 0%, 58.5%, 23.5%)
CIE-LABlab(70.02, -58.10, 46.35)
CIE-LCHlch(70.02, 74.32, 141.42°)
OKLaboklab(72.22% -0.1571 0.1096)
OKLCHoklch(72.22% 0.192 145.1)
XYZxyz(23.2456, 40.7801, 14.4293)
Luminance0.4078 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42C351 #C342B4
analogous
#73C342 #42C351 #42C391
triadic
#42C351 #5142C3 #C35142
tetradic
#42C351 #4273C3 #C342B4 #C39142
square
#42C351 #4273C3 #C342B4 #C39142
split-complementary
#42C351 #9142C3 #C34273
monochromatic
#21692A #30983C #42C351 #70D27C #9FE0A7

Accessibility & contrast

On white

2.29
#42C351 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.16
#42C351 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42C351
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42C351#FFFFFF#000000##000000
##42C3511.002.299.169.16
#FFFFFF2.291.0021.0021.00
#0000009.1621.001.001.00
##0000009.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B245
Deuteranopia (green-blind)
#B7A75A
Tritanopia (blue-blind)
#1CBEAA
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #42c351;
/* rgb */ color: rgb(66, 195, 81);
/* oklch */ color: oklch(72.2% 0.192 145.1);
Tailwind
colors: {
  custom: {
    50: '#86d685',
    500: '#42c351',
    950: '#000000',
  },
}
SCSS
$custom: #42c351;
$custom-light: #86d685;
$custom-dark: #000000;
JSON
{
  "hex": "#42c351",
  "rgb": {
    "r": 66,
    "g": 195,
    "b": 81
  },
  "hsl": {
    "h": 126.977,
    "s": 51.807,
    "l": 51.176
  },
  "oklch": {
    "l": 0.72218,
    "c": 0.19154,
    "h": 145.1
  },
  "luminance": 0.40783
}

Semantic roles & 50–950 ramp

primary
#42C351
secondary
#CD94C6
accent
#4DCBDB
background
#F8FDF8
surface
#F0FAEF
border
#CBD3CA
text
#0C140B
muted
#7D837C

Preview Lab

Preview with #42C351

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

Preview Lab → · Contrast checker → · Palette generator →

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