#428828#428828

#428828 is a mid, vivid green. Relative luminance 0.189; OKLCH L 56.1% C 0.148 H 138.5°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#428828
RGBrgb(66, 136, 40)
HSLhsl(104, 55%, 35%)
HSVhsv(104, 71%, 53%)
CMYKcmyk(51.5%, 0%, 70.6%, 46.7%)
CIE-LABlab(50.59, -40.21, 42.93)
CIE-LCHlch(50.59, 58.82, 133.13°)
OKLaboklab(56.07% -0.1109 0.098)
OKLCHoklch(56.07% 0.148 138.5)
XYZxyz(11.4335, 18.9189, 5.0563)
Luminance0.1892 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#428828 #6E2888
analogous
#728828 #428828 #28883E
triadic
#428828 #284288 #882842
tetradic
#428828 #287288 #6E2888 #883E28
square
#428828 #287288 #6E2888 #883E28
split-complementary
#428828 #3E2888 #882872
monochromatic
#14290C #2B591A #428828 #59B736 #7BCF5B

Accessibility & contrast

On white

4.39
#428828 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#428828 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #428828
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##428828#FFFFFF#000000##000000
##4288281.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7C1A
Deuteranopia (green-blind)
#837631
Tritanopia (blue-blind)
#3C8375
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #428828;
/* rgb */ color: rgb(66, 136, 40);
/* oklch */ color: oklch(56.1% 0.148 138.5);
Tailwind
colors: {
  custom: {
    50: '#7dab67',
    500: '#428828',
    950: '#000000',
  },
}
SCSS
$custom: #428828;
$custom-light: #7dab67;
$custom-dark: #000000;
JSON
{
  "hex": "#428828",
  "rgb": {
    "r": 66,
    "g": 136,
    "b": 40
  },
  "hsl": {
    "h": 103.75,
    "s": 54.545,
    "l": 34.51
  },
  "oklch": {
    "l": 0.56065,
    "c": 0.14797,
    "h": 138.5
  },
  "luminance": 0.1892
}

Semantic roles & 50–950 ramp

primary
#428828
secondary
#9B58B4
accent
#4ADEB6
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0A1006
muted
#7C7F7A

Preview Lab

Preview with #428828

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

Preview Lab → · Contrast checker → · Palette generator →

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