#428F20#428F20

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

Color values

HEX#428F20
RGBrgb(66, 143, 32)
HSLhsl(102, 63%, 34%)
HSVhsv(102, 78%, 56%)
CMYKcmyk(53.8%, 0%, 77.6%, 43.9%)
CIE-LABlab(52.85, -43.65, 48.29)
CIE-LCHlch(52.85, 65.09, 132.11°)
OKLaboklab(57.9% -0.1207 0.1081)
OKLCHoklch(57.9% 0.162 138.2)
XYZxyz(12.3295, 20.9065, 4.7519)
Luminance0.2091 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#428F20 #6D208F
analogous
#7A8F20 #428F20 #208F36
triadic
#428F20 #20428F #8F2042
tetradic
#428F20 #207A8F #6D208F #8F3620
square
#428F20 #207A8F #6D208F #8F3620
split-complementary
#428F20 #36208F #8F207A
monochromatic
#142B0A #2B5D15 #428F20 #59C12B #7BD851

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##428F20#FFFFFF#000000##000000
##428F201.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)
#948206
Deuteranopia (green-blind)
#8A7C2C
Tritanopia (blue-blind)
#3C8A7A
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #428f20;
/* rgb */ color: rgb(66, 143, 32);
/* oklch */ color: oklch(57.9% 0.162 138.2);
Tailwind
colors: {
  custom: {
    50: '#7fb064',
    500: '#428f20',
    950: '#000000',
  },
}
SCSS
$custom: #428f20;
$custom-light: #7fb064;
$custom-dark: #000000;
JSON
{
  "hex": "#428f20",
  "rgb": {
    "r": 66,
    "g": 143,
    "b": 32
  },
  "hsl": {
    "h": 101.622,
    "s": 63.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.57903,
    "c": 0.16197,
    "h": 138.2
  },
  "luminance": 0.20907
}

Semantic roles & 50–950 ramp

primary
#428F20
secondary
#9A4FBB
accent
#41E6B4
background
#F8FAF6
surface
#EFF5EB
border
#CACFC6
text
#0B1106
muted
#7C807A

Preview Lab

Preview with #428F20

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

Preview Lab → · Contrast checker → · Palette generator →

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