#42A224#42A224

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

Color values

HEX#42A224
RGBrgb(66, 162, 36)
HSLhsl(106, 64%, 39%)
HSVhsv(106, 78%, 64%)
CMYKcmyk(59.3%, 0%, 77.8%, 36.5%)
CIE-LABlab(59.09, -50.58, 52.99)
CIE-LCHlch(59.09, 73.25, 133.67°)
OKLaboklab(63.06% -0.1391 0.1185)
OKLCHoklch(63.06% 0.183 139.6)
XYZxyz(15.4849, 27.1249, 6.0883)
Luminance0.2713 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42A224 #8424A2
analogous
#81A224 #42A224 #24A245
triadic
#42A224 #2442A2 #A22442
tetradic
#42A224 #2481A2 #8424A2 #A24524
square
#42A224 #2481A2 #8424A2 #A24524
split-complementary
#42A224 #4524A2 #A22481
monochromatic
#193E0E #2E7019 #42A224 #58D132 #81DD64

Accessibility & contrast

On white

3.27
#42A224 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##42A224#FFFFFF#000000##000000
##42A2241.003.276.436.43
#FFFFFF3.271.0021.0021.00
#0000006.4321.001.001.00
##0000006.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79303
Deuteranopia (green-blind)
#9B8B32
Tritanopia (blue-blind)
#369C8A
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #42a224;
/* rgb */ color: rgb(66, 162, 36);
/* oklch */ color: oklch(63.1% 0.183 139.6);
Tailwind
colors: {
  custom: {
    50: '#82be69',
    500: '#42a224',
    950: '#000000',
  },
}
SCSS
$custom: #42a224;
$custom-light: #82be69;
$custom-dark: #000000;
JSON
{
  "hex": "#42a224",
  "rgb": {
    "r": 66,
    "g": 162,
    "b": 36
  },
  "hsl": {
    "h": 105.714,
    "s": 63.636,
    "l": 38.824
  },
  "oklch": {
    "l": 0.63062,
    "c": 0.1827,
    "h": 139.6
  },
  "luminance": 0.27126
}

Semantic roles & 50–950 ramp

primary
#42A224
secondary
#AB60C2
accent
#41E7BF
background
#F8FBF6
surface
#F0F7EB
border
#CBD0C6
text
#0B1207
muted
#7C817A

Preview Lab

Preview with #42A224

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

Preview Lab → · Contrast checker → · Palette generator →

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