#42A528#42A528

#42A528 is a light, vivid green. Relative luminance 0.282; OKLCH L 63.9% C 0.184 H 140.0°. Best body text is #000000 at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#42A528
RGBrgb(66, 165, 40)
HSLhsl(108, 61%, 40%)
HSVhsv(108, 76%, 65%)
CMYKcmyk(60%, 0%, 75.8%, 35.3%)
CIE-LABlab(60.09, -51.40, 52.59)
CIE-LCHlch(60.09, 73.54, 134.34°)
OKLaboklab(63.89% -0.1411 0.1182)
OKLCHoklch(63.89% 0.184 140)
XYZxyz(16.0842, 28.2203, 6.6065)
Luminance0.2822 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42A528 #8B28A5
analogous
#80A528 #42A528 #28A54C
triadic
#42A528 #2842A5 #A52842
tetradic
#42A528 #2880A5 #8B28A5 #A54C28
square
#42A528 #2880A5 #8B28A5 #A54C28
split-complementary
#42A528 #4C28A5 #A52880
monochromatic
#1B4210 #2E741C #42A528 #5ACF3B #83DB6C

Accessibility & contrast

On white

3.16
#42A528 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.64
#42A528 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #42A528
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42A528#FFFFFF#000000##000000
##42A5281.003.166.646.64
#FFFFFF3.161.0021.0021.00
#0000006.6421.001.001.00
##0000006.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA960D
Deuteranopia (green-blind)
#9D8E35
Tritanopia (blue-blind)
#359F8D
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #42a528;
/* rgb */ color: rgb(66, 165, 40);
/* oklch */ color: oklch(63.9% 0.184 140.0);
Tailwind
colors: {
  custom: {
    50: '#82c16b',
    500: '#42a528',
    950: '#000000',
  },
}
SCSS
$custom: #42a528;
$custom-light: #82c16b;
$custom-dark: #000000;
JSON
{
  "hex": "#42a528",
  "rgb": {
    "r": 66,
    "g": 165,
    "b": 40
  },
  "hsl": {
    "h": 107.52,
    "s": 60.976,
    "l": 40.196
  },
  "oklch": {
    "l": 0.63894,
    "c": 0.18406,
    "h": 140
  },
  "luminance": 0.28222
}

Semantic roles & 50–950 ramp

primary
#42A528
secondary
#AF67C2
accent
#44E4C3
background
#F8FBF6
surface
#F0F7EC
border
#CBD0C7
text
#0C1207
muted
#7D817A

Preview Lab

Preview with #42A528

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

Preview Lab → · Contrast checker → · Palette generator →

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