#42A22B#42A22B

#42A22B is a light, vivid green. Relative luminance 0.272; OKLCH L 63.1% C 0.179 H 140.2°. Best body text is #000000 at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#42A22B
RGBrgb(66, 162, 43)
HSLhsl(108, 58%, 40%)
HSVhsv(108, 73%, 64%)
CMYKcmyk(59.3%, 0%, 73.5%, 36.5%)
CIE-LABlab(59.13, -50.08, 50.55)
CIE-LCHlch(59.13, 71.16, 134.73°)
OKLaboklab(63.11% -0.1373 0.1144)
OKLCHoklch(63.11% 0.179 140.2)
XYZxyz(15.6024, 27.1719, 6.7075)
Luminance0.2717 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42A22B #8B2BA2
analogous
#7EA22B #42A22B #2BA24F
triadic
#42A22B #2B42A2 #A22B42
tetradic
#42A22B #2B7EA2 #8B2BA2 #A24F2B
square
#42A22B #2B7EA2 #8B2BA2 #A24F2B
split-complementary
#42A22B #4F2BA2 #A22B7E
monochromatic
#1B4111 #2E721E #42A22B #5ACC3E #83D96F

Accessibility & contrast

On white

3.26
#42A22B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.43
#42A22B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #42A22B
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42A22B#FFFFFF#000000##000000
##42A22B1.003.266.436.43
#FFFFFF3.261.0021.0021.00
#0000006.4321.001.001.00
##0000006.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69316
Deuteranopia (green-blind)
#9B8B37
Tritanopia (blue-blind)
#369D8B
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #42a22b;
/* rgb */ color: rgb(66, 162, 43);
/* oklch */ color: oklch(63.1% 0.179 140.2);
Tailwind
colors: {
  custom: {
    50: '#81be6c',
    500: '#42a22b',
    950: '#000000',
  },
}
SCSS
$custom: #42a22b;
$custom-light: #81be6c;
$custom-dark: #000000;
JSON
{
  "hex": "#42a22b",
  "rgb": {
    "r": 66,
    "g": 162,
    "b": 43
  },
  "hsl": {
    "h": 108.403,
    "s": 58.049,
    "l": 40.196
  },
  "oklch": {
    "l": 0.63112,
    "c": 0.17872,
    "h": 140.2
  },
  "luminance": 0.27173
}

Semantic roles & 50–950 ramp

primary
#42A22B
secondary
#AF69C0
accent
#47E1C3
background
#F8FBF6
surface
#F0F7EC
border
#CBD0C7
text
#0B1207
muted
#7C817A

Preview Lab

Preview with #42A22B

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

Preview Lab → · Contrast checker → · Palette generator →

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