Export

Code

/* Lemon Grid — colorset.net */
:root {
  --color-1: #FAF9F1;
  --color-2: #F2CF3B;
  --color-3: #3F5482;
  --color-4: #AA9935;
  --color-5: #242217;

  --color-bg: #FAF9F1;
  --color-surface: #F1F0E8;
  --color-border: #D9D7CC;
  --color-text: #242217;
  --color-muted: #6E6B5E;
  --color-primary: #9B8A21;
  --color-on-primary: #242217;
  --color-accent: #3F5482;
  --color-on-accent: #FFFFFF;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #242217;
    --color-surface: #2F2D22;
    --color-border: #464334;
    --color-text: #FAF9F1;
    --color-muted: #98978F;
    --color-primary: #AA9935;
    --color-on-primary: #242217;
    --color-accent: #6077A7;
    --color-on-accent: #000000;
  }
}

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

Contrast

Light mode
PairSampleRatioWCAG
Text on background15.11:1AAA pass 4.5:1
Text on surface13.96:1AAA pass 4.5:1
Muted text on background5.06:1AA pass 4.5:1
Label on primary4.60:1AA pass 4.5:1
Label on accent7.50:1AAA pass 4.5:1
Primary on background3.29:1AA Large pass 3:1
Accent on background7.10:1AAA pass 3:1
Dark mode
PairSampleRatioWCAG
Text on background15.11:1AAA pass 4.5:1
Text on surface13.09:1AAA pass 4.5:1
Muted text on background5.44:1AA pass 4.5:1
Label on primary5.56:1AA pass 4.5:1
Label on accent4.69:1AA pass 4.5:1
Primary on background5.56:1AA pass 3:1
Accent on background3.57: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#FAF9F1 (Text 1)#F2CF3B (Text 2)#3F5482 (Text 3)#AA9935 (Text 4)#242217 (Text 5)
#FAF9F1Same color1.44—7.10AAA2.72—15.11AAA
#F2CF3B1.44—Same color4.91AA1.88—10.46AAA
#3F54827.10AAA4.91AASame color2.61—2.13—
#AA99352.72—1.88—2.61—Same color5.56AA
#24221715.11AAA10.46AAA2.13—5.56AASame color

How to read contrast ratios (WCAG guide)

Shades

Shades and tints (50–950)

#FAF9F1#F2CF3B#3F5482#AA9935#242217

Variations

About Lemon Grid

A sunny Swiss-grid yellow with a navy counterweight for graphic designers. About 62% of the color weight in Lemon Grid sits in yellow, which makes it a warm palette anchored by yellow #AA9935. A 170° hue spread puts light yellow against blue #3F5482, close to a complementary contrast. Lightness runs from 25% to 98% (OKLCH), with #AA9935 in between, a wide range that leaves room for readable text and clear backgrounds. Saturation is low (mean OKLCH chroma 0.078, peaking at 0.160 in #F2CF3B); the colors feel soft and muted. In light mode #FAF9F1 becomes the background with #242217 text at 15.1:1, and #9B8A21 takes the primary role. Its high-contrast character, led by #AA9935, suits children’s products, summer promotions and cheerful landing pages.

Lemon Grid color palette: #FAF9F1, #F2CF3B, #3F5482, #AA9935, #242217
Share image for Lemon Grid

Gradients in similar colors