#428A1F#428A1F

#428A1F is a mid, vivid green. Relative luminance 0.194; OKLCH L 56.5% C 0.156 H 137.7°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#428A1F
RGBrgb(66, 138, 31)
HSLhsl(100, 63%, 33%)
HSVhsv(100, 78%, 54%)
CMYKcmyk(52.2%, 0%, 77.5%, 45.9%)
CIE-LABlab(51.19, -41.73, 47.02)
CIE-LCHlch(51.19, 62.87, 131.58°)
OKLaboklab(56.54% -0.1156 0.1053)
OKLCHoklch(56.54% 0.156 137.7)
XYZxyz(11.5822, 19.4333, 4.4367)
Luminance0.1943 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#428A1F #671F8A
analogous
#778A1F #428A1F #1F8A31
triadic
#428A1F #1F428A #8A1F42
tetradic
#428A1F #1F778A #671F8A #8A311F
square
#428A1F #1F778A #671F8A #8A311F
split-complementary
#428A1F #311F8A #8A1F77
monochromatic
#122609 #2A5814 #428A1F #5ABC2A #7AD74C

Accessibility & contrast

On white

4.30
#428A1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#428A1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #428A1F
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##428A1F#FFFFFF#000000##000000
##428A1F1.004.304.894.89
#FFFFFF4.301.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E07
Deuteranopia (green-blind)
#85782A
Tritanopia (blue-blind)
#3D8576
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #428a1f;
/* rgb */ color: rgb(66, 138, 31);
/* oklch */ color: oklch(56.5% 0.156 137.7);
Tailwind
colors: {
  custom: {
    50: '#7ead63',
    500: '#428a1f',
    950: '#000000',
  },
}
SCSS
$custom: #428a1f;
$custom-light: #7ead63;
$custom-dark: #000000;
JSON
{
  "hex": "#428a1f",
  "rgb": {
    "r": 66,
    "g": 138,
    "b": 31
  },
  "hsl": {
    "h": 100.374,
    "s": 63.314,
    "l": 33.137
  },
  "oklch": {
    "l": 0.56537,
    "c": 0.15632,
    "h": 137.7
  },
  "luminance": 0.19434
}

Semantic roles & 50–950 ramp

primary
#428A1F
secondary
#954BBA
accent
#41E6B0
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #428A1F

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

Preview Lab → · Contrast checker → · Palette generator →

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