#42A422#42A422

#42A422 is a light, vivid green. Relative luminance 0.278; OKLCH L 63.6% C 0.186 H 139.5°. Best body text is #000000 at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#42A422
RGBrgb(66, 164, 34)
HSLhsl(105, 66%, 39%)
HSVhsv(105, 79%, 64%)
CMYKcmyk(59.8%, 0%, 79.3%, 35.7%)
CIE-LABlab(59.73, -51.43, 54.25)
CIE-LCHlch(59.73, 74.75, 133.48°)
OKLaboklab(63.59% -0.1415 0.1208)
OKLCHoklch(63.59% 0.186 139.5)
XYZxyz(15.8103, 27.8232, 6.0503)
Luminance0.2782 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42A422 #8422A4
analogous
#83A422 #42A422 #22A443
triadic
#42A422 #2242A4 #A42242
tetradic
#42A422 #2283A4 #8422A4 #A44322
square
#42A422 #2283A4 #8422A4 #A44322
split-complementary
#42A422 #4322A4 #A42283
monochromatic
#193F0D #2E7117 #42A422 #58D42F #81DE62

Accessibility & contrast

On white

3.20
#42A422 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.57
#42A422 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #42A422
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42A422#FFFFFF#000000##000000
##42A4221.003.206.576.57
#FFFFFF3.201.0021.0021.00
#0000006.5721.001.001.00
##0000006.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99500
Deuteranopia (green-blind)
#9D8D31
Tritanopia (blue-blind)
#369E8C
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #42a422;
/* rgb */ color: rgb(66, 164, 34);
/* oklch */ color: oklch(63.6% 0.186 139.5);
Tailwind
colors: {
  custom: {
    50: '#82c068',
    500: '#42a422',
    950: '#000000',
  },
}
SCSS
$custom: #42a422;
$custom-light: #82c068;
$custom-dark: #000000;
JSON
{
  "hex": "#42a422",
  "rgb": {
    "r": 66,
    "g": 164,
    "b": 34
  },
  "hsl": {
    "h": 105.231,
    "s": 65.657,
    "l": 38.824
  },
  "oklch": {
    "l": 0.63587,
    "c": 0.18605,
    "h": 139.5
  },
  "luminance": 0.27825
}

Semantic roles & 50–950 ramp

primary
#42A422
secondary
#AB5EC4
accent
#3FE9BF
background
#F8FBF6
surface
#F0F7EB
border
#CBD0C6
text
#0C1207
muted
#7D817A

Preview Lab

Preview with #42A422

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

Preview Lab → · Contrast checker → · Palette generator →

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