Export

Code

/* Light Beam — colorset.net */
:root {
  --color-1: #FFFFFF;
  --color-2: #FFFFCC;
  --color-3: #FFFF99;
  --color-4: #FFE066;
  --color-5: #FFD700;

  --color-bg: #FFFFFF;
  --color-surface: #F6F6F6;
  --color-border: #E0DCDD;
  --color-text: #615000;
  --color-muted: #777055;
  --color-primary: #A78C00;
  --color-on-primary: #000000;
  --color-accent: #8C8C8C;
  --color-on-accent: #000000;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #140F00;
    --color-surface: #1E1905;
    --color-border: #342E15;
    --color-text: #FFFFFF;
    --color-muted: #8F8F8F;
    --color-primary: #FFD700;
    --color-on-primary: #140F00;
    --color-accent: #FFFFCC;
    --color-on-accent: #140F00;
  }
}

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 1adjusted for contrast · from #FFD700
Surfacederivedderived
Borderderivedderived
Textadjusted for contrast · from #FFD700from palette · color 1
Muted textderivedderived
Primaryadjusted for contrast · from #FFD700from palette · color 5
On primaryderivedderived
Accentadjusted for contrast · from #FFE066from palette · color 2
On accentderivedderived

Contrast

Light mode
PairSampleRatioWCAG
Text on background7.91:1AAA pass 4.5:1
Text on surface7.32:1AAA pass 4.5:1
Muted text on background4.96:1AA pass 4.5:1
Label on primary6.39:1AA pass 4.5:1
Label on accent6.25:1AA pass 4.5:1
Primary on background3.28:1AA Large pass 3:1
Accent on background3.36:1AA Large pass 3:1
Dark mode
PairSampleRatioWCAG
Text on background19.12:1AAA pass 4.5:1
Text on surface17.55:1AAA pass 4.5:1
Muted text on background5.91:1AA pass 4.5:1
Label on primary13.63:1AAA pass 4.5:1
Label on accent18.60:1AAA pass 4.5:1
Primary on background13.63:1AAA pass 3:1
Accent on background18.60: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#FFFFFF (Text 1)#FFFFCC (Text 2)#FFFF99 (Text 3)#FFE066 (Text 4)#FFD700 (Text 5)
#FFFFFFSame color1.03—1.05—1.30—1.40—
#FFFFCC1.03—Same color1.02—1.27—1.36—
#FFFF991.05—1.02—Same color1.24—1.34—
#FFE0661.30—1.27—1.24—Same color1.08—
#FFD7001.40—1.36—1.34—1.08—Same color

How to read contrast ratios (WCAG guide)

Shades

Shades and tints (50–950)

#FFFFFF#FFFFCC#FFFF99#FFE066#FFD700

Variations

About Light Beam

About 93% of the color weight in Light Beam sits in yellow, which makes it a warm palette anchored by pale yellow #FFFF99. With a hue spread of just 13°, it is effectively monochromatic: #FFFFCC, #FFFF99 and #FFE066 differ mostly in lightness. All five colors stay in a narrow light band (89% to 100% lightness, #FFD700 to #FFFFFF), so text and background roles are adjusted for contrast. Saturation is medium (mean OKLCH chroma 0.103, peaking at 0.182 in #FFD700); the colors are clear without being loud. In light mode #FFFFFF becomes the background with #615000 text at 7.9:1, and #A78C00 takes the primary role. With #FFD700 leading, good fits include signage, cheerful landing pages and summer promotions.

Light Beam color palette: #FFFFFF, #FFFFCC, #FFFF99, #FFE066, #FFD700
Share image for Light Beam

Gradients in similar colors