#42A643#42A643

#42A643 is a light, vivid green. Relative luminance 0.288; OKLCH L 64.4% C 0.166 H 143.5°. Best body text is #000000 at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#42A643
RGBrgb(66, 166, 67)
HSLhsl(121, 43%, 45%)
HSVhsv(121, 60%, 65%)
CMYKcmyk(60.2%, 0%, 59.6%, 34.9%)
CIE-LABlab(60.64, -49.19, 41.94)
CIE-LCHlch(60.64, 64.64, 139.55°)
OKLaboklab(64.42% -0.1336 0.0988)
OKLCHoklch(64.42% 0.166 143.5)
XYZxyz(16.8951, 28.8344, 9.9843)
Luminance0.2884 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42A643 #A642A5
analogous
#73A642 #42A643 #42A675
triadic
#42A643 #4342A6 #A64342
tetradic
#42A643 #4273A6 #A642A5 #A67542
square
#42A643 #4273A6 #A642A5 #A67542
split-complementary
#42A643 #7542A6 #A64273
monochromatic
#1F4E20 #317A31 #42A643 #64C165 #90D390

Accessibility & contrast

On white

3.10
#42A643 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.77
#42A643 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #42A643
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42A643#FFFFFF#000000##000000
##42A6431.003.106.776.77
#FFFFFF3.101.0021.0021.00
#0000006.7721.001.001.00
##0000006.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99739
Deuteranopia (green-blind)
#9D8F4B
Tritanopia (blue-blind)
#30A290
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #42a643;
/* rgb */ color: rgb(66, 166, 67);
/* oklch */ color: oklch(64.4% 0.166 143.5);
Tailwind
colors: {
  custom: {
    50: '#81c17a',
    500: '#42a643',
    950: '#000000',
  },
}
SCSS
$custom: #42a643;
$custom-light: #81c17a;
$custom-dark: #000000;
JSON
{
  "hex": "#42a643",
  "rgb": {
    "r": 66,
    "g": 166,
    "b": 67
  },
  "hsl": {
    "h": 120.6,
    "s": 43.103,
    "l": 45.49
  },
  "oklch": {
    "l": 0.64419,
    "c": 0.16619,
    "h": 143.5
  },
  "luminance": 0.28836
}

Semantic roles & 50–950 ramp

primary
#42A643
secondary
#BE86BD
accent
#55D2D3
background
#F8FCF7
surface
#EFF8EE
border
#CAD1C9
text
#0B1209
muted
#7C817B

Preview Lab

Preview with #42A643

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

Preview Lab → · Contrast checker → · Palette generator →

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