#428221#428221

#428221 is a mid, vivid yellow-green. Relative luminance 0.172; OKLCH L 54.4% C 0.145 H 137.1°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#428221
RGBrgb(66, 130, 33)
HSLhsl(100, 60%, 32%)
HSVhsv(100, 75%, 51%)
CMYKcmyk(49.2%, 0%, 74.6%, 49%)
CIE-LABlab(48.55, -38.30, 43.66)
CIE-LCHlch(48.55, 58.08, 131.26°)
OKLaboklab(54.37% -0.1062 0.0985)
OKLCHoklch(54.37% 0.145 137.1)
XYZxyz(10.5036, 17.2326, 4.2113)
Luminance0.1723 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#428221 #612182
analogous
#738221 #428221 #218231
triadic
#428221 #214282 #822142
tetradic
#428221 #217382 #612182 #823121
square
#428221 #217382 #612182 #823121
split-complementary
#428221 #312182 #822173
monochromatic
#102008 #295115 #428221 #5BB32D #79D24C

Accessibility & contrast

On white

4.72
#428221 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#428221 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #428221
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##428221#FFFFFF#000000##FFFFFF
##4282211.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867710
Deuteranopia (green-blind)
#7E712B
Tritanopia (blue-blind)
#3E7D6F
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #428221;
/* rgb */ color: rgb(66, 130, 33);
/* oklch */ color: oklch(54.4% 0.145 137.1);
Tailwind
colors: {
  custom: {
    50: '#7da763',
    500: '#428221',
    950: '#000000',
  },
}
SCSS
$custom: #428221;
$custom-light: #7da763;
$custom-dark: #000000;
JSON
{
  "hex": "#428221",
  "rgb": {
    "r": 66,
    "g": 130,
    "b": 33
  },
  "hsl": {
    "h": 99.588,
    "s": 59.509,
    "l": 31.961
  },
  "oklch": {
    "l": 0.54371,
    "c": 0.14486,
    "h": 137.1
  },
  "luminance": 0.17233
}

Semantic roles & 50–950 ramp

primary
#428221
secondary
#904AB4
accent
#45E3AD
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A0F06
muted
#7C7F7A

Preview Lab

Preview with #428221

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

Preview Lab → · Contrast checker → · Palette generator →

#428221 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva