#428128#428128

#428128 is a mid, vivid green. Relative luminance 0.170; OKLCH L 54.2% C 0.139 H 138.0°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#428128
RGBrgb(66, 129, 40)
HSLhsl(102, 53%, 33%)
HSVhsv(102, 69%, 51%)
CMYKcmyk(48.8%, 0%, 69%, 49.4%)
CIE-LABlab(48.27, -37.29, 40.47)
CIE-LCHlch(48.27, 55.03, 132.66°)
OKLaboklab(54.16% -0.1029 0.0928)
OKLCHoklch(54.16% 0.139 138)
XYZxyz(10.4797, 17.0113, 4.7384)
Luminance0.1701 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#428128 #672881
analogous
#6E8128 #428128 #28813A
triadic
#428128 #284281 #812842
tetradic
#428128 #286E81 #672881 #813A28
square
#428128 #286E81 #672881 #813A28
split-complementary
#428128 #3A2881 #81286E
monochromatic
#12240B #2A521A #428128 #5AB036 #7ACB58

Accessibility & contrast

On white

4.77
#428128 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#428128 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #428128
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##428128#FFFFFF#000000##FFFFFF
##4281281.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#85761C
Deuteranopia (green-blind)
#7D7130
Tritanopia (blue-blind)
#3E7C6F
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #428128;
/* rgb */ color: rgb(66, 129, 40);
/* oklch */ color: oklch(54.2% 0.139 138.0);
Tailwind
colors: {
  custom: {
    50: '#7ca667',
    500: '#428128',
    950: '#000000',
  },
}
SCSS
$custom: #428128;
$custom-light: #7ca667;
$custom-dark: #000000;
JSON
{
  "hex": "#428128",
  "rgb": {
    "r": 66,
    "g": 129,
    "b": 40
  },
  "hsl": {
    "h": 102.472,
    "s": 52.663,
    "l": 33.137
  },
  "oklch": {
    "l": 0.5416,
    "c": 0.13861,
    "h": 138
  },
  "luminance": 0.17012
}

Semantic roles & 50–950 ramp

primary
#428128
secondary
#9554B0
accent
#4CDCB2
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A0F06
muted
#7C7F7A

Preview Lab

Preview with #428128

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

Preview Lab → · Contrast checker → · Palette generator →

#428128 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva