#42A41E#42A41E

#42A41E 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#42A41E
RGBrgb(66, 164, 30)
HSLhsl(104, 69%, 38%)
HSVhsv(104, 82%, 64%)
CMYKcmyk(59.8%, 0%, 81.7%, 35.7%)
CIE-LABlab(59.71, -51.67, 55.44)
CIE-LCHlch(59.71, 75.78, 132.98°)
OKLaboklab(63.56% -0.1423 0.1227)
OKLCHoklch(63.56% 0.188 139.2)
XYZxyz(15.7559, 27.8015, 5.7640)
Luminance0.2780 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42A41E #801EA4
analogous
#85A41E #42A41E #1EA43D
triadic
#42A41E #1E42A4 #A41E42
tetradic
#42A41E #1E85A4 #801EA4 #A43D1E
square
#42A41E #1E85A4 #801EA4 #A43D1E
split-complementary
#42A41E #3D1EA4 #A41E85
monochromatic
#183D0B #2D7015 #42A41E #57D828 #7FE15B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##42A41E#FFFFFF#000000##000000
##42A41E1.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)
#9D8D2F
Tritanopia (blue-blind)
#379E8C
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #42a41e;
/* rgb */ color: rgb(66, 164, 30);
/* oklch */ color: oklch(63.6% 0.188 139.2);
Tailwind
colors: {
  custom: {
    50: '#82c066',
    500: '#42a41e',
    950: '#000000',
  },
}
SCSS
$custom: #42a41e;
$custom-light: #82c066;
$custom-dark: #000000;
JSON
{
  "hex": "#42a41e",
  "rgb": {
    "r": 66,
    "g": 164,
    "b": 30
  },
  "hsl": {
    "h": 103.881,
    "s": 69.072,
    "l": 38.039
  },
  "oklch": {
    "l": 0.63564,
    "c": 0.18792,
    "h": 139.2
  },
  "luminance": 0.27803
}

Semantic roles & 50–950 ramp

primary
#42A41E
secondary
#A859C5
accent
#3CECBD
background
#F8FBF6
surface
#F0F7EB
border
#CBD0C6
text
#0C1206
muted
#7D817A

Preview Lab

Preview with #42A41E

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

Preview Lab → · Contrast checker → · Palette generator →

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