Export

Code

/* Hazel Brown — colorset.net */
:root {
  --color-1: #8E7618;
  --color-2: #A88C2F;
  --color-3: #C2A246;
  --color-4: #DCB85D;
  --color-5: #F6CE74;

  --color-bg: #FDF6E8;
  --color-surface: #F3EDDF;
  --color-border: #DCD4C3;
  --color-text: #5E4C00;
  --color-muted: #726A50;
  --color-primary: #8B7313;
  --color-on-primary: #FFFFFF;
  --color-accent: #A28627;
  --color-on-accent: #000000;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #150F00;
    --color-surface: #1F1905;
    --color-border: #352D15;
    --color-text: #E2D2AF;
    --color-muted: #8F8369;
    --color-primary: #8B7313;
    --color-on-primary: #FFFFFF;
    --color-accent: #F6CE74;
    --color-on-accent: #150F00;
  }
}

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 #F6CE74adjusted for contrast · from #8E7618
Surfacederivedderived
Borderderivedderived
Textadjusted for contrast · from #8E7618adjusted for contrast · from #F6CE74
Muted textderivedderived
Primaryadjusted for contrast · from #8E7618adjusted for contrast · from #8E7618
On primaryderivedderived
Accentadjusted for contrast · from #A88C2Ffrom palette · color 5
On accentderivedderived

Contrast

Light mode
PairSampleRatioWCAG
Text on background7.78:1AAA pass 4.5:1
Text on surface7.17:1AAA pass 4.5:1
Muted text on background5.02:1AA pass 4.5:1
Label on primary4.61:1AA pass 4.5:1
Label on accent5.98:1AA pass 4.5:1
Primary on background4.28:1AA Large pass 3:1
Accent on background3.27:1AA Large pass 3:1
Dark mode
PairSampleRatioWCAG
Text on background12.79:1AAA pass 4.5:1
Text on surface11.73:1AAA pass 4.5:1
Muted text on background5.11:1AA pass 4.5:1
Label on primary4.61:1AA pass 4.5:1
Label on accent12.72:1AAA pass 4.5:1
Primary on background4.14:1AA Large pass 3:1
Accent on background12.72: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#8E7618 (Text 1)#A88C2F (Text 2)#C2A246 (Text 3)#DCB85D (Text 4)#F6CE74 (Text 5)
#8E7618Same color1.36—1.80—2.33—2.94—
#A88C2F1.36—Same color1.32—1.71—2.17—
#C2A2461.80—1.32—Same color1.29—1.64—
#DCB85D2.33—1.71—1.29—Same color1.27—
#F6CE742.94—2.17—1.64—1.27—Same color

How to read contrast ratios (WCAG guide)

Shades

Shades and tints (50–950)

#8E7618#A88C2F#C2A246#DCB85D#F6CE74

Variations

About Hazel Brown

About 81% of the color weight in Hazel Brown sits in yellow, which makes it a warm palette anchored by yellow #C2A246. With a hue spread of just 7°, it is effectively monochromatic: #8E7618, #A88C2F and #C2A246 differ mostly in lightness. All five colors stay in a narrow light band (57% to 87% lightness, #8E7618 to #F6CE74), so text and background roles are adjusted for contrast. Saturation is medium (mean OKLCH chroma 0.115, peaking at 0.118 in #F6CE74); the colors are clear without being loud. Text contrast reaches 7.8:1 in light mode and 12.8:1 in dark mode, with #8B7313 as primary and #A28627 as accent. With #8E7618 leading, good fits include minimal branding, focused single-product sites and typography-led layouts.

Hazel Brown color palette: #8E7618, #A88C2F, #C2A246, #DCB85D, #F6CE74
Share image for Hazel Brown

Gradients in similar colors