Coastal Pine

Export

Code

/* Coastal Pine — colorset.net */
:root {
  --color-1: #228B22;
  --color-2: #2E8B57;
  --color-3: #4682B4;
  --color-4: #87CEEB;
  --color-5: #F4A460;

  --color-bg: #ECF9FF;
  --color-surface: #E0F1F8;
  --color-border: #C4D9E2;
  --color-text: #2C592A;
  --color-muted: #5C705B;
  --color-primary: #1D881E;
  --color-on-primary: #FFFFFF;
  --color-accent: #AE6316;
  --color-on-accent: #FFFFFF;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #061305;
    --color-surface: #0F1E0E;
    --color-border: #223320;
    --color-text: #A1CADB;
    --color-muted: #688794;
    --color-primary: #1D881E;
    --color-on-primary: #FFFFFF;
    --color-accent: #F4A460;
    --color-on-accent: #061305;
  }
}

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 #87CEEBadjusted for contrast · from #2E8B57
Surfacederivedderived
Borderderivedderived
Textadjusted for contrast · from #2E8B57adjusted for contrast · from #87CEEB
Muted textderivedderived
Primaryadjusted for contrast · from #228B22adjusted for contrast · from #228B22
On primaryderivedderived
Accentadjusted for contrast · from #2E8B57from palette · color 5
On accentderivedderived

Contrast

Light mode
PairSampleRatioWCAG
Text on background7.61:1AAA pass 4.5:1
Text on surface7.05:1AAA pass 4.5:1
Muted text on background4.99:1AA pass 4.5:1
Label on primary4.57:1AA pass 4.5:1
Label on accent4.57:1AA pass 4.5:1
Primary on background4.26:1AA Large pass 3:1
Accent on background4.26:1AA Large pass 3:1
Dark mode
PairSampleRatioWCAG
Text on background10.87:1AAA pass 4.5:1
Text on surface9.89:1AAA pass 4.5:1
Muted text on background4.97:1AA pass 4.5:1
Label on primary4.57:1AA pass 4.5:1
Label on accent9.36:1AAA pass 4.5:1
Primary on background4.16:1AA Large pass 3:1
Accent on background9.36: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#228B22 (Text 1)#2E8B57 (Text 2)#4682B4 (Text 3)#87CEEB (Text 4)#F4A460 (Text 5)
#228B22Same color1.03—1.07—2.52—2.16—
#2E8B571.03—Same color1.03—2.44—2.09—
#4682B41.07—1.03—Same color2.36—2.02—
#87CEEB2.52—2.44—2.36—Same color1.17—
#F4A4602.16—2.09—2.02—1.17—Same color

How to read contrast ratios (WCAG guide)

Shades

Shades and tints (50–950)

#228B22#2E8B57#4682B4#87CEEB#F4A460

Variations

About Coastal Pine

No single hue dominates Coastal Pine: green carries about 46% of the color weight, shared with blue and orange, and blue #4682B4 sits in the middle of the range. A 174° hue spread puts blue against light orange #F4A460, close to a complementary contrast. All five colors stay in a narrow mid-tone band (56% to 81% lightness, #228B22 to #87CEEB), so text and background roles are adjusted for contrast. Saturation is medium (mean OKLCH chroma 0.119, peaking at 0.169 in #228B22); the colors are clear without being loud. In light mode #ECF9FF becomes the background with #2C592A text at 7.6:1, and #1D881E takes the primary role. Try it for kids’ apps, illustration and educational content, letting green #228B22 carry the key actions.

Coastal Pine color palette: #228B22, #2E8B57, #4682B4, #87CEEB, #F4A460
Share image for Coastal Pine

Gradients in similar colors