#42A548#42A548

#42A548 is a light, vivid green. Relative luminance 0.285; OKLCH L 64.2% C 0.161 H 144.4°. Best body text is #000000 at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#42A548
RGBrgb(66, 165, 72)
HSLhsl(124, 43%, 45%)
HSVhsv(124, 60%, 65%)
CMYKcmyk(60%, 0%, 56.4%, 35.3%)
CIE-LABlab(60.37, -48.18, 39.24)
CIE-LCHlch(60.37, 62.14, 140.84°)
OKLaboklab(64.22% -0.1306 0.0934)
OKLCHoklch(64.22% 0.161 144.4)
XYZxyz(16.8706, 28.5348, 10.7484)
Luminance0.2854 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42A548 #A5429F
analogous
#6EA542 #42A548 #42A579
triadic
#42A548 #4842A5 #A54842
tetradic
#42A548 #426EA5 #A5429F #A57942
square
#42A548 #426EA5 #A5429F #A57942
split-complementary
#42A548 #7942A5 #A5426E
monochromatic
#1F4E22 #317935 #42A548 #63C169 #8FD293

Accessibility & contrast

On white

3.13
#42A548 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.71
#42A548 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #42A548
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42A548#FFFFFF#000000##000000
##42A5481.003.136.716.71
#FFFFFF3.131.0021.0021.00
#0000006.7121.001.001.00
##0000006.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A8973F
Deuteranopia (green-blind)
#9B8E4F
Tritanopia (blue-blind)
#2FA190
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #42a548;
/* rgb */ color: rgb(66, 165, 72);
/* oklch */ color: oklch(64.2% 0.161 144.4);
Tailwind
colors: {
  custom: {
    50: '#81c07d',
    500: '#42a548',
    950: '#000000',
  },
}
SCSS
$custom: #42a548;
$custom-light: #81c07d;
$custom-dark: #000000;
JSON
{
  "hex": "#42a548",
  "rgb": {
    "r": 66,
    "g": 165,
    "b": 72
  },
  "hsl": {
    "h": 123.636,
    "s": 42.857,
    "l": 45.294
  },
  "oklch": {
    "l": 0.64217,
    "c": 0.16059,
    "h": 144.4
  },
  "luminance": 0.28536
}

Semantic roles & 50–950 ramp

primary
#42A548
secondary
#BD85BA
accent
#55CBD3
background
#F8FBF7
surface
#EFF7EE
border
#CAD0C9
text
#0B120A
muted
#7C817C

Preview Lab

Preview with #42A548

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

Preview Lab → · Contrast checker → · Palette generator →

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