#42AC29#42AC29

#42AC29 is a light, vivid green. Relative luminance 0.308; OKLCH L 65.8% C 0.192 H 140.4°. Best body text is #000000 at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#42AC29
RGBrgb(66, 172, 41)
HSLhsl(109, 62%, 42%)
HSVhsv(109, 76%, 67%)
CMYKcmyk(61.6%, 0%, 76.2%, 32.5%)
CIE-LABlab(62.36, -53.85, 54.49)
CIE-LCHlch(62.36, 76.60, 134.66°)
OKLaboklab(65.77% -0.1476 0.1223)
OKLCHoklch(65.77% 0.192 140.4)
XYZxyz(17.3987, 30.8218, 7.1297)
Luminance0.3082 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42AC29 #9329AC
analogous
#83AC29 #42AC29 #29AC52
triadic
#42AC29 #2942AC #AC2942
tetradic
#42AC29 #2983AC #9329AC #AC5229
square
#42AC29 #2983AC #9329AC #AC5229
split-complementary
#42AC29 #5229AC #AC2983
monochromatic
#1C4911 #2F7B1D #42AC29 #5CD241 #87DD72

Accessibility & contrast

On white

2.93
#42AC29 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.16
#42AC29 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42AC29
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42AC29#FFFFFF#000000##000000
##42AC291.002.937.167.16
#FFFFFF2.931.0021.0021.00
#0000007.1621.001.001.00
##0000007.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19C0B
Deuteranopia (green-blind)
#A49337
Tritanopia (blue-blind)
#33A693
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #42ac29;
/* rgb */ color: rgb(66, 172, 41);
/* oklch */ color: oklch(65.8% 0.192 140.4);
Tailwind
colors: {
  custom: {
    50: '#83c66c',
    500: '#42ac29',
    950: '#000000',
  },
}
SCSS
$custom: #42ac29;
$custom-light: #83c66c;
$custom-dark: #000000;
JSON
{
  "hex": "#42ac29",
  "rgb": {
    "r": 66,
    "g": 172,
    "b": 41
  },
  "hsl": {
    "h": 108.55,
    "s": 61.502,
    "l": 41.765
  },
  "oklch": {
    "l": 0.65773,
    "c": 0.19169,
    "h": 140.4
  },
  "luminance": 0.30823
}

Semantic roles & 50–950 ramp

primary
#42AC29
secondary
#B46CC5
accent
#43E5C6
background
#F8FCF6
surface
#F0F8EC
border
#CBD1C7
text
#0C1307
muted
#7D827A

Preview Lab

Preview with #42AC29

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

Preview Lab → · Contrast checker → · Palette generator →

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