#42C757#42C757

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

Color values

HEX#42C757
RGBrgb(66, 199, 87)
HSLhsl(129, 54%, 52%)
HSVhsv(129, 67%, 78%)
CMYKcmyk(66.8%, 0%, 56.3%, 22%)
CIE-LABlab(71.34, -58.76, 45.12)
CIE-LCHlch(71.34, 74.08, 142.48°)
OKLaboklab(73.33% -0.1587 0.1073)
OKLCHoklch(73.33% 0.192 145.9)
XYZxyz(24.3888, 42.6906, 15.9698)
Luminance0.4269 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42C757 #C742B2
analogous
#6FC742 #42C757 #42C79A
triadic
#42C757 #5742C7 #C75742
tetradic
#42C757 #426FC7 #C742B2 #C79A42
square
#42C757 #426FC7 #C742B2 #C79A42
split-complementary
#42C757 #9A42C7 #C7426F
monochromatic
#216E2D #2F9D40 #42C757 #71D581 #A0E3AB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##42C757#FFFFFF#000000##000000
##42C7571.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)
#CAB54C
Deuteranopia (green-blind)
#BAAA60
Tritanopia (blue-blind)
#15C2AE
Achromatopsia (no color)
#AFAFAF

Design tokens & code

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

Semantic roles & 50–950 ramp

primary
#42C757
secondary
#D095C6
accent
#4AC6DE
background
#F8FDF8
surface
#F0FBF0
border
#CBD4CB
text
#0D150C
muted
#7D837D

Preview Lab

Preview with #42C757

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

Preview Lab → · Contrast checker → · Palette generator →

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