#428E21#428E21

#428E21 is a mid, vivid green. Relative luminance 0.206; OKLCH L 57.6% C 0.160 H 138.2°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#428E21
RGBrgb(66, 142, 33)
HSLhsl(102, 62%, 34%)
HSVhsv(102, 77%, 56%)
CMYKcmyk(53.5%, 0%, 76.8%, 44.3%)
CIE-LABlab(52.52, -43.18, 47.62)
CIE-LCHlch(52.52, 64.28, 132.21°)
OKLaboklab(57.64% -0.1193 0.1068)
OKLCHoklch(57.64% 0.16 138.2)
XYZxyz(12.1938, 20.6131, 4.7747)
Luminance0.2061 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#428E21 #6D218E
analogous
#798E21 #428E21 #218E37
triadic
#428E21 #21428E #8E2142
tetradic
#428E21 #21798E #6D218E #8E3721
square
#428E21 #21798E #6D218E #8E3721
split-complementary
#428E21 #37218E #8E2179
monochromatic
#142B0A #2B5C15 #428E21 #59C02D #7BD752

Accessibility & contrast

On white

4.10
#428E21 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#428E21 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #428E21
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##428E21#FFFFFF#000000##000000
##428E211.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#938109
Deuteranopia (green-blind)
#897B2C
Tritanopia (blue-blind)
#3C8979
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #428e21;
/* rgb */ color: rgb(66, 142, 33);
/* oklch */ color: oklch(57.6% 0.160 138.2);
Tailwind
colors: {
  custom: {
    50: '#7fb065',
    500: '#428e21',
    950: '#000000',
  },
}
SCSS
$custom: #428e21;
$custom-light: #7fb065;
$custom-dark: #000000;
JSON
{
  "hex": "#428e21",
  "rgb": {
    "r": 66,
    "g": 142,
    "b": 33
  },
  "hsl": {
    "h": 101.835,
    "s": 62.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.57639,
    "c": 0.16016,
    "h": 138.2
  },
  "luminance": 0.20614
}

Semantic roles & 50–950 ramp

primary
#428E21
secondary
#9A50BA
accent
#42E5B4
background
#F8FAF6
surface
#EFF5EB
border
#CACFC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #428E21

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

Preview Lab → · Contrast checker → · Palette generator →

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