Accent Colors

Export

Code

/* Accent Colors — colorset.net */
:root {
  --color-1: #2F4F4F;
  --color-2: #FFFFFF;
  --color-3: #FFD700;
  --color-4: #32CD32;
  --color-5: #DC143C;

  --color-bg: #FFFFFF;
  --color-surface: #F6F6F6;
  --color-border: #E0DCDD;
  --color-text: #2F4F4F;
  --color-muted: #567777;
  --color-primary: #DC143C;
  --color-on-primary: #FFFFFF;
  --color-accent: #00A40B;
  --color-on-accent: #000000;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #071111;
    --color-surface: #111C1C;
    --color-border: #223131;
    --color-text: #FFFFFF;
    --color-muted: #8F8F8F;
    --color-primary: #DC143C;
    --color-on-primary: #FFFFFF;
    --color-accent: #32CD32;
    --color-on-accent: #071111;
  }
}

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 2adjusted for contrast · from #2F4F4F
Surfacederivedderived
Borderderivedderived
Textfrom palette · color 1from palette · color 2
Muted textderivedderived
Primaryfrom palette · color 5from palette · color 5
On primaryderivedderived
Accentadjusted for contrast · from #32CD32from palette · color 4
On accentderivedderived

Contrast

Light mode
PairSampleRatioWCAG
Text on background8.93:1AAA pass 4.5:1
Text on surface8.26:1AAA pass 4.5:1
Muted text on background4.88:1AA pass 4.5:1
Label on primary4.99:1AA pass 4.5:1
Label on accent6.32:1AA pass 4.5:1
Primary on background4.99:1AA pass 3:1
Accent on background3.33:1AA Large pass 3:1
Dark mode
PairSampleRatioWCAG
Text on background19.14:1AAA pass 4.5:1
Text on surface17.40:1AAA pass 4.5:1
Muted text on background5.92:1AA pass 4.5:1
Label on primary4.99:1AA pass 4.5:1
Label on accent9.04:1AAA pass 4.5:1
Primary on background3.84:1AA Large pass 3:1
Accent on background9.04: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#2F4F4F (Text 1)#FFFFFF (Text 2)#FFD700 (Text 3)#32CD32 (Text 4)#DC143C (Text 5)
#2F4F4FSame color8.93AAA6.37AA4.21AA Large1.79—
#FFFFFF8.93AAASame color1.40—2.12—4.99AA
#FFD7006.37AA1.40—Same color1.51—3.56AA Large
#32CD324.21AA Large2.12—1.51—Same color2.36—
#DC143C1.79—4.99AA3.56AA Large2.36—Same color

How to read contrast ratios (WCAG guide)

Shades

Shades and tints (50–950)

#2F4F4F#FFFFFF#FFD700#32CD32#DC143C

Variations

About Accent Colors

No single hue dominates Accent Colors: green carries about 29% of the color weight, shared with red and yellow, and light green #32CD32 sits in the middle of the range. A 176° hue spread puts dark teal against vivid red #DC143C, close to a complementary contrast. Lightness spans 40% (#2F4F4F) to 100% (#FFFFFF), a moderate range; text roles may need slight darkening for full contrast. Saturation is medium (mean OKLCH chroma 0.134, peaking at 0.229 in #32CD32); the colors are clear without being loud. As a UI theme it uses #DC143C for primary actions and #00A40B as the accent; dark mode sits on #071111 with #FFFFFF text (19.1:1). With #DC143C leading, good fits include data visualization, brand systems with many sub-brands and marketing pages.

Accent Colors color palette: #2F4F4F, #FFFFFF, #FFD700, #32CD32, #DC143C
Share image for Accent Colors

Gradients in similar colors