#42A71A#42A71A

#42A71A is a light, vivid green. Relative luminance 0.289; OKLCH L 64.3% C 0.193 H 139.1°. Best body text is #000000 at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#42A71A
RGBrgb(66, 167, 26)
HSLhsl(103, 73%, 38%)
HSVhsv(103, 84%, 65%)
CMYKcmyk(60.5%, 0%, 84.4%, 34.5%)
CIE-LABlab(60.67, -52.94, 57.40)
CIE-LCHlch(60.67, 78.08, 132.69°)
OKLaboklab(64.35% -0.1459 0.1263)
OKLCHoklch(64.35% 0.193 139.1)
XYZxyz(16.2513, 28.8688, 5.6929)
Luminance0.2887 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42A71A #7F1AA7
analogous
#88A71A #42A71A #1AA739
triadic
#42A71A #1A42A7 #A71A42
tetradic
#42A71A #1A88A7 #7F1AA7 #A7391A
square
#42A71A #1A88A7 #7F1AA7 #A7391A
split-complementary
#42A71A #391AA7 #A71A88
monochromatic
#183D0A #2D7212 #42A71A #57DC22 #7FE557

Accessibility & contrast

On white

3.10
#42A71A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.77
#42A71A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #42A71A
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42A71A#FFFFFF#000000##000000
##42A71A1.003.106.776.77
#FFFFFF3.101.0021.0021.00
#0000006.7721.001.001.00
##0000006.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9700
Deuteranopia (green-blind)
#A08F2D
Tritanopia (blue-blind)
#36A18E
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #42a71a;
/* rgb */ color: rgb(66, 167, 26);
/* oklch */ color: oklch(64.3% 0.193 139.1);
Tailwind
colors: {
  custom: {
    50: '#83c265',
    500: '#42a71a',
    950: '#000000',
  },
}
SCSS
$custom: #42a71a;
$custom-light: #83c265;
$custom-dark: #000000;
JSON
{
  "hex": "#42a71a",
  "rgb": {
    "r": 66,
    "g": 167,
    "b": 26
  },
  "hsl": {
    "h": 102.979,
    "s": 73.057,
    "l": 37.843
  },
  "oklch": {
    "l": 0.6435,
    "c": 0.19298,
    "h": 139.1
  },
  "luminance": 0.2887
}

Semantic roles & 50–950 ramp

primary
#42A71A
secondary
#A755C8
accent
#38F0BC
background
#F8FCF6
surface
#F0F8EB
border
#CBD1C6
text
#0C1206
muted
#7D817A

Preview Lab

Preview with #42A71A

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

Preview Lab → · Contrast checker → · Palette generator →

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