#42AE1E#42AE1E

#42AE1E is a light, vivid green. Relative luminance 0.315; OKLCH L 66.2% C 0.199 H 139.7°. Best body text is #000000 at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#42AE1E
RGBrgb(66, 174, 30)
HSLhsl(105, 71%, 40%)
HSVhsv(105, 83%, 68%)
CMYKcmyk(62.1%, 0%, 82.8%, 31.8%)
CIE-LABlab(62.95, -55.21, 58.42)
CIE-LCHlch(62.95, 80.38, 133.38°)
OKLaboklab(66.24% -0.1518 0.129)
OKLCHoklch(66.24% 0.199 139.7)
XYZxyz(17.6164, 31.5224, 6.3841)
Luminance0.3152 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42AE1E #8A1EAE
analogous
#8AAE1E #42AE1E #1EAE42
triadic
#42AE1E #1E42AE #AE1E42
tetradic
#42AE1E #1E8AAE #8A1EAE #AE421E
square
#42AE1E #1E8AAE #8A1EAE #AE421E
split-complementary
#42AE1E #421EAE #AE1E8A
monochromatic
#1A460C #2E7A15 #42AE1E #59DB2E #83E462

Accessibility & contrast

On white

2.87
#42AE1E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.30
#42AE1E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42AE1E
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42AE1E#FFFFFF#000000##000000
##42AE1E1.002.877.307.30
#FFFFFF2.871.0021.0021.00
#0000007.3021.001.001.00
##0000007.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39E00
Deuteranopia (green-blind)
#A69530
Tritanopia (blue-blind)
#33A894
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #42ae1e;
/* rgb */ color: rgb(66, 174, 30);
/* oklch */ color: oklch(66.2% 0.199 139.7);
Tailwind
colors: {
  custom: {
    50: '#84c768',
    500: '#42ae1e',
    950: '#000000',
  },
}
SCSS
$custom: #42ae1e;
$custom-light: #84c768;
$custom-dark: #000000;
JSON
{
  "hex": "#42ae1e",
  "rgb": {
    "r": 66,
    "g": 174,
    "b": 30
  },
  "hsl": {
    "h": 105,
    "s": 70.588,
    "l": 40
  },
  "oklch": {
    "l": 0.66242,
    "c": 0.19921,
    "h": 139.7
  },
  "luminance": 0.31524
}

Semantic roles & 50–950 ramp

primary
#42AE1E
secondary
#AE5FC9
accent
#3AEDC1
background
#F8FCF6
surface
#F0F8EB
border
#CBD1C6
text
#0C1307
muted
#7D827A

Preview Lab

Preview with #42AE1E

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

Preview Lab → · Contrast checker → · Palette generator →

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