#42A048#42A048

#42A048 is a light, vivid green. Relative luminance 0.268; OKLCH L 62.9% C 0.154 H 144.6°. Best body text is #000000 at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#42A048
RGBrgb(66, 160, 72)
HSLhsl(124, 42%, 44%)
HSVhsv(124, 59%, 63%)
CMYKcmyk(58.8%, 0%, 55%, 37.3%)
CIE-LABlab(58.76, -46.23, 37.31)
CIE-LCHlch(58.76, 59.41, 141.09°)
OKLaboklab(62.89% -0.1254 0.0892)
OKLCHoklch(62.89% 0.154 144.6)
XYZxyz(15.9863, 26.7663, 10.4536)
Luminance0.2677 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42A048 #A0429A
analogous
#6BA042 #42A048 #42A077
triadic
#42A048 #4842A0 #A04842
tetradic
#42A048 #426BA0 #A0429A #A07742
square
#42A048 #426BA0 #A0429A #A07742
split-complementary
#42A048 #7742A0 #A0426B
monochromatic
#1E4921 #307535 #42A048 #61BE67 #8DD091

Accessibility & contrast

On white

3.31
#42A048 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.35
#42A048 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #42A048
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42A048#FFFFFF#000000##000000
##42A0481.003.316.356.35
#FFFFFF3.311.0021.0021.00
#0000006.3521.001.001.00
##0000006.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A39240
Deuteranopia (green-blind)
#978A4F
Tritanopia (blue-blind)
#309C8C
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #42a048;
/* rgb */ color: rgb(66, 160, 72);
/* oklch */ color: oklch(62.9% 0.154 144.6);
Tailwind
colors: {
  custom: {
    50: '#80bd7d',
    500: '#42a048',
    950: '#000000',
  },
}
SCSS
$custom: #42a048;
$custom-light: #80bd7d;
$custom-dark: #000000;
JSON
{
  "hex": "#42a048",
  "rgb": {
    "r": 66,
    "g": 160,
    "b": 72
  },
  "hsl": {
    "h": 123.83,
    "s": 41.593,
    "l": 44.314
  },
  "oklch": {
    "l": 0.6289,
    "c": 0.15385,
    "h": 144.6
  },
  "luminance": 0.26768
}

Semantic roles & 50–950 ramp

primary
#42A048
secondary
#BB83B7
accent
#56CAD1
background
#F8FBF7
surface
#EFF7EE
border
#CAD0C9
text
#0B120A
muted
#7C817C

Preview Lab

Preview with #42A048

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

Preview Lab → · Contrast checker → · Palette generator →

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