#42AE21#42AE21

#42AE21 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#42AE21
RGBrgb(66, 174, 33)
HSLhsl(106, 68%, 41%)
HSVhsv(106, 81%, 68%)
CMYKcmyk(62.1%, 0%, 81%, 31.8%)
CIE-LABlab(62.96, -55.05, 57.59)
CIE-LCHlch(62.96, 79.67, 133.71°)
OKLaboklab(66.26% -0.1513 0.1277)
OKLCHoklch(66.26% 0.198 139.8)
XYZxyz(17.6565, 31.5385, 6.5956)
Luminance0.3154 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42AE21 #8D21AE
analogous
#89AE21 #42AE21 #21AE46
triadic
#42AE21 #2142AE #AE2142
tetradic
#42AE21 #2189AE #8D21AE #AE4621
square
#42AE21 #2189AE #8D21AE #AE4621
split-complementary
#42AE21 #4621AE #AE2189
monochromatic
#1B470D #2E7B17 #42AE21 #5AD834 #84E267

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##42AE21#FFFFFF#000000##000000
##42AE211.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: #42ae21;
/* rgb */ color: rgb(66, 174, 33);
/* oklch */ color: oklch(66.3% 0.198 139.8);
Tailwind
colors: {
  custom: {
    50: '#84c769',
    500: '#42ae21',
    950: '#000000',
  },
}
SCSS
$custom: #42ae21;
$custom-light: #84c769;
$custom-dark: #000000;
JSON
{
  "hex": "#42ae21",
  "rgb": {
    "r": 66,
    "g": 174,
    "b": 33
  },
  "hsl": {
    "h": 105.957,
    "s": 68.116,
    "l": 40.588
  },
  "oklch": {
    "l": 0.66258,
    "c": 0.19793,
    "h": 139.8
  },
  "luminance": 0.3154
}

Semantic roles & 50–950 ramp

primary
#42AE21
secondary
#B063C8
accent
#3DEBC2
background
#F8FCF6
surface
#F0F8EB
border
#CBD1C6
text
#0C1307
muted
#7D827A

Preview Lab

Preview with #42AE21

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

Preview Lab → · Contrast checker → · Palette generator →

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