#42AE20#42AE20

#42AE20 is a light, vivid green. Relative luminance 0.315; OKLCH L 66.3% C 0.198 H 139.8°. Best body text is #000000 at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#42AE20
RGBrgb(66, 174, 32)
HSLhsl(106, 69%, 40%)
HSVhsv(106, 82%, 68%)
CMYKcmyk(62.1%, 0%, 81.6%, 31.8%)
CIE-LABlab(62.95, -55.10, 57.87)
CIE-LCHlch(62.95, 79.91, 133.60°)
OKLaboklab(66.25% -0.1515 0.1281)
OKLCHoklch(66.25% 0.198 139.8)
XYZxyz(17.6427, 31.5330, 6.5229)
Luminance0.3154 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42AE20 #8C20AE
analogous
#89AE20 #42AE20 #20AE45
triadic
#42AE20 #2042AE #AE2042
tetradic
#42AE20 #2089AE #8C20AE #AE4520
square
#42AE20 #2089AE #8C20AE #AE4520
split-complementary
#42AE20 #4520AE #AE2089
monochromatic
#1B470D #2E7A16 #42AE20 #5AD932 #84E366

Accessibility & contrast

On white

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

On black

7.31
#42AE20 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42AE20
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42AE20#FFFFFF#000000##000000
##42AE201.002.877.317.31
#FFFFFF2.871.0021.0021.00
#0000007.3121.001.001.00
##0000007.3121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #42ae20;
/* rgb */ color: rgb(66, 174, 32);
/* oklch */ color: oklch(66.3% 0.198 139.8);
Tailwind
colors: {
  custom: {
    50: '#84c769',
    500: '#42ae20',
    950: '#000000',
  },
}
SCSS
$custom: #42ae20;
$custom-light: #84c769;
$custom-dark: #000000;
JSON
{
  "hex": "#42ae20",
  "rgb": {
    "r": 66,
    "g": 174,
    "b": 32
  },
  "hsl": {
    "h": 105.634,
    "s": 68.932,
    "l": 40.392
  },
  "oklch": {
    "l": 0.66253,
    "c": 0.19837,
    "h": 139.8
  },
  "luminance": 0.31535
}

Semantic roles & 50–950 ramp

primary
#42AE20
secondary
#B062C8
accent
#3CECC2
background
#F8FCF6
surface
#F0F8EB
border
#CBD1C6
text
#0C1307
muted
#7D827A

Preview Lab

Preview with #42AE20

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

Preview Lab → · Contrast checker → · Palette generator →

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