#428417#428417

#428417 is a mid, vivid yellow-green. Relative luminance 0.177; OKLCH L 54.8% C 0.153 H 136.4°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#428417
RGBrgb(66, 132, 23)
HSLhsl(96, 70%, 30%)
HSVhsv(96, 83%, 52%)
CMYKcmyk(50%, 0%, 82.6%, 48.2%)
CIE-LABlab(49.16, -39.78, 47.74)
CIE-LCHlch(49.16, 62.14, 129.81°)
OKLaboklab(54.85% -0.1108 0.1055)
OKLCHoklch(54.85% 0.153 136.4)
XYZxyz(10.6524, 17.7219, 3.6698)
Luminance0.1772 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#428417 #591784
analogous
#798417 #428417 #178422
triadic
#428417 #174284 #841742
tetradic
#428417 #177984 #591784 #842217
square
#428417 #177984 #591784 #842217
split-complementary
#428417 #221784 #841779
monochromatic
#0E1C05 #28500E #428417 #5CB820 #79DC39

Accessibility & contrast

On white

4.62
#428417 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#428417 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #428417
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##428417#FFFFFF#000000##FFFFFF
##4284171.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#897800
Deuteranopia (green-blind)
#807324
Tritanopia (blue-blind)
#3F7F70
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #428417;
/* rgb */ color: rgb(66, 132, 23);
/* oklch */ color: oklch(54.8% 0.153 136.4);
Tailwind
colors: {
  custom: {
    50: '#7ea85f',
    500: '#428417',
    950: '#000000',
  },
}
SCSS
$custom: #428417;
$custom-light: #7ea85f;
$custom-dark: #000000;
JSON
{
  "hex": "#428417",
  "rgb": {
    "r": 66,
    "g": 132,
    "b": 23
  },
  "hsl": {
    "h": 96.33,
    "s": 70.323,
    "l": 30.392
  },
  "oklch": {
    "l": 0.54849,
    "c": 0.15304,
    "h": 136.4
  },
  "luminance": 0.17723
}

Semantic roles & 50–950 ramp

primary
#428417
secondary
#883FB8
accent
#3BEDA7
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0A1005
muted
#7C7F79

Preview Lab

Preview with #428417

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

Preview Lab → · Contrast checker → · Palette generator →

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