Export

Code

/* Sunny Classroom — colorset.net */
:root {
  --color-1: #FDFAEF;
  --color-2: #F3C935;
  --color-3: #4773AB;
  --color-4: #C3972A;
  --color-5: #212730;

  --color-bg: #FDFAEF;
  --color-surface: #F4F1E6;
  --color-border: #DCD8CA;
  --color-text: #212730;
  --color-muted: #656C77;
  --color-primary: #B08405;
  --color-on-primary: #000000;
  --color-accent: #4773AB;
  --color-on-accent: #FFFFFF;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #0D1013;
    --color-surface: #171A1D;
    --color-border: #2A2E34;
    --color-text: #FDFAEF;
    --color-muted: #908D83;
    --color-primary: #C3972A;
    --color-on-primary: #0D1013;
    --color-accent: #4773AB;
    --color-on-accent: #FFFFFF;
  }
}

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

Contrast

Light mode
PairSampleRatioWCAG
Text on background14.38:1AAA pass 4.5:1
Text on surface13.29:1AAA pass 4.5:1
Muted text on background5.07:1AA pass 4.5:1
Label on primary6.15:1AA pass 4.5:1
Label on accent4.87:1AA pass 4.5:1
Primary on background3.27:1AA Large pass 3:1
Accent on background4.66:1AA pass 3:1
Dark mode
PairSampleRatioWCAG
Text on background18.26:1AAA pass 4.5:1
Text on surface16.72:1AAA pass 4.5:1
Muted text on background5.75:1AA pass 4.5:1
Label on primary7.07:1AAA pass 4.5:1
Label on accent4.87:1AA pass 4.5:1
Primary on background7.07:1AAA pass 3:1
Accent on background3.91:1AA Large 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#FDFAEF (Text 1)#F3C935 (Text 2)#4773AB (Text 3)#C3972A (Text 4)#212730 (Text 5)
#FDFAEFSame color1.52—4.66AA2.58—14.38AAA
#F3C9351.52—Same color3.07AA Large1.70—9.46AAA
#4773AB4.66AA3.07AA LargeSame color1.81—3.08AA Large
#C3972A2.58—1.70—1.81—Same color5.57AA
#21273014.38AAA9.46AAA3.08AA Large5.57AASame color

How to read contrast ratios (WCAG guide)

Shades

Shades and tints (50–950)

#FDFAEF#F3C935#4773AB#C3972A#212730

Variations

About Sunny Classroom

A sunny yellow with a calm blue, optimistic for school websites and reading apps. About 61% of the color weight in Sunny Classroom sits in yellow, which makes it a warm palette anchored by yellow #C3972A. A 170° hue spread puts blue against yellow #C3972A, close to a complementary contrast. Lightness runs from 27% to 98% (OKLCH), with #C3972A in between, a wide range that leaves room for readable text and clear backgrounds. Saturation is low (mean OKLCH chroma 0.085, peaking at 0.160 in #F3C935); the colors feel soft and muted. In light mode #FDFAEF becomes the background with #212730 text at 14.4:1, and #B08405 takes the primary role. Its character, led by #C3972A, suits children’s products, summer promotions and cheerful landing pages.

Sunny Classroom color palette: #FDFAEF, #F3C935, #4773AB, #C3972A, #212730
Share image for Sunny Classroom

Gradients in similar colors