#428240#428240

#428240 is a mid, moderate green. Relative luminance 0.175; OKLCH L 54.7% C 0.118 H 143.2°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#428240
RGBrgb(66, 130, 64)
HSLhsl(118, 34%, 38%)
HSVhsv(118, 51%, 51%)
CMYKcmyk(49.2%, 0%, 50.8%, 49%)
CIE-LABlab(48.88, -34.84, 29.37)
CIE-LCHlch(48.88, 45.57, 139.87°)
OKLaboklab(54.74% -0.0948 0.071)
OKLCHoklch(54.74% 0.119 143.2)
XYZxyz(11.1543, 17.4929, 7.6382)
Luminance0.1749 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#428240 #804082
analogous
#638240 #428240 #40825F
triadic
#428240 #404282 #824042
tetradic
#428240 #406382 #804082 #825F40
square
#428240 #406382 #804082 #825F40
split-complementary
#428240 #5F4082 #824063
monochromatic
#183018 #2D592C #428240 #57AB54 #7FBF7D

Accessibility & contrast

On white

4.67
#428240 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#428240 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #428240
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##428240#FFFFFF#000000##FFFFFF
##4282401.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#85783A
Deuteranopia (green-blind)
#7C7244
Tritanopia (blue-blind)
#3A7F73
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #428240;
/* rgb */ color: rgb(66, 130, 64);
/* oklch */ color: oklch(54.7% 0.118 143.2);
Tailwind
colors: {
  custom: {
    50: '#7ba776',
    500: '#428240',
    950: '#000000',
  },
}
SCSS
$custom: #428240;
$custom-light: #7ba776;
$custom-dark: #000000;
JSON
{
  "hex": "#428240",
  "rgb": {
    "r": 66,
    "g": 130,
    "b": 64
  },
  "hsl": {
    "h": 118.182,
    "s": 34.021,
    "l": 38.039
  },
  "oklch": {
    "l": 0.5474,
    "c": 0.1185,
    "h": 143.2
  },
  "luminance": 0.17494
}

Semantic roles & 50–950 ramp

primary
#428240
secondary
#A874AA
accent
#5ECAC7
background
#F7FAF7
surface
#EEF4ED
border
#C9CEC8
text
#0A0F08
muted
#7C7F7B

Preview Lab

Preview with #428240

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

Preview Lab → · Contrast checker → · Palette generator →

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