#428717#428717

#428717 is a mid, vivid yellow-green. Relative luminance 0.185; OKLCH L 55.7% C 0.157 H 136.7°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#428717
RGBrgb(66, 135, 23)
HSLhsl(97, 71%, 31%)
HSVhsv(97, 83%, 53%)
CMYKcmyk(51.1%, 0%, 83%, 47.1%)
CIE-LABlab(50.15, -41.00, 48.66)
CIE-LCHlch(50.15, 63.63, 130.12°)
OKLaboklab(55.67% -0.1141 0.1075)
OKLCHoklch(55.67% 0.157 136.7)
XYZxyz(11.0651, 18.5473, 3.8074)
Luminance0.1855 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#428717 #5C1787
analogous
#7A8717 #428717 #178724
triadic
#428717 #174287 #871742
tetradic
#428717 #177A87 #5C1787 #872417
square
#428717 #177A87 #5C1787 #872417
split-complementary
#428717 #241787 #87177A
monochromatic
#0F1E05 #28530E #428717 #5CBB20 #79DE3B

Accessibility & contrast

On white

4.46
#428717 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#428717 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #428717
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##428717#FFFFFF#000000##000000
##4287171.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B00
Deuteranopia (green-blind)
#837524
Tritanopia (blue-blind)
#3E8273
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #428717;
/* rgb */ color: rgb(66, 135, 23);
/* oklch */ color: oklch(55.7% 0.157 136.7);
Tailwind
colors: {
  custom: {
    50: '#7eaa5f',
    500: '#428717',
    950: '#000000',
  },
}
SCSS
$custom: #428717;
$custom-light: #7eaa5f;
$custom-dark: #000000;
JSON
{
  "hex": "#428717",
  "rgb": {
    "r": 66,
    "g": 135,
    "b": 23
  },
  "hsl": {
    "h": 96.964,
    "s": 70.886,
    "l": 30.98
  },
  "oklch": {
    "l": 0.55669,
    "c": 0.15674,
    "h": 136.7
  },
  "luminance": 0.18548
}

Semantic roles & 50–950 ramp

primary
#428717
secondary
#8B3FBB
accent
#3AEEA9
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B1005
muted
#7C7F79

Preview Lab

Preview with #428717

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

Preview Lab → · Contrast checker → · Palette generator →

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