#42AC3B#42AC3B

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

Color values

HEX#42AC3B
RGBrgb(66, 172, 59)
HSLhsl(116, 49%, 45%)
HSVhsv(116, 66%, 67%)
CMYKcmyk(61.6%, 0%, 65.7%, 32.5%)
CIE-LABlab(62.49, -52.31, 47.63)
CIE-LCHlch(62.49, 70.75, 137.68°)
OKLaboklab(65.92% -0.1425 0.1102)
OKLCHoklch(65.92% 0.18 142.3)
XYZxyz(17.7878, 30.9774, 9.1787)
Luminance0.3098 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42AC3B #A53BAC
analogous
#7BAC3B #42AC3B #3BAC6C
triadic
#42AC3B #3B42AC #AC3B42
tetradic
#42AC3B #3B7BAC #A53BAC #AC6C3B
square
#42AC3B #3B7BAC #A53BAC #AC6C3B
split-complementary
#42AC3B #6C3BAC #AC3B7B
monochromatic
#1F511C #317E2B #42AC3B #63C75D #8FD78A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##42AC3B#FFFFFF#000000##000000
##42AC3B1.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)
#B09D2D
Deuteranopia (green-blind)
#A39445
Tritanopia (blue-blind)
#2FA795
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #42ac3b;
/* rgb */ color: rgb(66, 172, 59);
/* oklch */ color: oklch(65.9% 0.180 142.3);
Tailwind
colors: {
  custom: {
    50: '#83c676',
    500: '#42ac3b',
    950: '#000000',
  },
}
SCSS
$custom: #42ac3b;
$custom-light: #83c676;
$custom-dark: #000000;
JSON
{
  "hex": "#42ac3b",
  "rgb": {
    "r": 66,
    "g": 172,
    "b": 59
  },
  "hsl": {
    "h": 116.283,
    "s": 48.918,
    "l": 45.294
  },
  "oklch": {
    "l": 0.65924,
    "c": 0.18012,
    "h": 142.3
  },
  "luminance": 0.30979
}

Semantic roles & 50–950 ramp

primary
#42AC3B
secondary
#BD81C1
accent
#4FD8D0
background
#F8FCF7
surface
#F0F8ED
border
#CBD1C8
text
#0C1309
muted
#7D827B

Preview Lab

Preview with #42AC3B

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

Preview Lab → · Contrast checker → · Palette generator →

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