#42AC46#42AC46

#42AC46 is a light, vivid green. Relative luminance 0.311; OKLCH L 66.0% C 0.171 H 143.9°. Best body text is #000000 at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#42AC46
RGBrgb(66, 172, 70)
HSLhsl(122, 45%, 47%)
HSVhsv(122, 62%, 67%)
CMYKcmyk(61.6%, 0%, 59.3%, 32.5%)
CIE-LABlab(62.60, -51.09, 42.81)
CIE-LCHlch(62.60, 66.65, 140.04°)
OKLaboklab(66.05% -0.1386 0.101)
OKLCHoklch(66.05% 0.171 143.9)
XYZxyz(18.1037, 31.1038, 10.8427)
Luminance0.3110 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42AC46 #AC42A8
analogous
#73AC42 #42AC46 #42AC7B
triadic
#42AC46 #4642AC #AC4642
tetradic
#42AC46 #4273AC #AC42A8 #AC7B42
square
#42AC46 #4273AC #AC42A8 #AC7B42
split-complementary
#42AC46 #7B42AC #AC4273
monochromatic
#205422 #318034 #42AC46 #67C56A #93D695

Accessibility & contrast

On white

2.91
#42AC46 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.22
#42AC46 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42AC46
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42AC46#FFFFFF#000000##000000
##42AC461.002.917.227.22
#FFFFFF2.911.0021.0021.00
#0000007.2221.001.001.00
##0000007.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9D3B
Deuteranopia (green-blind)
#A2944E
Tritanopia (blue-blind)
#2DA796
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #42ac46;
/* rgb */ color: rgb(66, 172, 70);
/* oklch */ color: oklch(66.0% 0.171 143.9);
Tailwind
colors: {
  custom: {
    50: '#82c67d',
    500: '#42ac46',
    950: '#000000',
  },
}
SCSS
$custom: #42ac46;
$custom-light: #82c67d;
$custom-dark: #000000;
JSON
{
  "hex": "#42ac46",
  "rgb": {
    "r": 66,
    "g": 172,
    "b": 70
  },
  "hsl": {
    "h": 122.264,
    "s": 44.538,
    "l": 46.667
  },
  "oklch": {
    "l": 0.66046,
    "c": 0.17148,
    "h": 143.9
  },
  "luminance": 0.31105
}

Semantic roles & 50–950 ramp

primary
#42AC46
secondary
#C189BF
accent
#54CFD4
background
#F8FCF7
surface
#F0F8EE
border
#CBD1C9
text
#0B130A
muted
#7C827C

Preview Lab

Preview with #42AC46

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

Preview Lab → · Contrast checker → · Palette generator →

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