#42A722#42A722

#42A722 is a light, vivid green. Relative luminance 0.289; OKLCH L 64.4% C 0.190 H 139.6°. Best body text is #000000 at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#42A722
RGBrgb(66, 167, 34)
HSLhsl(106, 66%, 39%)
HSVhsv(106, 80%, 65%)
CMYKcmyk(60.5%, 0%, 79.6%, 34.5%)
CIE-LABlab(60.70, -52.52, 55.17)
CIE-LCHlch(60.70, 76.17, 133.59°)
OKLaboklab(64.39% -0.1444 0.1227)
OKLCHoklch(64.39% 0.19 139.6)
XYZxyz(16.3535, 28.9097, 6.2314)
Luminance0.2891 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42A722 #8722A7
analogous
#85A722 #42A722 #22A745
triadic
#42A722 #2242A7 #A72242
tetradic
#42A722 #2285A7 #8722A7 #A74522
square
#42A722 #2285A7 #8722A7 #A74522
split-complementary
#42A722 #4522A7 #A72285
monochromatic
#1A410D #2E7418 #42A722 #59D531 #82DF64

Accessibility & contrast

On white

3.10
#42A722 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.78
#42A722 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #42A722
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42A722#FFFFFF#000000##000000
##42A7221.003.106.786.78
#FFFFFF3.101.0021.0021.00
#0000006.7821.001.001.00
##0000006.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9700
Deuteranopia (green-blind)
#9F8F32
Tritanopia (blue-blind)
#35A18E
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #42a722;
/* rgb */ color: rgb(66, 167, 34);
/* oklch */ color: oklch(64.4% 0.190 139.6);
Tailwind
colors: {
  custom: {
    50: '#83c268',
    500: '#42a722',
    950: '#000000',
  },
}
SCSS
$custom: #42a722;
$custom-light: #83c268;
$custom-dark: #000000;
JSON
{
  "hex": "#42a722",
  "rgb": {
    "r": 66,
    "g": 167,
    "b": 34
  },
  "hsl": {
    "h": 105.564,
    "s": 66.169,
    "l": 39.412
  },
  "oklch": {
    "l": 0.64392,
    "c": 0.18952,
    "h": 139.6
  },
  "luminance": 0.28911
}

Semantic roles & 50–950 ramp

primary
#42A722
secondary
#AC60C5
accent
#3FE9C0
background
#F8FCF6
surface
#F0F8EB
border
#CBD1C6
text
#0C1207
muted
#7D817A

Preview Lab

Preview with #42A722

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

Preview Lab → · Contrast checker → · Palette generator →

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