#42A022#42A022

#42A022 is a light, vivid green. Relative luminance 0.264; OKLCH L 62.5% C 0.181 H 139.3°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#42A022
RGBrgb(66, 160, 34)
HSLhsl(105, 65%, 38%)
HSVhsv(105, 79%, 63%)
CMYKcmyk(58.8%, 0%, 78.8%, 37.3%)
CIE-LABlab(58.43, -49.98, 53.00)
CIE-LCHlch(58.43, 72.85, 133.31°)
OKLaboklab(62.51% -0.1376 0.1182)
OKLCHoklch(62.51% 0.181 139.3)
XYZxyz(15.1057, 26.4140, 5.8155)
Luminance0.2641 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42A022 #8022A0
analogous
#81A022 #42A022 #22A041
triadic
#42A022 #2242A0 #A02242
tetradic
#42A022 #2281A0 #8022A0 #A04122
square
#42A022 #2281A0 #8022A0 #A04122
split-complementary
#42A022 #4122A0 #A02281
monochromatic
#183B0D #2D6E17 #42A022 #57D22D #7FDD5F

Accessibility & contrast

On white

3.34
#42A022 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.28
#42A022 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #42A022
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42A022#FFFFFF#000000##000000
##42A0221.003.346.286.28
#FFFFFF3.341.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59100
Deuteranopia (green-blind)
#998A30
Tritanopia (blue-blind)
#379A88
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #42a022;
/* rgb */ color: rgb(66, 160, 34);
/* oklch */ color: oklch(62.5% 0.181 139.3);
Tailwind
colors: {
  custom: {
    50: '#82bd67',
    500: '#42a022',
    950: '#000000',
  },
}
SCSS
$custom: #42a022;
$custom-light: #82bd67;
$custom-dark: #000000;
JSON
{
  "hex": "#42a022",
  "rgb": {
    "r": 66,
    "g": 160,
    "b": 34
  },
  "hsl": {
    "h": 104.762,
    "s": 64.948,
    "l": 38.039
  },
  "oklch": {
    "l": 0.62512,
    "c": 0.18139,
    "h": 139.3
  },
  "luminance": 0.26415
}

Semantic roles & 50–950 ramp

primary
#42A022
secondary
#A85CC2
accent
#40E8BD
background
#F8FBF6
surface
#F0F7EB
border
#CBD0C6
text
#0B1207
muted
#7C817A

Preview Lab

Preview with #42A022

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

Preview Lab → · Contrast checker → · Palette generator →

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