#428C21#428C21

#428C21 is a mid, vivid green. Relative luminance 0.200; OKLCH L 57.1% C 0.158 H 138.0°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#428C21
RGBrgb(66, 140, 33)
HSLhsl(101, 62%, 34%)
HSVhsv(101, 76%, 55%)
CMYKcmyk(52.9%, 0%, 76.4%, 45.1%)
CIE-LABlab(51.86, -42.39, 46.97)
CIE-LCHlch(51.86, 63.27, 132.07°)
OKLaboklab(57.1% -0.1172 0.1055)
OKLCHoklch(57.1% 0.158 138)
XYZxyz(11.8989, 20.0233, 4.6764)
Luminance0.2002 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#428C21 #6B218C
analogous
#788C21 #428C21 #218C35
triadic
#428C21 #21428C #8C2142
tetradic
#428C21 #21788C #6B218C #8C3521
square
#428C21 #21788C #6B218C #8C3521
split-complementary
#428C21 #35218C #8C2178
monochromatic
#13290A #2B5A15 #428C21 #59BE2D #7AD651

Accessibility & contrast

On white

4.20
#428C21 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#428C21 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #428C21
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##428C21#FFFFFF#000000##000000
##428C211.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#917F0A
Deuteranopia (green-blind)
#87792C
Tritanopia (blue-blind)
#3C8778
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #428c21;
/* rgb */ color: rgb(66, 140, 33);
/* oklch */ color: oklch(57.1% 0.158 138.0);
Tailwind
colors: {
  custom: {
    50: '#7eae64',
    500: '#428c21',
    950: '#000000',
  },
}
SCSS
$custom: #428c21;
$custom-light: #7eae64;
$custom-dark: #000000;
JSON
{
  "hex": "#428c21",
  "rgb": {
    "r": 66,
    "g": 140,
    "b": 33
  },
  "hsl": {
    "h": 101.495,
    "s": 61.85,
    "l": 33.922
  },
  "oklch": {
    "l": 0.57095,
    "c": 0.15766,
    "h": 138
  },
  "luminance": 0.20024
}

Semantic roles & 50–950 ramp

primary
#428C21
secondary
#994FB9
accent
#43E5B3
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #428C21

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

Preview Lab → · Contrast checker → · Palette generator →

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