#42A71B#42A71B

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

Color values

HEX#42A71B
RGBrgb(66, 167, 27)
HSLhsl(103, 72%, 38%)
HSVhsv(103, 84%, 65%)
CMYKcmyk(60.5%, 0%, 83.8%, 34.5%)
CIE-LABlab(60.67, -52.89, 57.14)
CIE-LCHlch(60.67, 77.86, 132.79°)
OKLaboklab(64.35% -0.1458 0.1259)
OKLCHoklch(64.35% 0.193 139.2)
XYZxyz(16.2626, 28.8733, 5.7528)
Luminance0.2888 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42A71B #801BA7
analogous
#88A71B #42A71B #1BA73A
triadic
#42A71B #1B42A7 #A71B42
tetradic
#42A71B #1B88A7 #801BA7 #A73A1B
square
#42A71B #1B88A7 #801BA7 #A73A1B
split-complementary
#42A71B #3A1BA7 #A71B88
monochromatic
#183E0A #2D7212 #42A71B #57DC24 #7FE458

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##42A71B#FFFFFF#000000##000000
##42A71B1.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)
#A08F2D
Tritanopia (blue-blind)
#36A18E
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #42a71b;
/* rgb */ color: rgb(66, 167, 27);
/* oklch */ color: oklch(64.4% 0.193 139.2);
Tailwind
colors: {
  custom: {
    50: '#83c266',
    500: '#42a71b',
    950: '#000000',
  },
}
SCSS
$custom: #42a71b;
$custom-light: #83c266;
$custom-dark: #000000;
JSON
{
  "hex": "#42a71b",
  "rgb": {
    "r": 66,
    "g": 167,
    "b": 27
  },
  "hsl": {
    "h": 103.286,
    "s": 72.165,
    "l": 38.039
  },
  "oklch": {
    "l": 0.64355,
    "c": 0.19259,
    "h": 139.2
  },
  "luminance": 0.28875
}

Semantic roles & 50–950 ramp

primary
#42A71B
secondary
#A856C8
accent
#39EFBC
background
#F8FCF6
surface
#F0F8EB
border
#CBD1C6
text
#0C1206
muted
#7D817A

Preview Lab

Preview with #42A71B

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

Preview Lab → · Contrast checker → · Palette generator →

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