#42A142#42A142

#42A142 is a light, vivid green. Relative luminance 0.270; OKLCH L 63.1% C 0.160 H 143.4°. Best body text is #000000 at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#42A142
RGBrgb(66, 161, 66)
HSLhsl(120, 42%, 45%)
HSVhsv(120, 59%, 63%)
CMYKcmyk(59%, 0%, 59%, 36.9%)
CIE-LABlab(59.01, -47.40, 40.53)
CIE-LCHlch(59.01, 62.36, 139.47°)
OKLaboklab(63.08% -0.1288 0.0957)
OKLCHoklch(63.08% 0.16 143.4)
XYZxyz(15.9741, 27.0399, 9.5306)
Luminance0.2704 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42A142 #A142A1
analogous
#72A142 #42A142 #42A172
triadic
#42A142 #4242A1 #A14242
tetradic
#42A142 #4272A1 #A142A1 #A17242
square
#42A142 #4272A1 #A142A1 #A17242
split-complementary
#42A142 #7242A1 #A14272
monochromatic
#1E4A1E #307630 #42A142 #62BF62 #8DD08D

Accessibility & contrast

On white

3.28
#42A142 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.41
#42A142 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #42A142
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42A142#FFFFFF#000000##000000
##42A1421.003.286.416.41
#FFFFFF3.281.0021.0021.00
#0000006.4121.001.001.00
##0000006.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49338
Deuteranopia (green-blind)
#988B49
Tritanopia (blue-blind)
#329D8C
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #42a142;
/* rgb */ color: rgb(66, 161, 66);
/* oklch */ color: oklch(63.1% 0.160 143.4);
Tailwind
colors: {
  custom: {
    50: '#80be79',
    500: '#42a142',
    950: '#000000',
  },
}
SCSS
$custom: #42a142;
$custom-light: #80be79;
$custom-dark: #000000;
JSON
{
  "hex": "#42a142",
  "rgb": {
    "r": 66,
    "g": 161,
    "b": 66
  },
  "hsl": {
    "h": 120,
    "s": 41.85,
    "l": 44.51
  },
  "oklch": {
    "l": 0.63077,
    "c": 0.16045,
    "h": 143.4
  },
  "luminance": 0.27041
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #42A142

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

Preview Lab → · Contrast checker → · Palette generator →

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