#428B1F#428B1F

#428B1F is a mid, vivid green. Relative luminance 0.197; OKLCH L 56.8% C 0.158 H 137.7°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#428B1F
RGBrgb(66, 139, 31)
HSLhsl(101, 64%, 33%)
HSVhsv(101, 78%, 55%)
CMYKcmyk(52.5%, 0%, 77.7%, 45.5%)
CIE-LABlab(51.52, -42.13, 47.34)
CIE-LCHlch(51.52, 63.37, 131.66°)
OKLaboklab(56.81% -0.1166 0.1059)
OKLCHoklch(56.81% 0.158 137.7)
XYZxyz(11.7263, 19.7215, 4.4848)
Luminance0.1972 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#428B1F #681F8B
analogous
#788B1F #428B1F #1F8B32
triadic
#428B1F #1F428B #8B1F42
tetradic
#428B1F #1F788B #681F8B #8B321F
square
#428B1F #1F788B #681F8B #8B321F
split-complementary
#428B1F #321F8B #8B1F78
monochromatic
#122709 #2A5914 #428B1F #5ABD2A #7AD74D

Accessibility & contrast

On white

4.25
#428B1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#428B1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #428B1F
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##428B1F#FFFFFF#000000##000000
##428B1F1.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F06
Deuteranopia (green-blind)
#86792B
Tritanopia (blue-blind)
#3D8677
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #428b1f;
/* rgb */ color: rgb(66, 139, 31);
/* oklch */ color: oklch(56.8% 0.158 137.7);
Tailwind
colors: {
  custom: {
    50: '#7ead63',
    500: '#428b1f',
    950: '#000000',
  },
}
SCSS
$custom: #428b1f;
$custom-light: #7ead63;
$custom-dark: #000000;
JSON
{
  "hex": "#428b1f",
  "rgb": {
    "r": 66,
    "g": 139,
    "b": 31
  },
  "hsl": {
    "h": 100.556,
    "s": 63.529,
    "l": 33.333
  },
  "oklch": {
    "l": 0.56809,
    "c": 0.15756,
    "h": 137.7
  },
  "luminance": 0.19722
}

Semantic roles & 50–950 ramp

primary
#428B1F
secondary
#964CBA
accent
#41E7B1
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #428B1F

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

Preview Lab → · Contrast checker → · Palette generator →

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