#42A562#42A562

#42A562 is a light, vivid green. Relative luminance 0.289; OKLCH L 64.6% C 0.136 H 151.3°. Best body text is #000000 at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#42A562
RGBrgb(66, 165, 98)
HSLhsl(139, 43%, 45%)
HSVhsv(139, 60%, 65%)
CMYKcmyk(60%, 0%, 40.6%, 35.3%)
CIE-LABlab(60.74, -44.13, 26.33)
CIE-LCHlch(60.74, 51.39, 149.18°)
OKLaboklab(64.64% -0.1194 0.0654)
OKLCHoklch(64.64% 0.136 151.3)
XYZxyz(17.9051, 28.9487, 16.1970)
Luminance0.2895 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42A562 #A54285
analogous
#53A542 #42A562 #42A593
triadic
#42A562 #6242A5 #A56242
tetradic
#42A562 #4253A5 #A54285 #A59342
square
#42A562 #4253A5 #A54285 #A59342
split-complementary
#42A562 #9342A5 #A54253
monochromatic
#1F4E2E #317948 #42A562 #63C182 #8FD2A5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##42A562#FFFFFF#000000##000000
##42A5621.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)
#A6985D
Deuteranopia (green-blind)
#988F66
Tritanopia (blue-blind)
#24A394
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #42a562;
/* rgb */ color: rgb(66, 165, 98);
/* oklch */ color: oklch(64.6% 0.136 151.3);
Tailwind
colors: {
  custom: {
    50: '#80c08f',
    500: '#42a562',
    950: '#000000',
  },
}
SCSS
$custom: #42a562;
$custom-light: #80c08f;
$custom-dark: #000000;
JSON
{
  "hex": "#42a562",
  "rgb": {
    "r": 66,
    "g": 165,
    "b": 98
  },
  "hsl": {
    "h": 139.394,
    "s": 42.857,
    "l": 45.294
  },
  "oklch": {
    "l": 0.64639,
    "c": 0.13616,
    "h": 151.3
  },
  "luminance": 0.2895
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #42A562

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

Preview Lab → · Contrast checker → · Palette generator →

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