#42A71E#42A71E

#42A71E is a light, vivid green. Relative luminance 0.289; OKLCH L 64.4% C 0.191 H 139.4°. Best body text is #000000 at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#42A71E
RGBrgb(66, 167, 30)
HSLhsl(104, 70%, 39%)
HSVhsv(104, 82%, 65%)
CMYKcmyk(60.5%, 0%, 82%, 34.5%)
CIE-LABlab(60.68, -52.74, 56.34)
CIE-LCHlch(60.68, 77.17, 133.11°)
OKLaboklab(64.37% -0.1452 0.1246)
OKLCHoklch(64.37% 0.191 139.4)
XYZxyz(16.2991, 28.8879, 5.9450)
Luminance0.2889 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42A71E #831EA7
analogous
#86A71E #42A71E #1EA73F
triadic
#42A71E #1E42A7 #A71E42
tetradic
#42A71E #1E86A7 #831EA7 #A73F1E
square
#42A71E #1E86A7 #831EA7 #A73F1E
split-complementary
#42A71E #3F1EA7 #A71E86
monochromatic
#193F0B #2D7315 #42A71E #58D92A #80E25D

Accessibility & contrast

On white

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

On black

6.78
#42A71E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #42A71E
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42A71E#FFFFFF#000000##000000
##42A71E1.003.106.786.78
#FFFFFF3.101.0021.0021.00
#0000006.7821.001.001.00
##0000006.7821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #42a71e;
/* rgb */ color: rgb(66, 167, 30);
/* oklch */ color: oklch(64.4% 0.191 139.4);
Tailwind
colors: {
  custom: {
    50: '#83c267',
    500: '#42a71e',
    950: '#000000',
  },
}
SCSS
$custom: #42a71e;
$custom-light: #83c267;
$custom-dark: #000000;
JSON
{
  "hex": "#42a71e",
  "rgb": {
    "r": 66,
    "g": 167,
    "b": 30
  },
  "hsl": {
    "h": 104.234,
    "s": 69.543,
    "l": 38.627
  },
  "oklch": {
    "l": 0.6437,
    "c": 0.19135,
    "h": 139.4
  },
  "luminance": 0.28889
}

Semantic roles & 50–950 ramp

primary
#42A71E
secondary
#AA5BC6
accent
#3BECBE
background
#F8FCF6
surface
#F0F8EB
border
#CBD1C6
text
#0C1207
muted
#7D817A

Preview Lab

Preview with #42A71E

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

Preview Lab → · Contrast checker → · Palette generator →

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