Export

Code

/* Onyx Exchange — colorset.net */
:root {
  --color-1: #111315;
  --color-2: #E3B341;
  --color-3: #4D9DE0;
  --color-4: #2A2D31;
  --color-5: #EDEDE8;

  --color-bg: #EDEDE8;
  --color-surface: #F4F4F1;
  --color-border: #D5D5CC;
  --color-text: #111315;
  --color-muted: #626567;
  --color-primary: #277BBC;
  --color-on-primary: #FFFFFF;
  --color-accent: #936E00;
  --color-on-accent: #FFFFFF;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #111315;
    --color-surface: #1B1D1F;
    --color-border: #2E3237;
    --color-text: #EDEDE8;
    --color-muted: #888884;
    --color-primary: #4D9DE0;
    --color-on-primary: #111315;
    --color-accent: #E3B341;
    --color-on-accent: #111315;
  }
}

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 5from palette · color 1
Surfacederivedderived
Borderderivedderived
Textfrom palette · color 1from palette · color 5
Muted textderivedderived
Primaryadjusted for contrast · from #4D9DE0from palette · color 3
On primaryderivedderived
Accentadjusted for contrast · from #E3B341from palette · color 2
On accentderivedderived

Contrast

Light mode
PairSampleRatioWCAG
Text on background15.85:1AAA pass 4.5:1
Text on surface16.90:1AAA pass 4.5:1
Muted text on background5.00:1AA pass 4.5:1
Label on primary4.52:1AA pass 4.5:1
Label on accent4.70:1AA pass 4.5:1
Primary on background3.85:1AA Large pass 3:1
Accent on background4.00:1AA Large pass 3:1
Dark mode
PairSampleRatioWCAG
Text on background15.85:1AAA pass 4.5:1
Text on surface14.39:1AAA pass 4.5:1
Muted text on background5.23:1AA pass 4.5:1
Label on primary6.40:1AA pass 4.5:1
Label on accent9.57:1AAA pass 4.5:1
Primary on background6.40:1AA pass 3:1
Accent on background9.57: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#111315 (Text 1)#E3B341 (Text 2)#4D9DE0 (Text 3)#2A2D31 (Text 4)#EDEDE8 (Text 5)
#111315Same color9.57AAA6.40AA1.35—15.85AAA
#E3B3419.57AAASame color1.50—7.11AAA1.66—
#4D9DE06.40AA1.50—Same color4.75AA2.48—
#2A2D311.35—7.11AAA4.75AASame color11.78AAA
#EDEDE815.85AAA1.66—2.48—11.78AAASame color

How to read contrast ratios (WCAG guide)

Shades

Shades and tints (50–950)

#111315#E3B341#4D9DE0#2A2D31#EDEDE8

Variations

About Onyx Exchange

Gold on onyx with a cool blue for charts, a trading floor look that stays readable. Onyx Exchange is a balanced multi-color palette of 5 colors that runs from white #EDEDE8 to near-black #111315. A 161° hue spread puts light yellow against blue #4D9DE0, close to a complementary contrast. Lightness runs from 19% to 94% (OKLCH), with #4D9DE0 in between, a wide range that leaves room for readable text and clear backgrounds. Saturation is low (mean OKLCH chroma 0.057, peaking at 0.139 in #E3B341); the colors feel soft and muted. In light mode #EDEDE8 becomes the background with #111315 text at 15.9:1, and #277BBC takes the primary role. With #4D9DE0 leading, good fits include signage, presentation slides and accessible interfaces.

Onyx Exchange color palette: #111315, #E3B341, #4D9DE0, #2A2D31, #EDEDE8
Share image for Onyx Exchange

Gradients in similar colors