#42A328#42A328

#42A328 is a light, vivid green. Relative luminance 0.275; OKLCH L 63.4% C 0.182 H 140.0°. Best body text is #000000 at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#42A328
RGBrgb(66, 163, 40)
HSLhsl(107, 61%, 40%)
HSVhsv(107, 75%, 64%)
CMYKcmyk(59.5%, 0%, 75.5%, 36.1%)
CIE-LABlab(59.44, -50.67, 51.95)
CIE-LCHlch(59.44, 72.57, 134.28°)
OKLaboklab(63.36% -0.1391 0.1169)
OKLCHoklch(63.36% 0.182 140)
XYZxyz(15.7263, 27.5044, 6.4872)
Luminance0.2751 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42A328 #8928A3
analogous
#80A328 #42A328 #28A34C
triadic
#42A328 #2842A3 #A32842
tetradic
#42A328 #2880A3 #8928A3 #A34C28
square
#42A328 #2880A3 #8928A3 #A34C28
split-complementary
#42A328 #4C28A3 #A32880
monochromatic
#1A4110 #2E721C #42A328 #59CF3A #82DB6B

Accessibility & contrast

On white

3.23
#42A328 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.50
#42A328 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #42A328
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42A328#FFFFFF#000000##000000
##42A3281.003.236.506.50
#FFFFFF3.231.0021.0021.00
#0000006.5021.001.001.00
##0000006.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A8940E
Deuteranopia (green-blind)
#9C8C35
Tritanopia (blue-blind)
#369E8B
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #42a328;
/* rgb */ color: rgb(66, 163, 40);
/* oklch */ color: oklch(63.4% 0.182 140.0);
Tailwind
colors: {
  custom: {
    50: '#82bf6b',
    500: '#42a328',
    950: '#000000',
  },
}
SCSS
$custom: #42a328;
$custom-light: #82bf6b;
$custom-dark: #000000;
JSON
{
  "hex": "#42a328",
  "rgb": {
    "r": 66,
    "g": 163,
    "b": 40
  },
  "hsl": {
    "h": 107.317,
    "s": 60.591,
    "l": 39.804
  },
  "oklch": {
    "l": 0.63358,
    "c": 0.18169,
    "h": 140
  },
  "luminance": 0.27506
}

Semantic roles & 50–950 ramp

primary
#42A328
secondary
#AE66C1
accent
#44E4C2
background
#F8FBF6
surface
#F0F7EC
border
#CBD0C7
text
#0B1207
muted
#7C817A

Preview Lab

Preview with #42A328

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

Preview Lab → · Contrast checker → · Palette generator →

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