#42C751#42C751

#42C751 is a light, vivid green. Relative luminance 0.426; OKLCH L 73.3% C 0.196 H 145.0°. Best body text is #000000 at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#42C751
RGBrgb(66, 199, 81)
HSLhsl(127, 54%, 52%)
HSVhsv(127, 67%, 78%)
CMYKcmyk(66.8%, 0%, 59.3%, 22%)
CIE-LABlab(71.28, -59.51, 47.81)
CIE-LCHlch(71.28, 76.33, 141.22°)
OKLaboklab(73.26% -0.1609 0.1127)
OKLCHoklch(73.26% 0.196 145)
XYZxyz(24.1538, 42.5966, 14.7320)
Luminance0.4260 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42C751 #C742B8
analogous
#76C742 #42C751 #42C794
triadic
#42C751 #5142C7 #C75142
tetradic
#42C751 #4276C7 #C742B8 #C79442
square
#42C751 #4276C7 #C742B8 #C79442
split-complementary
#42C751 #9442C7 #C74276
monochromatic
#216E29 #2F9D3B #42C751 #71D57C #A0E3A8

Accessibility & contrast

On white

2.21
#42C751 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.52
#42C751 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42C751
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42C751#FFFFFF#000000##000000
##42C7511.002.219.529.52
#FFFFFF2.211.0021.0021.00
#0000009.5221.001.001.00
##0000009.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB545
Deuteranopia (green-blind)
#BAAA5B
Tritanopia (blue-blind)
#19C2AD
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #42c751;
/* rgb */ color: rgb(66, 199, 81);
/* oklch */ color: oklch(73.3% 0.196 145.0);
Tailwind
colors: {
  custom: {
    50: '#87d985',
    500: '#42c751',
    950: '#000000',
  },
}
SCSS
$custom: #42c751;
$custom-light: #87d985;
$custom-dark: #000000;
JSON
{
  "hex": "#42c751",
  "rgb": {
    "r": 66,
    "g": 199,
    "b": 81
  },
  "hsl": {
    "h": 126.767,
    "s": 54.286,
    "l": 51.961
  },
  "oklch": {
    "l": 0.73259,
    "c": 0.19647,
    "h": 145
  },
  "luminance": 0.42599
}

Semantic roles & 50–950 ramp

primary
#42C751
secondary
#D095C9
accent
#4ACDDE
background
#F8FDF8
surface
#F0FBF0
border
#CBD4CB
text
#0D150B
muted
#7D837C

Preview Lab

Preview with #42C751

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

Preview Lab → · Contrast checker → · Palette generator →

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