#42AC2C#42AC2C

#42AC2C is a light, vivid green. Relative luminance 0.308; OKLCH L 65.8% C 0.190 H 140.6°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#42AC2C
RGBrgb(66, 172, 44)
HSLhsl(110, 59%, 42%)
HSVhsv(110, 74%, 67%)
CMYKcmyk(61.6%, 0%, 74.4%, 32.5%)
CIE-LABlab(62.38, -53.63, 53.45)
CIE-LCHlch(62.38, 75.72, 135.10°)
OKLaboklab(65.79% -0.1469 0.1206)
OKLCHoklch(65.79% 0.19 140.6)
XYZxyz(17.4531, 30.8435, 7.4160)
Luminance0.3085 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42AC2C #962CAC
analogous
#82AC2C #42AC2C #2CAC56
triadic
#42AC2C #2C42AC #AC2C42
tetradic
#42AC2C #2C82AC #962CAC #AC562C
square
#42AC2C #2C82AC #962CAC #AC562C
split-complementary
#42AC2C #562CAC #AC2C82
monochromatic
#1D4B13 #2F7B20 #42AC2C #5DD046 #88DC76

Accessibility & contrast

On white

2.93
#42AC2C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.17
#42AC2C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42AC2C
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42AC2C#FFFFFF#000000##000000
##42AC2C1.002.937.177.17
#FFFFFF2.931.0021.0021.00
#0000007.1721.001.001.00
##0000007.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19C13
Deuteranopia (green-blind)
#A49339
Tritanopia (blue-blind)
#32A693
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #42ac2c;
/* rgb */ color: rgb(66, 172, 44);
/* oklch */ color: oklch(65.8% 0.190 140.6);
Tailwind
colors: {
  custom: {
    50: '#83c66e',
    500: '#42ac2c',
    950: '#000000',
  },
}
SCSS
$custom: #42ac2c;
$custom-light: #83c66e;
$custom-dark: #000000;
JSON
{
  "hex": "#42ac2c",
  "rgb": {
    "r": 66,
    "g": 172,
    "b": 44
  },
  "hsl": {
    "h": 109.688,
    "s": 59.259,
    "l": 42.353
  },
  "oklch": {
    "l": 0.65794,
    "c": 0.19001,
    "h": 140.6
  },
  "luminance": 0.30845
}

Semantic roles & 50–950 ramp

primary
#42AC2C
secondary
#B570C4
accent
#45E2C7
background
#F8FCF6
surface
#F0F8EC
border
#CBD1C7
text
#0C1308
muted
#7D827B

Preview Lab

Preview with #42AC2C

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

Preview Lab → · Contrast checker → · Palette generator →

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