Export

Code

/* Green Yellow — colorset.net */
:root {
  --color-1: #98FB98;
  --color-2: #90EE90;
  --color-3: #FFFF00;
  --color-4: #FFE135;
  --color-5: #FFC947;

  --color-bg: #F7F8E9;
  --color-surface: #EEEFE0;
  --color-border: #D5D7C4;
  --color-text: #634900;
  --color-muted: #756950;
  --color-primary: #797900;
  --color-on-primary: #FFFFFF;
  --color-accent: #25872C;
  --color-on-accent: #FFFFFF;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #160E00;
    --color-surface: #211805;
    --color-border: #372C15;
    --color-text: #F6F8D2;
    --color-muted: #8B8C71;
    --color-primary: #FFFF00;
    --color-on-primary: #160E00;
    --color-accent: #90EE90;
    --color-on-accent: #160E00;
  }
}

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 #98FB98adjusted for contrast · from #FFC947
Surfacederivedderived
Borderderivedderived
Textadjusted for contrast · from #FFC947adjusted for contrast · from #98FB98
Muted textderivedderived
Primaryadjusted for contrast · from #FFC947from palette · color 3
On primaryderivedderived
Accentadjusted for contrast · from #90EE90from palette · color 2
On accentderivedderived

Contrast

Light mode
PairSampleRatioWCAG
Text on background7.88:1AAA pass 4.5:1
Text on surface7.27:1AAA pass 4.5:1
Muted text on background5.02:1AA pass 4.5:1
Label on primary4.62:1AA pass 4.5:1
Label on accent4.58:1AA pass 4.5:1
Primary on background4.30:1AA Large pass 3:1
Accent on background4.27:1AA Large pass 3:1
Dark mode
PairSampleRatioWCAG
Text on background17.57:1AAA pass 4.5:1
Text on surface16.10:1AAA pass 4.5:1
Muted text on background5.55:1AA pass 4.5:1
Label on primary17.83:1AAA pass 4.5:1
Label on accent13.51:1AAA pass 4.5:1
Primary on background17.83:1AAA pass 3:1
Accent on background13.51: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#98FB98 (Text 1)#90EE90 (Text 2)#FFFF00 (Text 3)#FFE135 (Text 4)#FFC947 (Text 5)
#98FB98Same color1.12—1.18—1.03—1.21—
#90EE901.12—Same color1.32—1.08—1.08—
#FFFF001.18—1.32—Same color1.22—1.43—
#FFE1351.03—1.08—1.22—Same color1.17—
#FFC9471.21—1.08—1.43—1.17—Same color

How to read contrast ratios (WCAG guide)

Shades

Shades and tints (50–950)

#98FB98#90EE90#FFFF00#FFE135#FFC947

Variations

About Green Yellow

Five colors make up Green Yellow, a warm yellow set: #98FB98, #90EE90, #FFFF00, #FFE135, #FFC947. Its hues are neighbors on the color wheel (59° apart at most), so #98FB98 and #FFC947 form a calm analogous harmony. From #FFC947 to #FFFF00 the colors share a similar light value (lightness 86%–97%), which suits fills and illustration more than body text. Average chroma is 0.172, high for a palette, so the colors feel saturated and energetic; the most saturated color is #FFFF00. Text contrast reaches 7.9:1 in light mode and 17.6:1 in dark mode, with #797900 as primary and #25872C as accent. Try it for e-commerce product pages, documentation and reading apps, letting pale yellow #FFFF00 carry the key actions.

Green Yellow color palette: #98FB98, #90EE90, #FFFF00, #FFE135, #FFC947
Share image for Green Yellow

Gradients in similar colors