#42C756#42C756

#42C756 is a light, vivid green. Relative luminance 0.427; OKLCH L 73.3% C 0.192 H 145.8°. Best body text is #000000 at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#42C756
RGBrgb(66, 199, 86)
HSLhsl(129, 54%, 52%)
HSVhsv(129, 67%, 78%)
CMYKcmyk(66.8%, 0%, 56.8%, 22%)
CIE-LABlab(71.33, -58.89, 45.57)
CIE-LCHlch(71.33, 74.46, 142.26°)
OKLaboklab(73.32% -0.1591 0.1083)
OKLCHoklch(73.32% 0.192 145.8)
XYZxyz(24.3483, 42.6744, 15.7561)
Luminance0.4268 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42C756 #C742B3
analogous
#70C742 #42C756 #42C799
triadic
#42C756 #5642C7 #C75642
tetradic
#42C756 #4270C7 #C742B3 #C79942
square
#42C756 #4270C7 #C742B3 #C79942
split-complementary
#42C756 #9942C7 #C74270
monochromatic
#216E2C #2F9D3F #42C756 #71D580 #A0E3AA

Accessibility & contrast

On white

2.20
#42C756 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.54
#42C756 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42C756
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42C756#FFFFFF#000000##000000
##42C7561.002.209.549.54
#FFFFFF2.201.0021.0021.00
#0000009.5421.001.001.00
##0000009.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB54B
Deuteranopia (green-blind)
#BAAA5F
Tritanopia (blue-blind)
#16C2AE
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #42c756;
/* rgb */ color: rgb(66, 199, 86);
/* oklch */ color: oklch(73.3% 0.192 145.8);
Tailwind
colors: {
  custom: {
    50: '#87d989',
    500: '#42c756',
    950: '#000000',
  },
}
SCSS
$custom: #42c756;
$custom-light: #87d989;
$custom-dark: #000000;
JSON
{
  "hex": "#42c756",
  "rgb": {
    "r": 66,
    "g": 199,
    "b": 86
  },
  "hsl": {
    "h": 129.023,
    "s": 54.286,
    "l": 51.961
  },
  "oklch": {
    "l": 0.7332,
    "c": 0.19241,
    "h": 145.8
  },
  "luminance": 0.42677
}

Semantic roles & 50–950 ramp

primary
#42C756
secondary
#D095C7
accent
#4AC7DE
background
#F8FDF8
surface
#F0FBF0
border
#CBD4CB
text
#0D150C
muted
#7D837D

Preview Lab

Preview with #42C756

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

Preview Lab → · Contrast checker → · Palette generator →

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