#42AE40#42AE40

#42AE40 is a light, vivid green. Relative luminance 0.318; OKLCH L 66.5% C 0.179 H 143.0°. Best body text is #000000 at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#42AE40
RGBrgb(66, 174, 64)
HSLhsl(119, 46%, 47%)
HSVhsv(119, 63%, 68%)
CMYKcmyk(62.1%, 0%, 63.2%, 31.8%)
CIE-LABlab(63.18, -52.52, 46.21)
CIE-LCHlch(63.18, 69.95, 138.66°)
OKLaboklab(66.51% -0.1428 0.1077)
OKLCHoklch(66.51% 0.179 143)
XYZxyz(18.3072, 31.7988, 10.0225)
Luminance0.3180 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42AE40 #AC40AE
analogous
#79AE40 #42AE40 #40AE75
triadic
#42AE40 #4042AE #AE4042
tetradic
#42AE40 #4079AE #AC40AE #AE7540
square
#42AE40 #4079AE #AC40AE #AE7540
split-complementary
#42AE40 #7540AE #AE4079
monochromatic
#20551F #318130 #42AE40 #67C665 #93D792

Accessibility & contrast

On white

2.85
#42AE40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.36
#42AE40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42AE40
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42AE40#FFFFFF#000000##000000
##42AE401.002.857.367.36
#FFFFFF2.851.0021.0021.00
#0000007.3621.001.001.00
##0000007.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29E33
Deuteranopia (green-blind)
#A49549
Tritanopia (blue-blind)
#2DA997
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #42ae40;
/* rgb */ color: rgb(66, 174, 64);
/* oklch */ color: oklch(66.5% 0.179 143.0);
Tailwind
colors: {
  custom: {
    50: '#83c779',
    500: '#42ae40',
    950: '#000000',
  },
}
SCSS
$custom: #42ae40;
$custom-light: #83c779;
$custom-dark: #000000;
JSON
{
  "hex": "#42ae40",
  "rgb": {
    "r": 66,
    "g": 174,
    "b": 64
  },
  "hsl": {
    "h": 118.909,
    "s": 46.218,
    "l": 46.667
  },
  "oklch": {
    "l": 0.66506,
    "c": 0.17884,
    "h": 143
  },
  "luminance": 0.31801
}

Semantic roles & 50–950 ramp

primary
#42AE40
secondary
#C188C2
accent
#52D6D3
background
#F8FCF7
surface
#F0F8EE
border
#CBD1C9
text
#0C1309
muted
#7D827B

Preview Lab

Preview with #42AE40

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

Preview Lab → · Contrast checker → · Palette generator →

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