#42A11A#42A11A

#42A11A is a light, vivid green. Relative luminance 0.267; OKLCH L 62.7% C 0.186 H 138.8°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#42A11A
RGBrgb(66, 161, 26)
HSLhsl(102, 72%, 37%)
HSVhsv(102, 84%, 63%)
CMYKcmyk(59%, 0%, 83.9%, 36.9%)
CIE-LABlab(58.72, -50.79, 55.63)
CIE-LCHlch(58.72, 75.33, 132.39°)
OKLaboklab(62.74% -0.1402 0.1226)
OKLCHoklch(62.74% 0.186 138.8)
XYZxyz(15.1775, 26.7212, 5.3350)
Luminance0.2672 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42A11A #791AA1
analogous
#86A11A #42A11A #1AA135
triadic
#42A11A #1A42A1 #A11A42
tetradic
#42A11A #1A86A1 #791AA1 #A1351A
square
#42A11A #1A86A1 #791AA1 #A1351A
split-complementary
#42A11A #351AA1 #A11A86
monochromatic
#173809 #2C6C11 #42A11A #58D623 #7DE352

Accessibility & contrast

On white

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

On black

6.34
#42A11A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #42A11A
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42A11A#FFFFFF#000000##000000
##42A11A1.003.316.346.34
#FFFFFF3.311.0021.0021.00
#0000006.3421.001.001.00
##0000006.3421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #42a11a;
/* rgb */ color: rgb(66, 161, 26);
/* oklch */ color: oklch(62.7% 0.186 138.8);
Tailwind
colors: {
  custom: {
    50: '#82be64',
    500: '#42a11a',
    950: '#000000',
  },
}
SCSS
$custom: #42a11a;
$custom-light: #82be64;
$custom-dark: #000000;
JSON
{
  "hex": "#42a11a",
  "rgb": {
    "r": 66,
    "g": 161,
    "b": 26
  },
  "hsl": {
    "h": 102.222,
    "s": 72.193,
    "l": 36.667
  },
  "oklch": {
    "l": 0.62737,
    "c": 0.18619,
    "h": 138.8
  },
  "luminance": 0.26723
}

Semantic roles & 50–950 ramp

primary
#42A11A
secondary
#A351C6
accent
#39EFB9
background
#F8FBF6
surface
#F0F7EB
border
#CBD0C6
text
#0C1206
muted
#7D817A

Preview Lab

Preview with #42A11A

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

Preview Lab → · Contrast checker → · Palette generator →

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