#428B28#428B28

#428B28 is a mid, vivid green. Relative luminance 0.198; OKLCH L 56.9% C 0.152 H 138.7°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#428B28
RGBrgb(66, 139, 40)
HSLhsl(104, 55%, 35%)
HSVhsv(104, 71%, 55%)
CMYKcmyk(52.5%, 0%, 71.2%, 45.5%)
CIE-LABlab(51.58, -41.44, 43.96)
CIE-LCHlch(51.58, 60.41, 133.31°)
OKLaboklab(56.88% -0.1142 0.1002)
OKLCHoklch(56.88% 0.152 138.7)
XYZxyz(11.8619, 19.7758, 5.1991)
Luminance0.1978 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#428B28 #71288B
analogous
#748B28 #428B28 #288B3F
triadic
#428B28 #28428B #8B2842
tetradic
#428B28 #28748B #71288B #8B3F28
square
#428B28 #28748B #71288B #8B3F28
split-complementary
#428B28 #3F288B #8B2874
monochromatic
#152C0D #2B5B1A #428B28 #59BB36 #7BD05D

Accessibility & contrast

On white

4.24
#428B28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#428B28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #428B28
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##428B28#FFFFFF#000000##000000
##428B281.004.244.964.96
#FFFFFF4.241.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7F19
Deuteranopia (green-blind)
#867931
Tritanopia (blue-blind)
#3C8677
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #428b28;
/* rgb */ color: rgb(66, 139, 40);
/* oklch */ color: oklch(56.9% 0.152 138.7);
Tailwind
colors: {
  custom: {
    50: '#7ead68',
    500: '#428b28',
    950: '#000000',
  },
}
SCSS
$custom: #428b28;
$custom-light: #7ead68;
$custom-dark: #000000;
JSON
{
  "hex": "#428b28",
  "rgb": {
    "r": 66,
    "g": 139,
    "b": 40
  },
  "hsl": {
    "h": 104.242,
    "s": 55.307,
    "l": 35.098
  },
  "oklch": {
    "l": 0.5688,
    "c": 0.15189,
    "h": 138.7
  },
  "luminance": 0.19777
}

Semantic roles & 50–950 ramp

primary
#428B28
secondary
#9D59B6
accent
#49DFB7
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0A1006
muted
#7C7F7A

Preview Lab

Preview with #428B28

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

Preview Lab → · Contrast checker → · Palette generator →

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