#428142#428142

#428142 is a mid, moderate green. Relative luminance 0.173; OKLCH L 54.5% C 0.115 H 143.8°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#428142
RGBrgb(66, 129, 66)
HSLhsl(120, 32%, 38%)
HSVhsv(120, 49%, 51%)
CMYKcmyk(48.8%, 0%, 48.8%, 49.4%)
CIE-LABlab(48.58, -34.09, 27.92)
CIE-LCHlch(48.58, 44.07, 140.68°)
OKLaboklab(54.5% -0.0927 0.0679)
OKLCHoklch(54.5% 0.115 143.8)
XYZxyz(11.0798, 17.2513, 7.8992)
Luminance0.1725 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#428142 #814281
analogous
#618142 #428142 #428161
triadic
#428142 #424281 #814242
tetradic
#428142 #426181 #814281 #816142
square
#428142 #426181 #814281 #816142
split-complementary
#428142 #614281 #814261
monochromatic
#193019 #2D592D #428142 #57A957 #80BE80

Accessibility & contrast

On white

4.72
#428142 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#428142 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #428142
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##428142#FFFFFF#000000##FFFFFF
##4281421.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#83773D
Deuteranopia (green-blind)
#7B7146
Tritanopia (blue-blind)
#3A7E72
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #428142;
/* rgb */ color: rgb(66, 129, 66);
/* oklch */ color: oklch(54.5% 0.115 143.8);
Tailwind
colors: {
  custom: {
    50: '#7ba677',
    500: '#428142',
    950: '#000000',
  },
}
SCSS
$custom: #428142;
$custom-light: #7ba677;
$custom-dark: #000000;
JSON
{
  "hex": "#428142",
  "rgb": {
    "r": 66,
    "g": 129,
    "b": 66
  },
  "hsl": {
    "h": 120,
    "s": 32.308,
    "l": 38.235
  },
  "oklch": {
    "l": 0.54504,
    "c": 0.11494,
    "h": 143.8
  },
  "luminance": 0.17252
}

Semantic roles & 50–950 ramp

primary
#428142
secondary
#A976A9
accent
#5FC8C8
background
#F7FAF7
surface
#EEF4ED
border
#C9CEC8
text
#0A0F09
muted
#7C7F7B

Preview Lab

Preview with #428142

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

Preview Lab → · Contrast checker → · Palette generator →

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