#428217#428217

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

Color values

HEX#428217
RGBrgb(66, 130, 23)
HSLhsl(96, 70%, 30%)
HSVhsv(96, 82%, 51%)
CMYKcmyk(49.2%, 0%, 82.3%, 49%)
CIE-LABlab(48.49, -38.96, 47.12)
CIE-LCHlch(48.49, 61.14, 129.58°)
OKLaboklab(54.3% -0.1086 0.1042)
OKLCHoklch(54.3% 0.151 136.2)
XYZxyz(10.3838, 17.1847, 3.5803)
Luminance0.1719 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#428217 #571782
analogous
#778217 #428217 #178222
triadic
#428217 #174282 #821742
tetradic
#428217 #177782 #571782 #822217
square
#428217 #177782 #571782 #822217
split-complementary
#428217 #221782 #821777
monochromatic
#0D1A05 #284E0E #428217 #5CB620 #7ADC38

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##428217#FFFFFF#000000##FFFFFF
##4282171.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)
#7E7124
Tritanopia (blue-blind)
#3F7D6E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #428217;
/* rgb */ color: rgb(66, 130, 23);
/* oklch */ color: oklch(54.3% 0.151 136.2);
Tailwind
colors: {
  custom: {
    50: '#7da75e',
    500: '#428217',
    950: '#000000',
  },
}
SCSS
$custom: #428217;
$custom-light: #7da75e;
$custom-dark: #000000;
JSON
{
  "hex": "#428217",
  "rgb": {
    "r": 66,
    "g": 130,
    "b": 23
  },
  "hsl": {
    "h": 95.888,
    "s": 69.935,
    "l": 30
  },
  "oklch": {
    "l": 0.54302,
    "c": 0.15054,
    "h": 136.2
  },
  "luminance": 0.17185
}

Semantic roles & 50–950 ramp

primary
#428217
secondary
#863EB6
accent
#3BEDA5
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #428217

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

Preview Lab → · Contrast checker → · Palette generator →

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