#42A11D#42A11D

#42A11D is a light, vivid green. Relative luminance 0.267; OKLCH L 62.8% C 0.185 H 139.0°. Best body text is #000000 at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#42A11D
RGBrgb(66, 161, 29)
HSLhsl(103, 69%, 37%)
HSVhsv(103, 82%, 63%)
CMYKcmyk(59%, 0%, 82%, 36.9%)
CIE-LABlab(58.73, -50.63, 54.82)
CIE-LCHlch(58.73, 74.62, 132.73°)
OKLaboklab(62.75% -0.1396 0.1213)
OKLCHoklch(62.75% 0.185 139)
XYZxyz(15.2128, 26.7354, 5.5209)
Luminance0.2674 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42A11D #7C1DA1
analogous
#84A11D #42A11D #1DA13A
triadic
#42A11D #1D42A1 #A11D42
tetradic
#42A11D #1D84A1 #7C1DA1 #A13A1D
square
#42A11D #1D84A1 #7C1DA1 #A13A1D
split-complementary
#42A11D #3A1DA1 #A11D84
monochromatic
#17390A #2D6D14 #42A11D #57D526 #7EE158

Accessibility & contrast

On white

3.31
#42A11D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.35
#42A11D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #42A11D
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42A11D#FFFFFF#000000##000000
##42A11D1.003.316.356.35
#FFFFFF3.311.0021.0021.00
#0000006.3521.001.001.00
##0000006.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69200
Deuteranopia (green-blind)
#9A8A2D
Tritanopia (blue-blind)
#379B89
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #42a11d;
/* rgb */ color: rgb(66, 161, 29);
/* oklch */ color: oklch(62.8% 0.185 139.0);
Tailwind
colors: {
  custom: {
    50: '#82be65',
    500: '#42a11d',
    950: '#000000',
  },
}
SCSS
$custom: #42a11d;
$custom-light: #82be65;
$custom-dark: #000000;
JSON
{
  "hex": "#42a11d",
  "rgb": {
    "r": 66,
    "g": 161,
    "b": 29
  },
  "hsl": {
    "h": 103.182,
    "s": 69.474,
    "l": 37.255
  },
  "oklch": {
    "l": 0.62752,
    "c": 0.18493,
    "h": 139
  },
  "luminance": 0.26737
}

Semantic roles & 50–950 ramp

primary
#42A11D
secondary
#A555C4
accent
#3CECBB
background
#F8FBF6
surface
#F0F7EB
border
#CBD0C6
text
#0C1206
muted
#7D817A

Preview Lab

Preview with #42A11D

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

Preview Lab → · Contrast checker → · Palette generator →

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