#42AB2B#42AB2B

#42AB2B is a light, vivid green. Relative luminance 0.305; OKLCH L 65.5% C 0.189 H 140.5°. Best body text is #000000 at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#42AB2B
RGBrgb(66, 171, 43)
HSLhsl(109, 60%, 42%)
HSVhsv(109, 75%, 67%)
CMYKcmyk(61.4%, 0%, 74.9%, 32.9%)
CIE-LABlab(62.05, -53.35, 53.48)
CIE-LCHlch(62.05, 75.54, 134.93°)
OKLaboklab(65.52% -0.1462 0.1205)
OKLCHoklch(65.52% 0.189 140.5)
XYZxyz(17.2449, 30.4569, 7.2550)
Luminance0.3046 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42AB2B #942BAB
analogous
#82AB2B #42AB2B #2BAB54
triadic
#42AB2B #2B42AB #AB2B42
tetradic
#42AB2B #2B82AB #942BAB #AB542B
square
#42AB2B #2B82AB #942BAB #AB542B
split-complementary
#42AB2B #542BAB #AB2B82
monochromatic
#1C4912 #2F7A1F #42AB2B #5DD043 #87DC74

Accessibility & contrast

On white

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

On black

7.09
#42AB2B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42AB2B
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42AB2B#FFFFFF#000000##000000
##42AB2B1.002.967.097.09
#FFFFFF2.961.0021.0021.00
#0000007.0921.001.001.00
##0000007.0921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #42ab2b;
/* rgb */ color: rgb(66, 171, 43);
/* oklch */ color: oklch(65.5% 0.189 140.5);
Tailwind
colors: {
  custom: {
    50: '#83c56d',
    500: '#42ab2b',
    950: '#000000',
  },
}
SCSS
$custom: #42ab2b;
$custom-light: #83c56d;
$custom-dark: #000000;
JSON
{
  "hex": "#42ab2b",
  "rgb": {
    "r": 66,
    "g": 171,
    "b": 43
  },
  "hsl": {
    "h": 109.219,
    "s": 59.813,
    "l": 41.961
  },
  "oklch": {
    "l": 0.6552,
    "c": 0.18942,
    "h": 140.5
  },
  "luminance": 0.30458
}

Semantic roles & 50–950 ramp

primary
#42AB2B
secondary
#B46EC4
accent
#45E3C7
background
#F8FCF6
surface
#F0F8EC
border
#CBD1C7
text
#0C1307
muted
#7D827A

Preview Lab

Preview with #42AB2B

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

Preview Lab → · Contrast checker → · Palette generator →

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