#42AB2C#42AB2C

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

Color values

HEX#42AB2C
RGBrgb(66, 171, 44)
HSLhsl(110, 59%, 42%)
HSVhsv(110, 74%, 67%)
CMYKcmyk(61.4%, 0%, 74.3%, 32.9%)
CIE-LABlab(62.05, -53.27, 53.13)
CIE-LCHlch(62.05, 75.24, 135.08°)
OKLaboklab(65.53% -0.1459 0.1199)
OKLCHoklch(65.53% 0.189 140.6)
XYZxyz(17.2635, 30.4643, 7.3528)
Luminance0.3047 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42AB2C #952CAB
analogous
#82AB2C #42AB2C #2CAB55
triadic
#42AB2C #2C42AB #AB2C42
tetradic
#42AB2C #2C82AB #952CAB #AB552C
square
#42AB2C #2C82AB #952CAB #AB552C
split-complementary
#42AB2C #552CAB #AB2C82
monochromatic
#1C4A13 #2F7A1F #42AB2C #5DCF45 #87DC76

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##42AB2C#FFFFFF#000000##000000
##42AB2C1.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)
#B09B13
Deuteranopia (green-blind)
#A39339
Tritanopia (blue-blind)
#33A592
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #42ab2c;
/* rgb */ color: rgb(66, 171, 44);
/* oklch */ color: oklch(65.5% 0.189 140.6);
Tailwind
colors: {
  custom: {
    50: '#83c56e',
    500: '#42ab2c',
    950: '#000000',
  },
}
SCSS
$custom: #42ab2c;
$custom-light: #83c56e;
$custom-dark: #000000;
JSON
{
  "hex": "#42ab2c",
  "rgb": {
    "r": 66,
    "g": 171,
    "b": 44
  },
  "hsl": {
    "h": 109.606,
    "s": 59.07,
    "l": 42.157
  },
  "oklch": {
    "l": 0.65527,
    "c": 0.18883,
    "h": 140.6
  },
  "luminance": 0.30466
}

Semantic roles & 50–950 ramp

primary
#42AB2C
secondary
#B56FC3
accent
#46E2C7
background
#F8FCF6
surface
#F0F8EC
border
#CBD1C7
text
#0C1308
muted
#7D827B

Preview Lab

Preview with #42AB2C

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

Preview Lab → · Contrast checker → · Palette generator →

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