#42AC3E#42AC3E

#42AC3E is a light, vivid green. Relative luminance 0.310; OKLCH L 66.0% C 0.178 H 142.7°. Best body text is #000000 at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#42AC3E
RGBrgb(66, 172, 62)
HSLhsl(118, 47%, 46%)
HSVhsv(118, 64%, 67%)
CMYKcmyk(61.6%, 0%, 64%, 32.5%)
CIE-LABlab(62.52, -52.00, 46.35)
CIE-LCHlch(62.52, 69.66, 138.29°)
OKLaboklab(65.96% -0.1415 0.1078)
OKLCHoklch(65.96% 0.178 142.7)
XYZxyz(17.8678, 31.0094, 9.6003)
Luminance0.3101 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42AC3E #A83EAC
analogous
#79AC3E #42AC3E #3EAC71
triadic
#42AC3E #3E42AC #AC3E42
tetradic
#42AC3E #3E79AC #A83EAC #AC713E
square
#42AC3E #3E79AC #A83EAC #AC713E
split-complementary
#42AC3E #713EAC #AC3E79
monochromatic
#1F521E #317F2E #42AC3E #65C661 #91D68E

Accessibility & contrast

On white

2.92
#42AC3E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.20
#42AC3E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42AC3E
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42AC3E#FFFFFF#000000##000000
##42AC3E1.002.927.207.20
#FFFFFF2.921.0021.0021.00
#0000007.2021.001.001.00
##0000007.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09D31
Deuteranopia (green-blind)
#A39447
Tritanopia (blue-blind)
#2FA795
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #42ac3e;
/* rgb */ color: rgb(66, 172, 62);
/* oklch */ color: oklch(66.0% 0.178 142.7);
Tailwind
colors: {
  custom: {
    50: '#82c678',
    500: '#42ac3e',
    950: '#000000',
  },
}
SCSS
$custom: #42ac3e;
$custom-light: #82c678;
$custom-dark: #000000;
JSON
{
  "hex": "#42ac3e",
  "rgb": {
    "r": 66,
    "g": 172,
    "b": 62
  },
  "hsl": {
    "h": 117.818,
    "s": 47.009,
    "l": 45.882
  },
  "oklch": {
    "l": 0.65955,
    "c": 0.17787,
    "h": 142.7
  },
  "luminance": 0.31011
}

Semantic roles & 50–950 ramp

primary
#42AC3E
secondary
#BF85C1
accent
#51D7D2
background
#F8FCF7
surface
#F0F8ED
border
#CBD1C8
text
#0C1309
muted
#7D827B

Preview Lab

Preview with #42AC3E

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

Preview Lab → · Contrast checker → · Palette generator →

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