#428D1F#428D1F

#428D1F is a mid, vivid green. Relative luminance 0.203; OKLCH L 57.4% C 0.160 H 137.9°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#428D1F
RGBrgb(66, 141, 31)
HSLhsl(101, 64%, 34%)
HSVhsv(101, 78%, 55%)
CMYKcmyk(53.2%, 0%, 78%, 44.7%)
CIE-LABlab(52.18, -42.92, 47.99)
CIE-LCHlch(52.18, 64.38, 131.81°)
OKLaboklab(57.35% -0.1188 0.1073)
OKLCHoklch(57.35% 0.16 137.9)
XYZxyz(12.0186, 20.3060, 4.5822)
Luminance0.2031 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#428D1F #6A1F8D
analogous
#798D1F #428D1F #1F8D33
triadic
#428D1F #1F428D #8D1F42
tetradic
#428D1F #1F798D #6A1F8D #8D331F
square
#428D1F #1F798D #6A1F8D #8D331F
split-complementary
#428D1F #331F8D #8D1F79
monochromatic
#132909 #2B5B14 #428D1F #59BF2A #7AD84E

Accessibility & contrast

On white

4.15
#428D1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#428D1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #428D1F
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##428D1F#FFFFFF#000000##000000
##428D1F1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#928005
Deuteranopia (green-blind)
#887A2B
Tritanopia (blue-blind)
#3C8878
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #428d1f;
/* rgb */ color: rgb(66, 141, 31);
/* oklch */ color: oklch(57.4% 0.160 137.9);
Tailwind
colors: {
  custom: {
    50: '#7faf63',
    500: '#428d1f',
    950: '#000000',
  },
}
SCSS
$custom: #428d1f;
$custom-light: #7faf63;
$custom-dark: #000000;
JSON
{
  "hex": "#428d1f",
  "rgb": {
    "r": 66,
    "g": 141,
    "b": 31
  },
  "hsl": {
    "h": 100.909,
    "s": 63.953,
    "l": 33.725
  },
  "oklch": {
    "l": 0.57353,
    "c": 0.16006,
    "h": 137.9
  },
  "luminance": 0.20307
}

Semantic roles & 50–950 ramp

primary
#428D1F
secondary
#984DBB
accent
#41E7B2
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #428D1F

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

Preview Lab → · Contrast checker → · Palette generator →

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