Export

Code

/* Blue Yellow — colorset.net */
:root {
  --color-1: #007FFF;
  --color-2: #4D9AFF;
  --color-3: #FFFF00;
  --color-4: #FFE135;
  --color-5: #FFC947;

  --color-bg: #F7F8E9;
  --color-surface: #EEEFE0;
  --color-border: #D5D7C4;
  --color-text: #2B4E7E;
  --color-muted: #5B6C82;
  --color-primary: #0071E4;
  --color-on-primary: #FFFFFF;
  --color-accent: #9D8900;
  --color-on-accent: #000000;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #05101E;
    --color-surface: #0E1A29;
    --color-border: #202F42;
    --color-text: #F6F8D2;
    --color-muted: #8B8C71;
    --color-primary: #0071E4;
    --color-on-primary: #FFFFFF;
    --color-accent: #FFE135;
    --color-on-accent: #05101E;
  }
}

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
Backgroundadjusted for contrast · from #FFE135adjusted for contrast · from #007FFF
Surfacederivedderived
Borderderivedderived
Textadjusted for contrast · from #007FFFadjusted for contrast · from #FFE135
Muted textderivedderived
Primaryadjusted for contrast · from #007FFFadjusted for contrast · from #007FFF
On primaryderivedderived
Accentadjusted for contrast · from #FFC947from palette · color 4
On accentderivedderived

Contrast

Light mode
PairSampleRatioWCAG
Text on background7.84:1AAA pass 4.5:1
Text on surface7.24:1AAA pass 4.5:1
Muted text on background5.00:1AA pass 4.5:1
Label on primary4.69:1AA pass 4.5:1
Label on accent6.01:1AA pass 4.5:1
Primary on background4.36:1AA Large pass 3:1
Accent on background3.25:1AA Large pass 3:1
Dark mode
PairSampleRatioWCAG
Text on background17.53:1AAA pass 4.5:1
Text on surface16.08:1AAA pass 4.5:1
Muted text on background5.54:1AA pass 4.5:1
Label on primary4.69:1AA pass 4.5:1
Label on accent14.62:1AAA pass 4.5:1
Primary on background4.08:1AA Large pass 3:1
Accent on background14.62: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#007FFF (Text 1)#4D9AFF (Text 2)#FFFF00 (Text 3)#FFE135 (Text 4)#FFC947 (Text 5)
#007FFFSame color1.35—3.57AA Large2.93—2.50—
#4D9AFF1.35—Same color2.65—2.18—1.86—
#FFFF003.57AA Large2.65—Same color1.22—1.43—
#FFE1352.93—2.18—1.22—Same color1.17—
#FFC9472.50—1.86—1.43—1.17—Same color

How to read contrast ratios (WCAG guide)

Shades

Shades and tints (50–950)

#007FFF#4D9AFF#FFFF00#FFE135#FFC947

Variations

About Blue Yellow

No single hue dominates Blue Yellow: yellow carries about 59% of the color weight, shared with blue, and light yellow #FFC947 sits in the middle of the range. A 171° hue spread puts vivid blue against light yellow #FFC947, close to a complementary contrast. Lightness spans 61% (#007FFF) to 97% (#FFFF00), a moderate range; text roles may need slight darkening for full contrast. Saturation is high (mean OKLCH chroma 0.184, peaking at 0.212 in #007FFF); the colors feel saturated and energetic. Text contrast reaches 7.8:1 in light mode and 17.5:1 in dark mode, with #0071E4 as primary and #9D8900 as accent. Try it for clean landing pages, reading apps and documentation, letting vivid blue #007FFF carry the key actions.

Blue Yellow color palette: #007FFF, #4D9AFF, #FFFF00, #FFE135, #FFC947
Share image for Blue Yellow

Gradients in similar colors