#42A41D#42A41D

#42A41D is a light, vivid green. Relative luminance 0.278; OKLCH L 63.6% C 0.188 H 139.2°. Best body text is #000000 at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#42A41D
RGBrgb(66, 164, 29)
HSLhsl(104, 70%, 38%)
HSVhsv(104, 82%, 64%)
CMYKcmyk(59.8%, 0%, 82.3%, 35.7%)
CIE-LABlab(59.70, -51.72, 55.72)
CIE-LCHlch(59.70, 76.02, 132.87°)
OKLaboklab(63.56% -0.1425 0.1232)
OKLCHoklch(63.56% 0.188 139.2)
XYZxyz(15.7433, 27.7965, 5.6978)
Luminance0.2780 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42A41D #7F1DA4
analogous
#85A41D #42A41D #1DA43C
triadic
#42A41D #1D42A4 #A41D42
tetradic
#42A41D #1D85A4 #7F1DA4 #A43C1D
square
#42A41D #1D85A4 #7F1DA4 #A43C1D
split-complementary
#42A41D #3C1DA4 #A41D85
monochromatic
#183C0B #2D7014 #42A41D #57D826 #7FE25A

Accessibility & contrast

On white

3.20
#42A41D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.56
#42A41D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #42A41D
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42A41D#FFFFFF#000000##000000
##42A41D1.003.206.566.56
#FFFFFF3.201.0021.0021.00
#0000006.5621.001.001.00
##0000006.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99500
Deuteranopia (green-blind)
#9D8D2E
Tritanopia (blue-blind)
#379E8C
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #42a41d;
/* rgb */ color: rgb(66, 164, 29);
/* oklch */ color: oklch(63.6% 0.188 139.2);
Tailwind
colors: {
  custom: {
    50: '#82c066',
    500: '#42a41d',
    950: '#000000',
  },
}
SCSS
$custom: #42a41d;
$custom-light: #82c066;
$custom-dark: #000000;
JSON
{
  "hex": "#42a41d",
  "rgb": {
    "r": 66,
    "g": 164,
    "b": 29
  },
  "hsl": {
    "h": 103.556,
    "s": 69.948,
    "l": 37.843
  },
  "oklch": {
    "l": 0.63559,
    "c": 0.18836,
    "h": 139.2
  },
  "luminance": 0.27798
}

Semantic roles & 50–950 ramp

primary
#42A41D
secondary
#A757C6
accent
#3BEDBC
background
#F8FBF6
surface
#F0F7EB
border
#CBD0C6
text
#0C1206
muted
#7D817A

Preview Lab

Preview with #42A41D

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

Preview Lab → · Contrast checker → · Palette generator →

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