#42A11C#42A11C

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

Color values

HEX#42A11C
RGBrgb(66, 161, 28)
HSLhsl(103, 70%, 37%)
HSVhsv(103, 83%, 63%)
CMYKcmyk(59%, 0%, 82.6%, 36.9%)
CIE-LABlab(58.72, -50.69, 55.10)
CIE-LCHlch(58.72, 74.86, 132.61°)
OKLaboklab(62.75% -0.1398 0.1217)
OKLCHoklch(62.75% 0.185 139)
XYZxyz(15.2006, 26.7305, 5.4569)
Luminance0.2673 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42A11C #7B1CA1
analogous
#85A11C #42A11C #1CA139
triadic
#42A11C #1C42A1 #A11C42
tetradic
#42A11C #1C85A1 #7B1CA1 #A1391C
square
#42A11C #1C85A1 #7B1CA1 #A1391C
split-complementary
#42A11C #391CA1 #A11C85
monochromatic
#17390A #2D6D13 #42A11C #57D525 #7EE256

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##42A11C#FFFFFF#000000##000000
##42A11C1.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)
#389B89
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #42a11c;
/* rgb */ color: rgb(66, 161, 28);
/* oklch */ color: oklch(62.7% 0.185 139.0);
Tailwind
colors: {
  custom: {
    50: '#82be65',
    500: '#42a11c',
    950: '#000000',
  },
}
SCSS
$custom: #42a11c;
$custom-light: #82be65;
$custom-dark: #000000;
JSON
{
  "hex": "#42a11c",
  "rgb": {
    "r": 66,
    "g": 161,
    "b": 28
  },
  "hsl": {
    "h": 102.857,
    "s": 70.37,
    "l": 37.059
  },
  "oklch": {
    "l": 0.62747,
    "c": 0.18536,
    "h": 139
  },
  "luminance": 0.26732
}

Semantic roles & 50–950 ramp

primary
#42A11C
secondary
#A554C5
accent
#3BEDBA
background
#F8FBF6
surface
#F0F7EB
border
#CBD0C6
text
#0C1206
muted
#7D817A

Preview Lab

Preview with #42A11C

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

Preview Lab → · Contrast checker → · Palette generator →

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