#42AD1A#42AD1A

#42AD1A is a light, vivid green. Relative luminance 0.311; OKLCH L 66.0% C 0.200 H 139.4°. Best body text is #000000 at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#42AD1A
RGBrgb(66, 173, 26)
HSLhsl(104, 74%, 39%)
HSVhsv(104, 85%, 68%)
CMYKcmyk(61.8%, 0%, 85%, 32.2%)
CIE-LABlab(62.61, -55.05, 59.14)
CIE-LCHlch(62.61, 80.79, 132.95°)
OKLaboklab(65.96% -0.1516 0.1299)
OKLCHoklch(65.96% 0.2 139.4)
XYZxyz(17.3760, 31.1183, 6.0678)
Luminance0.3112 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42AD1A #851AAD
analogous
#8CAD1A #42AD1A #1AAD3B
triadic
#42AD1A #1A42AD #AD1A42
tetradic
#42AD1A #1A8CAD #851AAD #AD3B1A
square
#42AD1A #1A8CAD #851AAD #AD3B1A
split-complementary
#42AD1A #3B1AAD #AD1A8C
monochromatic
#19430A #2E7812 #42AD1A #58DE26 #81E65B

Accessibility & contrast

On white

2.91
#42AD1A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.22
#42AD1A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42AD1A
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42AD1A#FFFFFF#000000##000000
##42AD1A1.002.917.227.22
#FFFFFF2.911.0021.0021.00
#0000007.2221.001.001.00
##0000007.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29D00
Deuteranopia (green-blind)
#A5942E
Tritanopia (blue-blind)
#34A793
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #42ad1a;
/* rgb */ color: rgb(66, 173, 26);
/* oklch */ color: oklch(66.0% 0.200 139.4);
Tailwind
colors: {
  custom: {
    50: '#84c666',
    500: '#42ad1a',
    950: '#000000',
  },
}
SCSS
$custom: #42ad1a;
$custom-light: #84c666;
$custom-dark: #000000;
JSON
{
  "hex": "#42ad1a",
  "rgb": {
    "r": 66,
    "g": 173,
    "b": 26
  },
  "hsl": {
    "h": 103.673,
    "s": 73.869,
    "l": 39.02
  },
  "oklch": {
    "l": 0.65957,
    "c": 0.19965,
    "h": 139.4
  },
  "luminance": 0.3112
}

Semantic roles & 50–950 ramp

primary
#42AD1A
secondary
#AB59CA
accent
#37F1BE
background
#F8FCF6
surface
#F0F8EB
border
#CBD1C6
text
#0C1307
muted
#7D827A

Preview Lab

Preview with #42AD1A

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

Preview Lab → · Contrast checker → · Palette generator →

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