#42A728#42A728

#42A728 is a light, vivid green. Relative luminance 0.289; OKLCH L 64.4% C 0.186 H 140.1°. Best body text is #000000 at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#42A728
RGBrgb(66, 167, 40)
HSLhsl(108, 61%, 41%)
HSVhsv(108, 76%, 65%)
CMYKcmyk(60.5%, 0%, 76%, 34.5%)
CIE-LABlab(60.74, -52.13, 53.23)
CIE-LCHlch(60.74, 74.51, 134.40°)
OKLaboklab(64.43% -0.143 0.1195)
OKLCHoklch(64.43% 0.186 140.1)
XYZxyz(16.4477, 28.9474, 6.7277)
Luminance0.2895 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42A728 #8D28A7
analogous
#81A728 #42A728 #28A74E
triadic
#42A728 #2842A7 #A72842
tetradic
#42A728 #2881A7 #8D28A7 #A74E28
square
#42A728 #2881A7 #8D28A7 #A74E28
split-complementary
#42A728 #4E28A7 #A72881
monochromatic
#1B4410 #2E761C #42A728 #5AD03C #84DC6D

Accessibility & contrast

On white

3.09
#42A728 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.79
#42A728 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #42A728
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42A728#FFFFFF#000000##000000
##42A7281.003.096.796.79
#FFFFFF3.091.0021.0021.00
#0000006.7921.001.001.00
##0000006.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC980C
Deuteranopia (green-blind)
#9F8F36
Tritanopia (blue-blind)
#34A18F
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #42a728;
/* rgb */ color: rgb(66, 167, 40);
/* oklch */ color: oklch(64.4% 0.186 140.1);
Tailwind
colors: {
  custom: {
    50: '#82c26b',
    500: '#42a728',
    950: '#000000',
  },
}
SCSS
$custom: #42a728;
$custom-light: #82c26b;
$custom-dark: #000000;
JSON
{
  "hex": "#42a728",
  "rgb": {
    "r": 66,
    "g": 167,
    "b": 40
  },
  "hsl": {
    "h": 107.717,
    "s": 61.353,
    "l": 40.588
  },
  "oklch": {
    "l": 0.6443,
    "c": 0.18641,
    "h": 140.1
  },
  "luminance": 0.28949
}

Semantic roles & 50–950 ramp

primary
#42A728
secondary
#B068C3
accent
#43E4C3
background
#F8FCF6
surface
#F0F8EC
border
#CBD1C7
text
#0C1207
muted
#7D817A

Preview Lab

Preview with #42A728

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

Preview Lab → · Contrast checker → · Palette generator →

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