#42C563#42C563

#42C563 is a light, vivid green. Relative luminance 0.420; OKLCH L 73.0% C 0.179 H 148.3°. Best body text is #000000 at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#42C563
RGBrgb(66, 197, 99)
HSLhsl(135, 53%, 52%)
HSVhsv(135, 66%, 77%)
CMYKcmyk(66.5%, 0%, 49.7%, 22.7%)
CIE-LABlab(70.86, -56.36, 38.76)
CIE-LCHlch(70.86, 68.40, 145.48°)
OKLaboklab(72.98% -0.152 0.094)
OKLCHoklch(72.98% 0.179 148.3)
XYZxyz(24.4633, 41.9890, 18.6174)
Luminance0.4199 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42C563 #C542A4
analogous
#63C542 #42C563 #42C5A5
triadic
#42C563 #6342C5 #C56342
tetradic
#42C563 #4263C5 #C542A4 #C5A542
square
#42C563 #4263C5 #C542A4 #C5A542
split-complementary
#42C563 #A542C5 #C54263
monochromatic
#216C34 #2F9A4A #42C563 #71D38A #A0E2B0

Accessibility & contrast

On white

2.23
#42C563 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.40
#42C563 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42C563
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42C563#FFFFFF#000000##000000
##42C5631.002.239.409.40
#FFFFFF2.231.0021.0021.00
#0000009.4021.001.001.00
##0000009.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B45B
Deuteranopia (green-blind)
#B7A96A
Tritanopia (blue-blind)
#0BC1AE
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #42c563;
/* rgb */ color: rgb(66, 197, 99);
/* oklch */ color: oklch(73.0% 0.179 148.3);
Tailwind
colors: {
  custom: {
    50: '#86d891',
    500: '#42c563',
    950: '#000000',
  },
}
SCSS
$custom: #42c563;
$custom-light: #86d891;
$custom-dark: #000000;
JSON
{
  "hex": "#42c563",
  "rgb": {
    "r": 66,
    "g": 197,
    "b": 99
  },
  "hsl": {
    "h": 135.115,
    "s": 53.036,
    "l": 51.569
  },
  "oklch": {
    "l": 0.72983,
    "c": 0.17868,
    "h": 148.3
  },
  "luminance": 0.41992
}

Semantic roles & 50–950 ramp

primary
#42C563
secondary
#CE95C0
accent
#4BB8DC
background
#F8FDF9
surface
#F0FAF1
border
#CBD3CB
text
#0C150D
muted
#7D837E

Preview Lab

Preview with #42C563

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

Preview Lab → · Contrast checker → · Palette generator →

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