#42AB42#42AB42

#42AB42 is a light, vivid green. Relative luminance 0.307; OKLCH L 65.7% C 0.173 H 143.3°. Best body text is #000000 at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#42AB42
RGBrgb(66, 171, 66)
HSLhsl(120, 44%, 46%)
HSVhsv(120, 61%, 67%)
CMYKcmyk(61.4%, 0%, 61.4%, 32.9%)
CIE-LABlab(62.23, -51.19, 44.24)
CIE-LCHlch(62.23, 67.66, 139.16°)
OKLaboklab(65.73% -0.1391 0.1037)
OKLCHoklch(65.73% 0.173 143.3)
XYZxyz(17.7920, 30.6757, 10.1366)
Luminance0.3068 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42AB42 #AB42AB
analogous
#77AB42 #42AB42 #42AB77
triadic
#42AB42 #4242AB #AB4242
tetradic
#42AB42 #4277AB #AB42AB #AB7742
square
#42AB42 #4277AB #AB42AB #AB7742
split-complementary
#42AB42 #7742AB #AB4277
monochromatic
#205320 #317F31 #42AB42 #66C466 #92D592

Accessibility & contrast

On white

2.94
#42AB42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.14
#42AB42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42AB42
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42AB42#FFFFFF#000000##000000
##42AB421.002.947.147.14
#FFFFFF2.941.0021.0021.00
#0000007.1421.001.001.00
##0000007.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9C36
Deuteranopia (green-blind)
#A1934B
Tritanopia (blue-blind)
#2EA695
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #42ab42;
/* rgb */ color: rgb(66, 171, 66);
/* oklch */ color: oklch(65.7% 0.173 143.3);
Tailwind
colors: {
  custom: {
    50: '#82c57a',
    500: '#42ab42',
    950: '#000000',
  },
}
SCSS
$custom: #42ab42;
$custom-light: #82c57a;
$custom-dark: #000000;
JSON
{
  "hex": "#42ab42",
  "rgb": {
    "r": 66,
    "g": 171,
    "b": 66
  },
  "hsl": {
    "h": 120,
    "s": 44.304,
    "l": 46.471
  },
  "oklch": {
    "l": 0.65734,
    "c": 0.17347,
    "h": 143.3
  },
  "luminance": 0.30677
}

Semantic roles & 50–950 ramp

primary
#42AB42
secondary
#C088C0
accent
#54D4D4
background
#F8FCF7
surface
#F0F8EE
border
#CBD1C9
text
#0B1309
muted
#7C827B

Preview Lab

Preview with #42AB42

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

Preview Lab → · Contrast checker → · Palette generator →

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