#42AB47#42AB47

#42AB47 is a light, vivid green. Relative luminance 0.307; OKLCH L 65.8% C 0.169 H 144.1°. Best body text is #000000 at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#42AB47
RGBrgb(66, 171, 71)
HSLhsl(123, 44%, 46%)
HSVhsv(123, 61%, 67%)
CMYKcmyk(61.4%, 0%, 58.5%, 32.9%)
CIE-LABlab(62.29, -50.59, 41.98)
CIE-LCHlch(62.29, 65.74, 140.32°)
OKLaboklab(65.79% -0.1372 0.0993)
OKLCHoklch(65.79% 0.169 144.1)
XYZxyz(17.9459, 30.7373, 10.9472)
Luminance0.3074 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42AB47 #AB42A6
analogous
#72AB42 #42AB47 #42AB7C
triadic
#42AB47 #4742AB #AB4742
tetradic
#42AB47 #4272AB #AB42A6 #AB7C42
square
#42AB47 #4272AB #AB42A6 #AB7C42
split-complementary
#42AB47 #7C42AB #AB4272
monochromatic
#205322 #317F35 #42AB47 #66C46B #92D596

Accessibility & contrast

On white

2.94
#42AB47 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.15
#42AB47 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42AB47
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42AB47#FFFFFF#000000##000000
##42AB471.002.947.157.15
#FFFFFF2.941.0021.0021.00
#0000007.1521.001.001.00
##0000007.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9C3D
Deuteranopia (green-blind)
#A1934F
Tritanopia (blue-blind)
#2DA795
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #42ab47;
/* rgb */ color: rgb(66, 171, 71);
/* oklch */ color: oklch(65.8% 0.169 144.1);
Tailwind
colors: {
  custom: {
    50: '#82c57d',
    500: '#42ab47',
    950: '#000000',
  },
}
SCSS
$custom: #42ab47;
$custom-light: #82c57d;
$custom-dark: #000000;
JSON
{
  "hex": "#42ab47",
  "rgb": {
    "r": 66,
    "g": 171,
    "b": 71
  },
  "hsl": {
    "h": 122.857,
    "s": 44.304,
    "l": 46.471
  },
  "oklch": {
    "l": 0.65794,
    "c": 0.16936,
    "h": 144.1
  },
  "luminance": 0.30739
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #42AB47

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

Preview Lab → · Contrast checker → · Palette generator →

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