#42C657#42C657

#42C657 is a light, vivid green. Relative luminance 0.422; OKLCH L 73.1% C 0.190 H 146.0°. Best body text is #000000 at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#42C657
RGBrgb(66, 198, 87)
HSLhsl(130, 54%, 52%)
HSVhsv(130, 67%, 78%)
CMYKcmyk(66.7%, 0%, 56.1%, 22.4%)
CIE-LABlab(71.03, -58.40, 44.75)
CIE-LCHlch(71.03, 73.58, 142.54°)
OKLaboklab(73.07% -0.1577 0.1065)
OKLCHoklch(73.07% 0.19 146)
XYZxyz(24.1595, 42.2320, 15.8933)
Luminance0.4224 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42C657 #C642B1
analogous
#6FC642 #42C657 #42C699
triadic
#42C657 #5742C6 #C65742
tetradic
#42C657 #426FC6 #C642B1 #C69942
square
#42C657 #426FC6 #C642B1 #C69942
split-complementary
#42C657 #9942C6 #C6426F
monochromatic
#216D2D #2F9C40 #42C657 #71D481 #A0E2AB

Accessibility & contrast

On white

2.22
#42C657 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.45
#42C657 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42C657
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42C657#FFFFFF#000000##000000
##42C6571.002.229.459.45
#FFFFFF2.221.0021.0021.00
#0000009.4521.001.001.00
##0000009.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B54C
Deuteranopia (green-blind)
#B9AA60
Tritanopia (blue-blind)
#16C1AD
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #42c657;
/* rgb */ color: rgb(66, 198, 87);
/* oklch */ color: oklch(73.1% 0.190 146.0);
Tailwind
colors: {
  custom: {
    50: '#86d889',
    500: '#42c657',
    950: '#000000',
  },
}
SCSS
$custom: #42c657;
$custom-light: #86d889;
$custom-dark: #000000;
JSON
{
  "hex": "#42c657",
  "rgb": {
    "r": 66,
    "g": 198,
    "b": 87
  },
  "hsl": {
    "h": 129.545,
    "s": 53.659,
    "l": 51.765
  },
  "oklch": {
    "l": 0.73073,
    "c": 0.19034,
    "h": 146
  },
  "luminance": 0.42235
}

Semantic roles & 50–950 ramp

primary
#42C657
secondary
#CF95C6
accent
#4BC6DD
background
#F8FDF8
surface
#F0FBF0
border
#CBD4CB
text
#0C150C
muted
#7D837D

Preview Lab

Preview with #42C657

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

Preview Lab → · Contrast checker → · Palette generator →

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