#42A01A#42A01A

#42A01A is a light, vivid green. Relative luminance 0.264; OKLCH L 62.5% C 0.185 H 138.8°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#42A01A
RGBrgb(66, 160, 26)
HSLhsl(102, 72%, 36%)
HSVhsv(102, 84%, 63%)
CMYKcmyk(58.8%, 0%, 83.8%, 37.3%)
CIE-LABlab(58.39, -50.42, 55.34)
CIE-LCHlch(58.39, 74.87, 132.34°)
OKLaboklab(62.47% -0.1392 0.1219)
OKLCHoklch(62.47% 0.185 138.8)
XYZxyz(15.0034, 26.3731, 5.2770)
Luminance0.2637 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42A01A #781AA0
analogous
#85A01A #42A01A #1AA035
triadic
#42A01A #1A42A0 #A01A42
tetradic
#42A01A #1A85A0 #781AA0 #A0351A
square
#42A01A #1A85A0 #781AA0 #A0351A
split-complementary
#42A01A #351AA0 #A01A85
monochromatic
#173709 #2C6B11 #42A01A #58D523 #7DE352

Accessibility & contrast

On white

3.35
#42A01A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.27
#42A01A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #42A01A
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42A01A#FFFFFF#000000##000000
##42A01A1.003.356.276.27
#FFFFFF3.351.0021.0021.00
#0000006.2721.001.001.00
##0000006.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59100
Deuteranopia (green-blind)
#998A2B
Tritanopia (blue-blind)
#389A88
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #42a01a;
/* rgb */ color: rgb(66, 160, 26);
/* oklch */ color: oklch(62.5% 0.185 138.8);
Tailwind
colors: {
  custom: {
    50: '#82bd64',
    500: '#42a01a',
    950: '#000000',
  },
}
SCSS
$custom: #42a01a;
$custom-light: #82bd64;
$custom-dark: #000000;
JSON
{
  "hex": "#42a01a",
  "rgb": {
    "r": 66,
    "g": 160,
    "b": 26
  },
  "hsl": {
    "h": 102.09,
    "s": 72.043,
    "l": 36.471
  },
  "oklch": {
    "l": 0.62468,
    "c": 0.18505,
    "h": 138.8
  },
  "luminance": 0.26374
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #42A01A

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

Preview Lab → · Contrast checker → · Palette generator →

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