#42AA26#42AA26

#42AA26 is a light, vivid green. Relative luminance 0.300; OKLCH L 65.2% C 0.191 H 140.1°. Best body text is #000000 at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#42AA26
RGBrgb(66, 170, 38)
HSLhsl(107, 63%, 41%)
HSVhsv(107, 78%, 67%)
CMYKcmyk(61.2%, 0%, 77.6%, 33.3%)
CIE-LABlab(61.69, -53.34, 54.85)
CIE-LCHlch(61.69, 76.50, 134.20°)
OKLaboklab(65.22% -0.1464 0.1226)
OKLCHoklch(65.22% 0.191 140.1)
XYZxyz(16.9706, 30.0461, 6.7385)
Luminance0.3005 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42AA26 #8E26AA
analogous
#84AA26 #42AA26 #26AA4C
triadic
#42AA26 #2642AA #AA2642
tetradic
#42AA26 #2684AA #8E26AA #AA4C26
square
#42AA26 #2684AA #8E26AA #AA4C26
split-complementary
#42AA26 #4C26AA #AA2684
monochromatic
#1B4610 #2F781B #42AA26 #5BD33A #84DE6C

Accessibility & contrast

On white

3.00
#42AA26 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

7.01
#42AA26 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42AA26
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42AA26#FFFFFF#000000##000000
##42AA261.003.007.017.01
#FFFFFF3.001.0021.0021.00
#0000007.0121.001.001.00
##0000007.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9A03
Deuteranopia (green-blind)
#A29235
Tritanopia (blue-blind)
#34A491
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #42aa26;
/* rgb */ color: rgb(66, 170, 38);
/* oklch */ color: oklch(65.2% 0.191 140.1);
Tailwind
colors: {
  custom: {
    50: '#83c46b',
    500: '#42aa26',
    950: '#000000',
  },
}
SCSS
$custom: #42aa26;
$custom-light: #83c46b;
$custom-dark: #000000;
JSON
{
  "hex": "#42aa26",
  "rgb": {
    "r": 66,
    "g": 170,
    "b": 38
  },
  "hsl": {
    "h": 107.273,
    "s": 63.462,
    "l": 40.784
  },
  "oklch": {
    "l": 0.65219,
    "c": 0.19098,
    "h": 140.1
  },
  "luminance": 0.30048
}

Semantic roles & 50–950 ramp

primary
#42AA26
secondary
#B167C5
accent
#41E6C3
background
#F8FCF6
surface
#F0F8EC
border
#CBD1C7
text
#0C1307
muted
#7D827A

Preview Lab

Preview with #42AA26

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

Preview Lab → · Contrast checker → · Palette generator →

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