#42A11E#42A11E

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

Color values

HEX#42A11E
RGBrgb(66, 161, 30)
HSLhsl(104, 69%, 37%)
HSVhsv(104, 81%, 63%)
CMYKcmyk(59%, 0%, 81.4%, 36.9%)
CIE-LABlab(58.73, -50.58, 54.53)
CIE-LCHlch(58.73, 74.38, 132.85°)
OKLaboklab(62.76% -0.1394 0.1208)
OKLCHoklch(62.76% 0.184 139.1)
XYZxyz(15.2254, 26.7404, 5.5871)
Luminance0.2674 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42A11E #7D1EA1
analogous
#84A11E #42A11E #1EA13B
triadic
#42A11E #1E42A1 #A11E42
tetradic
#42A11E #1E84A1 #7D1EA1 #A13B1E
square
#42A11E #1E84A1 #7D1EA1 #A13B1E
split-complementary
#42A11E #3B1EA1 #A11E84
monochromatic
#183A0B #2D6D14 #42A11E #57D528 #7EE059

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##42A11E#FFFFFF#000000##000000
##42A11E1.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)
#9A8A2E
Tritanopia (blue-blind)
#379B89
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #42a11e;
/* rgb */ color: rgb(66, 161, 30);
/* oklch */ color: oklch(62.8% 0.184 139.1);
Tailwind
colors: {
  custom: {
    50: '#82be66',
    500: '#42a11e',
    950: '#000000',
  },
}
SCSS
$custom: #42a11e;
$custom-light: #82be66;
$custom-dark: #000000;
JSON
{
  "hex": "#42a11e",
  "rgb": {
    "r": 66,
    "g": 161,
    "b": 30
  },
  "hsl": {
    "h": 103.511,
    "s": 68.586,
    "l": 37.451
  },
  "oklch": {
    "l": 0.62758,
    "c": 0.18448,
    "h": 139.1
  },
  "luminance": 0.26742
}

Semantic roles & 50–950 ramp

primary
#42A11E
secondary
#A657C4
accent
#3CEBBB
background
#F8FBF6
surface
#F0F7EB
border
#CBD0C6
text
#0C1206
muted
#7D817A

Preview Lab

Preview with #42A11E

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

Preview Lab → · Contrast checker → · Palette generator →

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