#42B142#42B142

#42B142 is a light, vivid green. Relative luminance 0.330; OKLCH L 67.3% C 0.181 H 143.2°. Best body text is #000000 at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#42B142
RGBrgb(66, 177, 66)
HSLhsl(120, 46%, 48%)
HSVhsv(120, 63%, 69%)
CMYKcmyk(62.7%, 0%, 62.7%, 30.6%)
CIE-LABlab(64.16, -53.40, 46.42)
CIE-LCHlch(64.16, 70.75, 139.00°)
OKLaboklab(67.32% -0.145 0.1084)
OKLCHoklch(67.32% 0.181 143.2)
XYZxyz(18.9512, 32.9940, 10.5230)
Luminance0.3300 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42B142 #B142B1
analogous
#79B142 #42B142 #42B179
triadic
#42B142 #4242B1 #B14242
tetradic
#42B142 #4279B1 #B142B1 #B17942
square
#42B142 #4279B1 #B142B1 #B17942
split-complementary
#42B142 #7942B1 #B14279
monochromatic
#215821 #318431 #42B142 #69C769 #96D896

Accessibility & contrast

On white

2.76
#42B142 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.60
#42B142 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42B142
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42B142#FFFFFF#000000##000000
##42B1421.002.767.607.60
#FFFFFF2.761.0021.0021.00
#0000007.6021.001.001.00
##0000007.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A135
Deuteranopia (green-blind)
#A7984B
Tritanopia (blue-blind)
#2CAC99
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #42b142;
/* rgb */ color: rgb(66, 177, 66);
/* oklch */ color: oklch(67.3% 0.181 143.2);
Tailwind
colors: {
  custom: {
    50: '#83c97b',
    500: '#42b142',
    950: '#000000',
  },
}
SCSS
$custom: #42b142;
$custom-light: #83c97b;
$custom-dark: #000000;
JSON
{
  "hex": "#42b142",
  "rgb": {
    "r": 66,
    "g": 177,
    "b": 66
  },
  "hsl": {
    "h": 120,
    "s": 45.679,
    "l": 47.647
  },
  "oklch": {
    "l": 0.67322,
    "c": 0.18105,
    "h": 143.2
  },
  "luminance": 0.32996
}

Semantic roles & 50–950 ramp

primary
#42B142
secondary
#C38BC3
accent
#52D5D5
background
#F8FCF7
surface
#F0F8EE
border
#CBD1C9
text
#0C1309
muted
#7D827B

Preview Lab

Preview with #42B142

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

Preview Lab → · Contrast checker → · Palette generator →

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