#428F40#428F40

#428F40 is a mid, vivid green. Relative luminance 0.212; OKLCH L 58.2% C 0.138 H 143.1°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#428F40
RGBrgb(66, 143, 64)
HSLhsl(118, 38%, 41%)
HSVhsv(118, 55%, 56%)
CMYKcmyk(53.8%, 0%, 55.2%, 43.9%)
CIE-LABlab(53.14, -40.43, 34.57)
CIE-LCHlch(53.14, 53.19, 139.47°)
OKLaboklab(58.24% -0.11 0.0826)
OKLCHoklch(58.24% 0.138 143.1)
XYZxyz(12.9940, 21.1723, 8.2514)
Luminance0.2117 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#428F40 #8D408F
analogous
#698F40 #428F40 #408F65
triadic
#428F40 #40428F #8F4042
tetradic
#428F40 #40698F #8D408F #8F6540
square
#428F40 #40698F #8D408F #8F6540
split-complementary
#428F40 #65408F #8F4069
monochromatic
#1B3A1A #2E652D #428F40 #5AB458 #84C782

Accessibility & contrast

On white

4.01
#428F40 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#428F40 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #428F40
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##428F40#FFFFFF#000000##000000
##428F401.004.015.235.23
#FFFFFF4.011.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#928339
Deuteranopia (green-blind)
#887C46
Tritanopia (blue-blind)
#378B7D
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #428f40;
/* rgb */ color: rgb(66, 143, 64);
/* oklch */ color: oklch(58.2% 0.138 143.1);
Tailwind
colors: {
  custom: {
    50: '#7db077',
    500: '#428f40',
    950: '#000000',
  },
}
SCSS
$custom: #428f40;
$custom-light: #7db077;
$custom-dark: #000000;
JSON
{
  "hex": "#428f40",
  "rgb": {
    "r": 66,
    "g": 143,
    "b": 64
  },
  "hsl": {
    "h": 118.481,
    "s": 38.164,
    "l": 40.588
  },
  "oklch": {
    "l": 0.58236,
    "c": 0.13754,
    "h": 143.1
  },
  "luminance": 0.21173
}

Semantic roles & 50–950 ramp

primary
#428F40
secondary
#B079B2
accent
#5ACECB
background
#F7FAF7
surface
#EEF5ED
border
#C9CFC8
text
#0A1109
muted
#7C807B

Preview Lab

Preview with #428F40

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

Preview Lab → · Contrast checker → · Palette generator →

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