#428F28#428F28

#428F28 is a mid, vivid green. Relative luminance 0.210; OKLCH L 58.0% C 0.157 H 139.0°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#428F28
RGBrgb(66, 143, 40)
HSLhsl(105, 56%, 36%)
HSVhsv(105, 72%, 56%)
CMYKcmyk(53.8%, 0%, 72%, 43.9%)
CIE-LABlab(52.90, -43.04, 45.33)
CIE-LCHlch(52.90, 62.51, 133.52°)
OKLaboklab(57.97% -0.1185 0.103)
OKLCHoklch(57.97% 0.157 139)
XYZxyz(12.4517, 20.9554, 5.3957)
Luminance0.2096 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#428F28 #75288F
analogous
#758F28 #428F28 #288F41
triadic
#428F28 #28428F #8F2842
tetradic
#428F28 #28758F #75288F #8F4128
square
#428F28 #28758F #75288F #8F4128
split-complementary
#428F28 #41288F #8F2875
monochromatic
#162F0D #2C5F1B #428F28 #58BF35 #7CD25F

Accessibility & contrast

On white

4.05
#428F28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#428F28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #428F28
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##428F28#FFFFFF#000000##000000
##428F281.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#938218
Deuteranopia (green-blind)
#897C32
Tritanopia (blue-blind)
#3B8A7B
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #428f28;
/* rgb */ color: rgb(66, 143, 40);
/* oklch */ color: oklch(58.0% 0.157 139.0);
Tailwind
colors: {
  custom: {
    50: '#7eb068',
    500: '#428f28',
    950: '#000000',
  },
}
SCSS
$custom: #428f28;
$custom-light: #7eb068;
$custom-dark: #000000;
JSON
{
  "hex": "#428f28",
  "rgb": {
    "r": 66,
    "g": 143,
    "b": 40
  },
  "hsl": {
    "h": 104.854,
    "s": 56.284,
    "l": 35.882
  },
  "oklch": {
    "l": 0.57965,
    "c": 0.15704,
    "h": 139
  },
  "luminance": 0.20956
}

Semantic roles & 50–950 ramp

primary
#428F28
secondary
#A05BB8
accent
#48E0B9
background
#F8FAF6
surface
#EFF5EB
border
#CACFC6
text
#0B1106
muted
#7C807A

Preview Lab

Preview with #428F28

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

Preview Lab → · Contrast checker → · Palette generator →

#428F28 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva