#42AD20#42AD20

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

Color values

HEX#42AD20
RGBrgb(66, 173, 32)
HSLhsl(106, 69%, 40%)
HSVhsv(106, 82%, 68%)
CMYKcmyk(61.8%, 0%, 81.5%, 32.2%)
CIE-LABlab(62.63, -54.75, 57.57)
CIE-LCHlch(62.63, 79.45, 133.56°)
OKLaboklab(65.99% -0.1505 0.1275)
OKLCHoklch(65.99% 0.197 139.7)
XYZxyz(17.4503, 31.1480, 6.4588)
Luminance0.3115 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42AD20 #8B20AD
analogous
#88AD20 #42AD20 #20AD45
triadic
#42AD20 #2042AD #AD2042
tetradic
#42AD20 #2088AD #8B20AD #AD4520
square
#42AD20 #2088AD #8B20AD #AD4520
split-complementary
#42AD20 #4520AD #AD2088
monochromatic
#1B460D #2E7916 #42AD20 #5AD931 #83E265

Accessibility & contrast

On white

2.90
#42AD20 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.23
#42AD20 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42AD20
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42AD20#FFFFFF#000000##000000
##42AD201.002.907.237.23
#FFFFFF2.901.0021.0021.00
#0000007.2321.001.001.00
##0000007.2321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #42ad20;
/* rgb */ color: rgb(66, 173, 32);
/* oklch */ color: oklch(66.0% 0.197 139.7);
Tailwind
colors: {
  custom: {
    50: '#84c668',
    500: '#42ad20',
    950: '#000000',
  },
}
SCSS
$custom: #42ad20;
$custom-light: #84c668;
$custom-dark: #000000;
JSON
{
  "hex": "#42ad20",
  "rgb": {
    "r": 66,
    "g": 173,
    "b": 32
  },
  "hsl": {
    "h": 105.532,
    "s": 68.78,
    "l": 40.196
  },
  "oklch": {
    "l": 0.65986,
    "c": 0.19724,
    "h": 139.7
  },
  "luminance": 0.3115
}

Semantic roles & 50–950 ramp

primary
#42AD20
secondary
#AF61C8
accent
#3CECC1
background
#F8FCF6
surface
#F0F8EB
border
#CBD1C6
text
#0C1307
muted
#7D827A

Preview Lab

Preview with #42AD20

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

Preview Lab → · Contrast checker → · Palette generator →

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