Ocean Green

Export

Code

/* Ocean Green — colorset.net */
:root {
  --color-1: #228B22;
  --color-2: #32CD32;
  --color-3: #008080;
  --color-4: #20B2AA;
  --color-5: #48CAE4;

  --color-bg: #E8FBFF;
  --color-surface: #DFF1F6;
  --color-border: #C3DADF;
  --color-text: #005757;
  --color-muted: #4D7070;
  --color-primary: #008808;
  --color-on-primary: #FFFFFF;
  --color-accent: #008297;
  --color-on-accent: #FFFFFF;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #001313;
    --color-surface: #011E1E;
    --color-border: #113434;
    --color-text: #93C0CB;
    --color-muted: #668890;
    --color-primary: #32CD32;
    --color-on-primary: #001313;
    --color-accent: #48CAE4;
    --color-on-accent: #001313;
  }
}

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 #48CAE4adjusted for contrast · from #008080
Surfacederivedderived
Borderderivedderived
Textadjusted for contrast · from #008080adjusted for contrast · from #48CAE4
Muted textderivedderived
Primaryadjusted for contrast · from #228B22from palette · color 2
On primaryderivedderived
Accentadjusted for contrast · from #008080from palette · color 5
On accentderivedderived

Contrast

Light mode
PairSampleRatioWCAG
Text on background7.87:1AAA pass 4.5:1
Text on surface7.22:1AAA pass 4.5:1
Muted text on background5.09:1AA pass 4.5:1
Label on primary4.64:1AA pass 4.5:1
Label on accent4.53:1AA pass 4.5:1
Primary on background4.35:1AA Large pass 3:1
Accent on background4.24:1AA Large pass 3:1
Dark mode
PairSampleRatioWCAG
Text on background9.65:1AAA pass 4.5:1
Text on surface8.83:1AAA pass 4.5:1
Muted text on background4.98:1AA pass 4.5:1
Label on primary8.99:1AAA pass 4.5:1
Label on accent9.84:1AAA pass 4.5:1
Primary on background8.99:1AAA pass 3:1
Accent on background9.84: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)#32CD32 (Text 2)#008080 (Text 3)#20B2AA (Text 4)#48CAE4 (Text 5)
#228B22Same color2.07—1.09—1.67—2.27—
#32CD322.07—Same color2.25—1.24—1.09—
#0080801.09—2.25—Same color1.82—2.46—
#20B2AA1.67—1.24—1.82—Same color1.35—
#48CAE42.27—1.09—2.46—1.35—Same color

How to read contrast ratios (WCAG guide)

Shades

Shades and tints (50–950)

#228B22#32CD32#008080#20B2AA#48CAE4

Variations

About Ocean Green

Five colors make up Ocean Green, a cool teal-and-green set: #228B22, #32CD32, #008080, #20B2AA, #48CAE4. Its hues are neighbors on the color wheel (71° apart at most), so #228B22 and #48CAE4 form a calm analogous harmony. From #008080 to #48CAE4 the colors share a similar mid-tone value (lightness 54%–78%), which suits fills and illustration more than body text. Average chroma is 0.144, medium for a palette, so the colors are clear without being loud; the most saturated color is #32CD32. In light mode #E8FBFF becomes the background with #005757 text at 7.9:1, and #008808 takes the primary role. With #32CD32 leading, good fits include marketing pages, brand systems with many sub-brands and data visualization.

Ocean Green color palette: #228B22, #32CD32, #008080, #20B2AA, #48CAE4
Share image for Ocean Green

Gradients in similar colors