#42AB4E#42AB4E

#42AB4E is a light, vivid green. Relative luminance 0.308; OKLCH L 65.9% C 0.163 H 145.4°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#42AB4E
RGBrgb(66, 171, 78)
HSLhsl(127, 44%, 46%)
HSVhsv(127, 61%, 67%)
CMYKcmyk(61.4%, 0%, 54.4%, 32.9%)
CIE-LABlab(62.37, -49.68, 38.70)
CIE-LCHlch(62.37, 62.97, 142.08°)
OKLaboklab(65.89% -0.1345 0.0926)
OKLCHoklch(65.89% 0.163 145.4)
XYZxyz(18.1837, 30.8324, 12.1992)
Luminance0.3083 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42AB4E #AB429F
analogous
#6BAB42 #42AB4E #42AB83
triadic
#42AB4E #4E42AB #AB4E42
tetradic
#42AB4E #426BAB #AB429F #AB8342
square
#42AB4E #426BAB #AB429F #AB8342
split-complementary
#42AB4E #8342AB #AB426B
monochromatic
#205326 #317F3A #42AB4E #66C471 #92D59A

Accessibility & contrast

On white

2.93
#42AB4E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.17
#42AB4E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42AB4E
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42AB4E#FFFFFF#000000##000000
##42AB4E1.002.937.177.17
#FFFFFF2.931.0021.0021.00
#0000007.1721.001.001.00
##0000007.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9C45
Deuteranopia (green-blind)
#A09355
Tritanopia (blue-blind)
#2AA796
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #42ab4e;
/* rgb */ color: rgb(66, 171, 78);
/* oklch */ color: oklch(65.9% 0.163 145.4);
Tailwind
colors: {
  custom: {
    50: '#81c582',
    500: '#42ab4e',
    950: '#000000',
  },
}
SCSS
$custom: #42ab4e;
$custom-light: #81c582;
$custom-dark: #000000;
JSON
{
  "hex": "#42ab4e",
  "rgb": {
    "r": 66,
    "g": 171,
    "b": 78
  },
  "hsl": {
    "h": 126.857,
    "s": 44.304,
    "l": 46.471
  },
  "oklch": {
    "l": 0.65886,
    "c": 0.16329,
    "h": 145.4
  },
  "luminance": 0.30834
}

Semantic roles & 50–950 ramp

primary
#42AB4E
secondary
#C088BA
accent
#54C5D4
background
#F8FCF8
surface
#F0F8EF
border
#CBD1CA
text
#0B130A
muted
#7C827C

Preview Lab

Preview with #42AB4E

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

Preview Lab → · Contrast checker → · Palette generator →

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