#42A622#42A622

#42A622 is a light, vivid green. Relative luminance 0.285; OKLCH L 64.1% C 0.188 H 139.6°. Best body text is #000000 at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#42A622
RGBrgb(66, 166, 34)
HSLhsl(105, 66%, 39%)
HSVhsv(105, 80%, 65%)
CMYKcmyk(60.2%, 0%, 79.5%, 34.9%)
CIE-LABlab(60.38, -52.16, 54.86)
CIE-LCHlch(60.38, 75.70, 133.55°)
OKLaboklab(64.12% -0.1434 0.1221)
OKLCHoklch(64.12% 0.188 139.6)
XYZxyz(16.1710, 28.5447, 6.1706)
Luminance0.2855 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42A622 #8622A6
analogous
#84A622 #42A622 #22A644
triadic
#42A622 #2242A6 #A62242
tetradic
#42A622 #2284A6 #8622A6 #A64422
square
#42A622 #2284A6 #8622A6 #A64422
split-complementary
#42A622 #4422A6 #A62284
monochromatic
#1A400D #2E7318 #42A622 #58D530 #81DF63

Accessibility & contrast

On white

3.13
#42A622 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.71
#42A622 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #42A622
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42A622#FFFFFF#000000##000000
##42A6221.003.136.716.71
#FFFFFF3.131.0021.0021.00
#0000006.7121.001.001.00
##0000006.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9700
Deuteranopia (green-blind)
#9F8E31
Tritanopia (blue-blind)
#36A08E
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #42a622;
/* rgb */ color: rgb(66, 166, 34);
/* oklch */ color: oklch(64.1% 0.188 139.6);
Tailwind
colors: {
  custom: {
    50: '#83c168',
    500: '#42a622',
    950: '#000000',
  },
}
SCSS
$custom: #42a622;
$custom-light: #83c168;
$custom-dark: #000000;
JSON
{
  "hex": "#42a622",
  "rgb": {
    "r": 66,
    "g": 166,
    "b": 34
  },
  "hsl": {
    "h": 105.455,
    "s": 66,
    "l": 39.216
  },
  "oklch": {
    "l": 0.64124,
    "c": 0.18836,
    "h": 139.6
  },
  "luminance": 0.28546
}

Semantic roles & 50–950 ramp

primary
#42A622
secondary
#AC5FC4
accent
#3FE9C0
background
#F8FCF6
surface
#F0F8EB
border
#CBD1C6
text
#0C1207
muted
#7D817A

Preview Lab

Preview with #42A622

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

Preview Lab → · Contrast checker → · Palette generator →

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