#42AC3A#42AC3A

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

Color values

HEX#42AC3A
RGBrgb(66, 172, 58)
HSLhsl(116, 50%, 45%)
HSVhsv(116, 66%, 67%)
CMYKcmyk(61.6%, 0%, 66.3%, 32.5%)
CIE-LABlab(62.48, -52.41, 48.05)
CIE-LCHlch(62.48, 71.11, 137.49°)
OKLaboklab(65.91% -0.1428 0.111)
OKLCHoklch(65.91% 0.181 142.1)
XYZxyz(17.7621, 30.9671, 9.0434)
Luminance0.3097 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42AC3A #A43AAC
analogous
#7BAC3A #42AC3A #3AAC6B
triadic
#42AC3A #3A42AC #AC3A42
tetradic
#42AC3A #3A7BAC #A43AAC #AC6B3A
square
#42AC3A #3A7BAC #A43AAC #AC6B3A
split-complementary
#42AC3A #6B3AAC #AC3A7B
monochromatic
#1F501B #307E2B #42AC3A #63C85B #8FD789

Accessibility & contrast

On white

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

On black

7.19
#42AC3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42AC3A
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42AC3A#FFFFFF#000000##000000
##42AC3A1.002.927.197.19
#FFFFFF2.921.0021.0021.00
#0000007.1921.001.001.00
##0000007.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09D2B
Deuteranopia (green-blind)
#A39444
Tritanopia (blue-blind)
#30A794
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #42ac3a;
/* rgb */ color: rgb(66, 172, 58);
/* oklch */ color: oklch(65.9% 0.181 142.1);
Tailwind
colors: {
  custom: {
    50: '#83c675',
    500: '#42ac3a',
    950: '#000000',
  },
}
SCSS
$custom: #42ac3a;
$custom-light: #83c675;
$custom-dark: #000000;
JSON
{
  "hex": "#42ac3a",
  "rgb": {
    "r": 66,
    "g": 172,
    "b": 58
  },
  "hsl": {
    "h": 115.789,
    "s": 49.565,
    "l": 45.098
  },
  "oklch": {
    "l": 0.65914,
    "c": 0.18085,
    "h": 142.1
  },
  "luminance": 0.30969
}

Semantic roles & 50–950 ramp

primary
#42AC3A
secondary
#BD80C2
accent
#4FD9CF
background
#F8FCF7
surface
#F0F8ED
border
#CBD1C8
text
#0C1309
muted
#7D827B

Preview Lab

Preview with #42AC3A

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

Preview Lab → · Contrast checker → · Palette generator →

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