#428F17#428F17

#428F17 is a mid, vivid yellow-green. Relative luminance 0.209; OKLCH L 57.9% C 0.166 H 137.4°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#428F17
RGBrgb(66, 143, 23)
HSLhsl(99, 72%, 33%)
HSVhsv(99, 84%, 56%)
CMYKcmyk(53.8%, 0%, 83.9%, 43.9%)
CIE-LABlab(52.80, -44.17, 51.08)
CIE-LCHlch(52.80, 67.53, 130.85°)
OKLaboklab(57.85% -0.1226 0.1126)
OKLCHoklch(57.85% 0.166 137.4)
XYZxyz(12.2235, 20.8641, 4.1935)
Luminance0.2087 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#428F17 #64178F
analogous
#7E8F17 #428F17 #178F28
triadic
#428F17 #17428F #8F1742
tetradic
#428F17 #177E8F #64178F #8F2817
square
#428F17 #177E8F #64178F #8F2817
split-complementary
#428F17 #28178F #8F177E
monochromatic
#112606 #2A5A0F #428F17 #5AC41F #7AE040

Accessibility & contrast

On white

4.06
#428F17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#428F17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #428F17
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##428F17#FFFFFF#000000##000000
##428F171.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#948200
Deuteranopia (green-blind)
#8A7C26
Tritanopia (blue-blind)
#3C8A79
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #428f17;
/* rgb */ color: rgb(66, 143, 23);
/* oklch */ color: oklch(57.9% 0.166 137.4);
Tailwind
colors: {
  custom: {
    50: '#7fb060',
    500: '#428f17',
    950: '#000000',
  },
}
SCSS
$custom: #428f17;
$custom-light: #7fb060;
$custom-dark: #000000;
JSON
{
  "hex": "#428f17",
  "rgb": {
    "r": 66,
    "g": 143,
    "b": 23
  },
  "hsl": {
    "h": 98.5,
    "s": 72.289,
    "l": 32.549
  },
  "oklch": {
    "l": 0.5785,
    "c": 0.16643,
    "h": 137.4
  },
  "luminance": 0.20865
}

Semantic roles & 50–950 ramp

primary
#428F17
secondary
#9341C1
accent
#39EFAE
background
#F8FAF6
surface
#EFF5EB
border
#CACFC6
text
#0B1105
muted
#7C807A

Preview Lab

Preview with #428F17

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

Preview Lab → · Contrast checker → · Palette generator →

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