#42B562#42B562

#42B562 is a light, vivid green. Relative luminance 0.351; OKLCH L 68.8% C 0.158 H 149.4°. Best body text is #000000 at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#42B562
RGBrgb(66, 181, 98)
HSLhsl(137, 47%, 48%)
HSVhsv(137, 64%, 71%)
CMYKcmyk(63.5%, 0%, 45.9%, 29%)
CIE-LABlab(65.82, -50.51, 32.90)
CIE-LCHlch(65.82, 60.28, 146.92°)
OKLaboklab(68.82% -0.1363 0.0807)
OKLCHoklch(68.82% 0.158 149.4)
XYZxyz(20.9737, 35.0857, 17.2198)
Luminance0.3509 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42B562 #B54295
analogous
#5BB542 #42B562 #42B59B
triadic
#42B562 #6242B5 #B56242
tetradic
#42B562 #425BB5 #B54295 #B59B42
square
#42B562 #425BB5 #B54295 #B59B42
split-complementary
#42B562 #9B42B5 #B5425B
monochromatic
#215B31 #32884A #42B562 #6BC985 #98D9AA

Accessibility & contrast

On white

2.62
#42B562 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.02
#42B562 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42B562
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42B562#FFFFFF#000000##000000
##42B5621.002.628.028.02
#FFFFFF2.621.0021.0021.00
#0000008.0221.001.001.00
##0000008.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A65C
Deuteranopia (green-blind)
#A89C68
Tritanopia (blue-blind)
#1BB2A1
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #42b562;
/* rgb */ color: rgb(66, 181, 98);
/* oklch */ color: oklch(68.8% 0.158 149.4);
Tailwind
colors: {
  custom: {
    50: '#83cc90',
    500: '#42b562',
    950: '#000000',
  },
}
SCSS
$custom: #42b562;
$custom-light: #83cc90;
$custom-dark: #000000;
JSON
{
  "hex": "#42b562",
  "rgb": {
    "r": 66,
    "g": 181,
    "b": 98
  },
  "hsl": {
    "h": 136.696,
    "s": 46.559,
    "l": 48.431
  },
  "oklch": {
    "l": 0.68816,
    "c": 0.15841,
    "h": 149.4
  },
  "luminance": 0.35088
}

Semantic roles & 50–950 ramp

primary
#42B562
secondary
#C58EB6
accent
#52B1D6
background
#F8FCF8
surface
#F0F9F0
border
#CBD2CB
text
#0C130C
muted
#7D827D

Preview Lab

Preview with #42B562

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

Preview Lab → · Contrast checker → · Palette generator →

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