#42A226#42A226

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

Color values

HEX#42A226
RGBrgb(66, 162, 38)
HSLhsl(106, 62%, 39%)
HSVhsv(106, 77%, 64%)
CMYKcmyk(59.3%, 0%, 76.5%, 36.5%)
CIE-LABlab(59.10, -50.45, 52.32)
CIE-LCHlch(59.10, 72.68, 133.96°)
OKLaboklab(63.08% -0.1386 0.1174)
OKLCHoklch(63.08% 0.182 139.8)
XYZxyz(15.5163, 27.1375, 6.2537)
Luminance0.2714 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42A226 #8626A2
analogous
#80A226 #42A226 #26A248
triadic
#42A226 #2642A2 #A22642
tetradic
#42A226 #2680A2 #8626A2 #A24826
square
#42A226 #2680A2 #8626A2 #A24826
split-complementary
#42A226 #4826A2 #A22680
monochromatic
#1A3F0F #2E701A #42A226 #58D035 #81DB67

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##42A226#FFFFFF#000000##000000
##42A2261.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)
#A79309
Deuteranopia (green-blind)
#9B8B33
Tritanopia (blue-blind)
#369D8A
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #42a226;
/* rgb */ color: rgb(66, 162, 38);
/* oklch */ color: oklch(63.1% 0.182 139.8);
Tailwind
colors: {
  custom: {
    50: '#82be6a',
    500: '#42a226',
    950: '#000000',
  },
}
SCSS
$custom: #42a226;
$custom-light: #82be6a;
$custom-dark: #000000;
JSON
{
  "hex": "#42a226",
  "rgb": {
    "r": 66,
    "g": 162,
    "b": 38
  },
  "hsl": {
    "h": 106.452,
    "s": 62,
    "l": 39.216
  },
  "oklch": {
    "l": 0.63076,
    "c": 0.18162,
    "h": 139.8
  },
  "luminance": 0.27139
}

Semantic roles & 50–950 ramp

primary
#42A226
secondary
#AC63C1
accent
#43E5C0
background
#F8FBF6
surface
#F0F7EB
border
#CBD0C6
text
#0B1207
muted
#7C817A

Preview Lab

Preview with #42A226

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

Preview Lab → · Contrast checker → · Palette generator →

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