#428D17#428D17

#428D17 is a mid, vivid yellow-green. Relative luminance 0.203; OKLCH L 57.3% C 0.164 H 137.3°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#428D17
RGBrgb(66, 141, 23)
HSLhsl(98, 72%, 32%)
HSVhsv(98, 84%, 55%)
CMYKcmyk(53.2%, 0%, 83.7%, 44.7%)
CIE-LABlab(52.14, -43.39, 50.48)
CIE-LCHlch(52.14, 66.56, 130.68°)
OKLaboklab(57.31% -0.1205 0.1113)
OKLCHoklch(57.31% 0.164 137.3)
XYZxyz(11.9259, 20.2690, 4.0943)
Luminance0.2027 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#428D17 #62178D
analogous
#7D8D17 #428D17 #178D27
triadic
#428D17 #17428D #8D1742
tetradic
#428D17 #177D8D #62178D #8D2717
square
#428D17 #177D8D #62178D #8D2717
split-complementary
#428D17 #27178D #8D177D
monochromatic
#112406 #29580E #428D17 #5BC220 #79E03F

Accessibility & contrast

On white

4.16
#428D17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#428D17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #428D17
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##428D17#FFFFFF#000000##000000
##428D171.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#928000
Deuteranopia (green-blind)
#887A26
Tritanopia (blue-blind)
#3D8878
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #428d17;
/* rgb */ color: rgb(66, 141, 23);
/* oklch */ color: oklch(57.3% 0.164 137.3);
Tailwind
colors: {
  custom: {
    50: '#7faf60',
    500: '#428d17',
    950: '#000000',
  },
}
SCSS
$custom: #428d17;
$custom-light: #7faf60;
$custom-dark: #000000;
JSON
{
  "hex": "#428d17",
  "rgb": {
    "r": 66,
    "g": 141,
    "b": 23
  },
  "hsl": {
    "h": 98.136,
    "s": 71.951,
    "l": 32.157
  },
  "oklch": {
    "l": 0.57306,
    "c": 0.16403,
    "h": 137.3
  },
  "luminance": 0.2027
}

Semantic roles & 50–950 ramp

primary
#428D17
secondary
#9140C0
accent
#39EFAD
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1005
muted
#7C7F7A

Preview Lab

Preview with #428D17

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

Preview Lab → · Contrast checker → · Palette generator →

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