#42A026#42A026

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

Color values

HEX#42A026
RGBrgb(66, 160, 38)
HSLhsl(106, 62%, 39%)
HSVhsv(106, 76%, 63%)
CMYKcmyk(58.8%, 0%, 76.3%, 37.3%)
CIE-LABlab(58.45, -49.71, 51.68)
CIE-LCHlch(58.45, 71.71, 133.89°)
OKLaboklab(62.54% -0.1366 0.116)
OKLCHoklch(62.54% 0.179 139.7)
XYZxyz(15.1668, 26.4385, 6.1372)
Luminance0.2644 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42A026 #8426A0
analogous
#7FA026 #42A026 #26A047
triadic
#42A026 #2642A0 #A02642
tetradic
#42A026 #267FA0 #8426A0 #A04726
square
#42A026 #267FA0 #8426A0 #A04726
split-complementary
#42A026 #4726A0 #A0267F
monochromatic
#193D0F #2E6F1A #42A026 #58CF34 #81DB66

Accessibility & contrast

On white

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

On black

6.29
#42A026 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #42A026
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42A026#FFFFFF#000000##000000
##42A0261.003.346.296.29
#FFFFFF3.341.0021.0021.00
#0000006.2921.001.001.00
##0000006.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A5910B
Deuteranopia (green-blind)
#998A33
Tritanopia (blue-blind)
#379B89
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #42a026;
/* rgb */ color: rgb(66, 160, 38);
/* oklch */ color: oklch(62.5% 0.179 139.7);
Tailwind
colors: {
  custom: {
    50: '#81bd69',
    500: '#42a026',
    950: '#000000',
  },
}
SCSS
$custom: #42a026;
$custom-light: #81bd69;
$custom-dark: #000000;
JSON
{
  "hex": "#42a026",
  "rgb": {
    "r": 66,
    "g": 160,
    "b": 38
  },
  "hsl": {
    "h": 106.23,
    "s": 61.616,
    "l": 38.824
  },
  "oklch": {
    "l": 0.62538,
    "c": 0.17924,
    "h": 139.7
  },
  "luminance": 0.2644
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #42A026

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

Preview Lab → · Contrast checker → · Palette generator →

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