#428F1F#428F1F

#428F1F is a mid, vivid green. Relative luminance 0.209; OKLCH L 57.9% C 0.163 H 138.1°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#428F1F
RGBrgb(66, 143, 31)
HSLhsl(101, 64%, 34%)
HSVhsv(101, 78%, 56%)
CMYKcmyk(53.8%, 0%, 78.3%, 43.9%)
CIE-LABlab(52.84, -43.71, 48.63)
CIE-LCHlch(52.84, 65.39, 131.95°)
OKLaboklab(57.9% -0.1209 0.1086)
OKLCHoklch(57.9% 0.163 138.1)
XYZxyz(12.3161, 20.9012, 4.6814)
Luminance0.2090 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#428F1F #6C1F8F
analogous
#7A8F1F #428F1F #1F8F34
triadic
#428F1F #1F428F #8F1F42
tetradic
#428F1F #1F7A8F #6C1F8F #8F341F
square
#428F1F #1F7A8F #6C1F8F #8F341F
split-complementary
#428F1F #341F8F #8F1F7A
monochromatic
#142A09 #2B5D14 #428F1F #59C12A #7AD94F

Accessibility & contrast

On white

4.05
#428F1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#428F1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #428F1F
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##428F1F#FFFFFF#000000##000000
##428F1F1.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#948203
Deuteranopia (green-blind)
#8A7C2B
Tritanopia (blue-blind)
#3C8A7A
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #428f1f;
/* rgb */ color: rgb(66, 143, 31);
/* oklch */ color: oklch(57.9% 0.163 138.1);
Tailwind
colors: {
  custom: {
    50: '#7fb064',
    500: '#428f1f',
    950: '#000000',
  },
}
SCSS
$custom: #428f1f;
$custom-light: #7fb064;
$custom-dark: #000000;
JSON
{
  "hex": "#428f1f",
  "rgb": {
    "r": 66,
    "g": 143,
    "b": 31
  },
  "hsl": {
    "h": 101.25,
    "s": 64.368,
    "l": 34.118
  },
  "oklch": {
    "l": 0.57897,
    "c": 0.16253,
    "h": 138.1
  },
  "luminance": 0.20902
}

Semantic roles & 50–950 ramp

primary
#428F1F
secondary
#9A4EBC
accent
#40E7B3
background
#F8FAF6
surface
#EFF5EB
border
#CACFC6
text
#0B1106
muted
#7C807A

Preview Lab

Preview with #428F1F

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

Preview Lab → · Contrast checker → · Palette generator →

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