Export

Code

/* Hazard Tape — colorset.net */
:root {
  --color-1: #F4F1E8;
  --color-2: #FFC800;
  --color-3: #E5322D;
  --color-4: #8A877F;
  --color-5: #161616;

  --color-bg: #F4F1E8;
  --color-surface: #FAF8F3;
  --color-border: #DCD8CC;
  --color-text: #161616;
  --color-muted: #686868;
  --color-primary: #E12E2A;
  --color-on-primary: #FFFFFF;
  --color-accent: #AC8600;
  --color-on-accent: #161616;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #161616;
    --color-surface: #202020;
    --color-border: #383435;
    --color-text: #F4F1E8;
    --color-muted: #8F8C84;
    --color-primary: #E12E2A;
    --color-on-primary: #FFFFFF;
    --color-accent: #FFC800;
    --color-on-accent: #161616;
  }
}

Color values

ColorHEXRGBHSLOKLCH
1
2
3
4
5

Roles & contrast

Original colors are kept; roles are adjusted only when needed for contrast.

RoleLight modeDark mode
Backgroundfrom palette · color 1from palette · color 5
Surfacederivedderived
Borderderivedderived
Textfrom palette · color 5from palette · color 1
Muted textderivedderived
Primaryadjusted for contrast · from #E5322Dadjusted for contrast · from #E5322D
On primaryderivedderived
Accentadjusted for contrast · from #8A877Ffrom palette · color 2
On accentderivedderived

Contrast

Light mode
PairSampleRatioWCAG
Text on background16.02:1AAA pass 4.5:1
Text on surface17.05:1AAA pass 4.5:1
Muted text on background4.93:1AA pass 4.5:1
Label on primary4.54:1AA pass 4.5:1
Label on accent5.31:1AA pass 4.5:1
Primary on background4.02:1AA Large pass 3:1
Accent on background3.02:1AA Large pass 3:1
Dark mode
PairSampleRatioWCAG
Text on background16.02:1AAA pass 4.5:1
Text on surface14.43:1AAA pass 4.5:1
Muted text on background5.39:1AA pass 4.5:1
Label on primary4.54:1AA pass 4.5:1
Label on accent11.65:1AAA pass 4.5:1
Primary on background3.99:1AA Large pass 3:1
Accent on background11.65:1AAA pass 3:1

Every color on every color

Rows are backgrounds and columns are text colors, using the actual palette colors. Ratios: AAA 7:1, AA 4.5:1, AA large text 3:1.

Every color on every color
Background / Text#F4F1E8 (Text 1)#FFC800 (Text 2)#E5322D (Text 3)#8A877F (Text 4)#161616 (Text 5)
#F4F1E8Same color1.38—3.85AA Large3.18AA Large16.02AAA
#FFC8001.38—Same color2.80—2.31—11.65AAA
#E5322D3.85AA Large2.80—Same color1.21—4.16AA Large
#8A877F3.18AA Large2.31—1.21—Same color5.04AA
#16161616.02AAA11.65AAA4.16AA Large5.04AASame color

How to read contrast ratios (WCAG guide)

Shades

Shades and tints (50–950)

#F4F1E8#FFC800#E5322D#8A877F#161616

Variations

About Hazard Tape

Hazard-tape yellow and stop red, blunt and impossible to miss. Hazard Tape brings together an off-white, a light yellow, a vivid red, a gray and a charcoal (#F4F1E8, #FFC800, #E5322D, #8A877F, #161616) in a warm, multi-color-led scheme. Its hues are neighbors on the color wheel (61° apart at most), so #FFC800 and #E5322D form a calm analogous harmony. A 76-point lightness range (20% for #161616 to 96% for #F4F1E8) gives strong value contrast, useful for text on background. Average chroma is 0.083, low for a palette, so the colors feel soft and muted; the most saturated color is #E5322D. Text contrast reaches 16.0:1 in light mode and 16.0:1 in dark mode, with #E12E2A as primary and #AC8600 as accent. With #E5322D leading, good fits include data visualization, illustration and marketing pages.

Hazard Tape color palette: #F4F1E8, #FFC800, #E5322D, #8A877F, #161616
Share image for Hazard Tape

Gradients in similar colors