#428216#428216

#428216 is a mid, vivid yellow-green. Relative luminance 0.172; OKLCH L 54.3% C 0.151 H 136.1°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#428216
RGBrgb(66, 130, 22)
HSLhsl(96, 71%, 30%)
HSVhsv(96, 83%, 51%)
CMYKcmyk(49.2%, 0%, 83.1%, 49%)
CIE-LABlab(48.49, -39.01, 47.42)
CIE-LCHlch(48.49, 61.41, 129.44°)
OKLaboklab(54.3% -0.1088 0.1047)
OKLCHoklch(54.3% 0.151 136.1)
XYZxyz(10.3739, 17.1808, 3.5285)
Luminance0.1718 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#428216 #561682
analogous
#788216 #428216 #168220
triadic
#428216 #164282 #821642
tetradic
#428216 #167882 #561682 #822016
square
#428216 #167882 #561682 #822016
split-complementary
#428216 #201682 #821678
monochromatic
#0D1A04 #274E0D #428216 #5DB61F #7ADD35

Accessibility & contrast

On white

4.73
#428216 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#428216 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #428216
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##428216#FFFFFF#000000##FFFFFF
##4282161.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877600
Deuteranopia (green-blind)
#7E7123
Tritanopia (blue-blind)
#3F7D6E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #428216;
/* rgb */ color: rgb(66, 130, 22);
/* oklch */ color: oklch(54.3% 0.151 136.1);
Tailwind
colors: {
  custom: {
    50: '#7da75e',
    500: '#428216',
    950: '#000000',
  },
}
SCSS
$custom: #428216;
$custom-light: #7da75e;
$custom-dark: #000000;
JSON
{
  "hex": "#428216",
  "rgb": {
    "r": 66,
    "g": 130,
    "b": 22
  },
  "hsl": {
    "h": 95.556,
    "s": 71.053,
    "l": 29.804
  },
  "oklch": {
    "l": 0.54297,
    "c": 0.15102,
    "h": 136.1
  },
  "luminance": 0.17181
}

Semantic roles & 50–950 ramp

primary
#428216
secondary
#853DB7
accent
#3AEEA5
background
#F8FAF5
surface
#EFF4E9
border
#CACEC5
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #428216

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

Preview Lab → · Contrast checker → · Palette generator →

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