#42A620#42A620

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

Color values

HEX#42A620
RGBrgb(66, 166, 32)
HSLhsl(105, 68%, 39%)
HSVhsv(105, 81%, 65%)
CMYKcmyk(60.2%, 0%, 80.7%, 34.9%)
CIE-LABlab(60.37, -52.27, 55.46)
CIE-LCHlch(60.37, 76.22, 133.30°)
OKLaboklab(64.11% -0.1439 0.1231)
OKLCHoklch(64.11% 0.189 139.5)
XYZxyz(16.1430, 28.5335, 6.0230)
Luminance0.2853 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42A620 #8420A6
analogous
#85A620 #42A620 #20A641
triadic
#42A620 #2042A6 #A62042
tetradic
#42A620 #2085A6 #8420A6 #A64120
square
#42A620 #2085A6 #8420A6 #A64120
split-complementary
#42A620 #4120A6 #A62085
monochromatic
#193F0C #2E7316 #42A620 #58D62D #81E060

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##42A620#FFFFFF#000000##000000
##42A6201.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)
#9F8E30
Tritanopia (blue-blind)
#36A08D
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #42a620;
/* rgb */ color: rgb(66, 166, 32);
/* oklch */ color: oklch(64.1% 0.189 139.5);
Tailwind
colors: {
  custom: {
    50: '#83c167',
    500: '#42a620',
    950: '#000000',
  },
}
SCSS
$custom: #42a620;
$custom-light: #83c167;
$custom-dark: #000000;
JSON
{
  "hex": "#42a620",
  "rgb": {
    "r": 66,
    "g": 166,
    "b": 32
  },
  "hsl": {
    "h": 104.776,
    "s": 67.677,
    "l": 38.824
  },
  "oklch": {
    "l": 0.64112,
    "c": 0.18931,
    "h": 139.5
  },
  "luminance": 0.28535
}

Semantic roles & 50–950 ramp

primary
#42A620
secondary
#AB5DC5
accent
#3DEBBF
background
#F8FCF6
surface
#F0F8EB
border
#CBD1C6
text
#0C1207
muted
#7D817A

Preview Lab

Preview with #42A620

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

Preview Lab → · Contrast checker → · Palette generator →

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