#42A563#42A563

#42A563 is a light, vivid green. Relative luminance 0.290; OKLCH L 64.7% C 0.135 H 151.6°. Best body text is #000000 at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#42A563
RGBrgb(66, 165, 99)
HSLhsl(140, 43%, 45%)
HSVhsv(140, 60%, 65%)
CMYKcmyk(60%, 0%, 40%, 35.3%)
CIE-LABlab(60.75, -43.95, 25.82)
CIE-LCHlch(60.75, 50.97, 149.57°)
OKLaboklab(64.66% -0.119 0.0642)
OKLCHoklch(64.66% 0.135 151.6)
XYZxyz(17.9527, 28.9677, 16.4472)
Luminance0.2897 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42A563 #A54284
analogous
#52A542 #42A563 #42A594
triadic
#42A563 #6342A5 #A56342
tetradic
#42A563 #4252A5 #A54284 #A59442
square
#42A563 #4252A5 #A54284 #A59442
split-complementary
#42A563 #9442A5 #A54252
monochromatic
#1F4E2F #317949 #42A563 #63C183 #8FD2A6

Accessibility & contrast

On white

3.09
#42A563 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.79
#42A563 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #42A563
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42A563#FFFFFF#000000##000000
##42A5631.003.096.796.79
#FFFFFF3.091.0021.0021.00
#0000006.7921.001.001.00
##0000006.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A5985E
Deuteranopia (green-blind)
#988F67
Tritanopia (blue-blind)
#23A394
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #42a563;
/* rgb */ color: rgb(66, 165, 99);
/* oklch */ color: oklch(64.7% 0.135 151.6);
Tailwind
colors: {
  custom: {
    50: '#80c090',
    500: '#42a563',
    950: '#000000',
  },
}
SCSS
$custom: #42a563;
$custom-light: #80c090;
$custom-dark: #000000;
JSON
{
  "hex": "#42a563",
  "rgb": {
    "r": 66,
    "g": 165,
    "b": 99
  },
  "hsl": {
    "h": 140,
    "s": 42.857,
    "l": 45.294
  },
  "oklch": {
    "l": 0.64659,
    "c": 0.13518,
    "h": 151.6
  },
  "luminance": 0.28969
}

Semantic roles & 50–950 ramp

primary
#42A563
secondary
#BD85AB
accent
#55A9D3
background
#F8FBF8
surface
#EFF7F0
border
#CAD0CB
text
#0B120C
muted
#7C817D

Preview Lab

Preview with #42A563

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

Preview Lab → · Contrast checker → · Palette generator →

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