#428121#428121

#428121 is a mid, vivid yellow-green. Relative luminance 0.170; OKLCH L 54.1% C 0.144 H 137.0°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#428121
RGBrgb(66, 129, 33)
HSLhsl(99, 59%, 32%)
HSVhsv(99, 74%, 51%)
CMYKcmyk(48.8%, 0%, 74.4%, 49.4%)
CIE-LABlab(48.22, -37.88, 43.32)
CIE-LCHlch(48.22, 57.55, 131.17°)
OKLaboklab(54.1% -0.105 0.0978)
OKLCHoklch(54.1% 0.144 137)
XYZxyz(10.3712, 16.9679, 4.1672)
Luminance0.1697 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#428121 #602181
analogous
#728121 #428121 #218130
triadic
#428121 #214281 #812142
tetradic
#428121 #217281 #602181 #813021
square
#428121 #217281 #602181 #813021
split-complementary
#428121 #302181 #812172
monochromatic
#102008 #295015 #428121 #5BB22D #79D14B

Accessibility & contrast

On white

4.78
#428121 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#428121 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #428121
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##428121#FFFFFF#000000##FFFFFF
##4281211.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857610
Deuteranopia (green-blind)
#7D712A
Tritanopia (blue-blind)
#3E7C6E
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #428121;
/* rgb */ color: rgb(66, 129, 33);
/* oklch */ color: oklch(54.1% 0.144 137.0);
Tailwind
colors: {
  custom: {
    50: '#7da663',
    500: '#428121',
    950: '#000000',
  },
}
SCSS
$custom: #428121;
$custom-light: #7da663;
$custom-dark: #000000;
JSON
{
  "hex": "#428121",
  "rgb": {
    "r": 66,
    "g": 129,
    "b": 33
  },
  "hsl": {
    "h": 99.375,
    "s": 59.259,
    "l": 31.765
  },
  "oklch": {
    "l": 0.54098,
    "c": 0.14356,
    "h": 137
  },
  "luminance": 0.16969
}

Semantic roles & 50–950 ramp

primary
#428121
secondary
#8F4AB4
accent
#45E2AC
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A0F05
muted
#7C7F7A

Preview Lab

Preview with #428121

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

Preview Lab → · Contrast checker → · Palette generator →

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