#42A342#42A342

#42A342 is a light, vivid green. Relative luminance 0.277; OKLCH L 63.6% C 0.163 H 143.4°. Best body text is #000000 at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#42A342
RGBrgb(66, 163, 66)
HSLhsl(120, 42%, 45%)
HSVhsv(120, 60%, 64%)
CMYKcmyk(59.5%, 0%, 59.5%, 36.1%)
CIE-LABlab(59.66, -48.17, 41.28)
CIE-LCHlch(59.66, 63.44, 139.40°)
OKLaboklab(63.61% -0.1309 0.0973)
OKLCHoklch(63.61% 0.163 143.4)
XYZxyz(16.3264, 27.7445, 9.6481)
Luminance0.2775 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42A342 #A342A3
analogous
#73A342 #42A342 #42A373
triadic
#42A342 #4242A3 #A34242
tetradic
#42A342 #4273A3 #A342A3 #A37342
square
#42A342 #4273A3 #A342A3 #A37342
split-complementary
#42A342 #7342A3 #A34273
monochromatic
#1F4C1F #307730 #42A342 #63C063 #8ED18E

Accessibility & contrast

On white

3.21
#42A342 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.55
#42A342 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #42A342
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42A342#FFFFFF#000000##000000
##42A3421.003.216.556.55
#FFFFFF3.211.0021.0021.00
#0000006.5521.001.001.00
##0000006.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69538
Deuteranopia (green-blind)
#9A8C4A
Tritanopia (blue-blind)
#319F8E
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #42a342;
/* rgb */ color: rgb(66, 163, 66);
/* oklch */ color: oklch(63.6% 0.163 143.4);
Tailwind
colors: {
  custom: {
    50: '#81bf7a',
    500: '#42a342',
    950: '#000000',
  },
}
SCSS
$custom: #42a342;
$custom-light: #81bf7a;
$custom-dark: #000000;
JSON
{
  "hex": "#42a342",
  "rgb": {
    "r": 66,
    "g": 163,
    "b": 66
  },
  "hsl": {
    "h": 120,
    "s": 42.358,
    "l": 44.902
  },
  "oklch": {
    "l": 0.63609,
    "c": 0.1631,
    "h": 143.4
  },
  "luminance": 0.27746
}

Semantic roles & 50–950 ramp

primary
#42A342
secondary
#BC84BC
accent
#56D2D2
background
#F8FBF7
surface
#EFF7EE
border
#CAD0C9
text
#0B1209
muted
#7C817B

Preview Lab

Preview with #42A342

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

Preview Lab → · Contrast checker → · Palette generator →

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