#42AC47#42AC47

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

Color values

HEX#42AC47
RGBrgb(66, 172, 71)
HSLhsl(123, 45%, 47%)
HSVhsv(123, 62%, 67%)
CMYKcmyk(61.6%, 0%, 58.7%, 32.5%)
CIE-LABlab(62.61, -50.97, 42.35)
CIE-LCHlch(62.61, 66.27, 140.28°)
OKLaboklab(66.06% -0.1382 0.1001)
OKLCHoklch(66.06% 0.171 144.1)
XYZxyz(18.1355, 31.1165, 11.0104)
Luminance0.3112 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42AC47 #AC42A7
analogous
#72AC42 #42AC47 #42AC7C
triadic
#42AC47 #4742AC #AC4742
tetradic
#42AC47 #4272AC #AC42A7 #AC7C42
square
#42AC47 #4272AC #AC42A7 #AC7C42
split-complementary
#42AC47 #7C42AC #AC4272
monochromatic
#205422 #318035 #42AC47 #67C56B #93D696

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##42AC47#FFFFFF#000000##000000
##42AC471.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)
#AF9D3D
Deuteranopia (green-blind)
#A2944F
Tritanopia (blue-blind)
#2CA896
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #42ac47;
/* rgb */ color: rgb(66, 172, 71);
/* oklch */ color: oklch(66.1% 0.171 144.1);
Tailwind
colors: {
  custom: {
    50: '#82c67d',
    500: '#42ac47',
    950: '#000000',
  },
}
SCSS
$custom: #42ac47;
$custom-light: #82c67d;
$custom-dark: #000000;
JSON
{
  "hex": "#42ac47",
  "rgb": {
    "r": 66,
    "g": 172,
    "b": 71
  },
  "hsl": {
    "h": 122.83,
    "s": 44.538,
    "l": 46.667
  },
  "oklch": {
    "l": 0.66058,
    "c": 0.17066,
    "h": 144.1
  },
  "luminance": 0.31118
}

Semantic roles & 50–950 ramp

primary
#42AC47
secondary
#C189BE
accent
#54CED4
background
#F8FCF7
surface
#F0F8EE
border
#CBD1C9
text
#0B130A
muted
#7C827C

Preview Lab

Preview with #42AC47

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

Preview Lab → · Contrast checker → · Palette generator →

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