#42AB26#42AB26

#42AB26 is a light, vivid green. Relative luminance 0.304; OKLCH L 65.5% C 0.192 H 140.1°. Best body text is #000000 at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#42AB26
RGBrgb(66, 171, 38)
HSLhsl(107, 64%, 41%)
HSVhsv(107, 78%, 67%)
CMYKcmyk(61.4%, 0%, 77.8%, 32.9%)
CIE-LABlab(62.02, -53.69, 55.16)
CIE-LCHlch(62.02, 76.98, 134.23°)
OKLaboklab(65.49% -0.1474 0.1233)
OKLCHoklch(65.49% 0.192 140.1)
XYZxyz(17.1587, 30.4224, 6.8012)
Luminance0.3042 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42AB26 #8F26AB
analogous
#84AB26 #42AB26 #26AB4C
triadic
#42AB26 #2642AB #AB2642
tetradic
#42AB26 #2684AB #8F26AB #AB4C26
square
#42AB26 #2684AB #8F26AB #AB4C26
split-complementary
#42AB26 #4C26AB #AB2684
monochromatic
#1B4710 #2F791B #42AB26 #5BD33B #85DF6D

Accessibility & contrast

On white

2.96
#42AB26 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.08
#42AB26 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42AB26
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42AB26#FFFFFF#000000##000000
##42AB261.002.967.087.08
#FFFFFF2.961.0021.0021.00
#0000007.0821.001.001.00
##0000007.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09B02
Deuteranopia (green-blind)
#A39335
Tritanopia (blue-blind)
#33A592
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #42ab26;
/* rgb */ color: rgb(66, 171, 38);
/* oklch */ color: oklch(65.5% 0.192 140.1);
Tailwind
colors: {
  custom: {
    50: '#83c56b',
    500: '#42ab26',
    950: '#000000',
  },
}
SCSS
$custom: #42ab26;
$custom-light: #83c56b;
$custom-dark: #000000;
JSON
{
  "hex": "#42ab26",
  "rgb": {
    "r": 66,
    "g": 171,
    "b": 38
  },
  "hsl": {
    "h": 107.368,
    "s": 63.636,
    "l": 40.98
  },
  "oklch": {
    "l": 0.65486,
    "c": 0.19212,
    "h": 140.1
  },
  "luminance": 0.30424
}

Semantic roles & 50–950 ramp

primary
#42AB26
secondary
#B168C5
accent
#41E7C4
background
#F8FCF6
surface
#F0F8EC
border
#CBD1C7
text
#0C1307
muted
#7D827A

Preview Lab

Preview with #42AB26

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

Preview Lab → · Contrast checker → · Palette generator →

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