Ocean Lightning

Export

Code

/* Ocean Lightning — colorset.net */
:root {
  --color-1: #008080;
  --color-2: #FFFF00;
  --color-3: #E0FFFF;
  --color-4: #20B2AA;
  --color-5: #FFE135;

  --color-bg: #E0FFFF;
  --color-surface: #D7F6F6;
  --color-border: #BBDEDE;
  --color-text: #005A5A;
  --color-muted: #4F7272;
  --color-primary: #8F8F00;
  --color-on-primary: #000000;
  --color-accent: #008080;
  --color-on-accent: #FFFFFF;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #001313;
    --color-surface: #011E1E;
    --color-border: #113434;
    --color-text: #E0FFFF;
    --color-muted: #769292;
    --color-primary: #FFFF00;
    --color-on-primary: #001313;
    --color-accent: #008080;
    --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 3adjusted for contrast · from #008080
Surfacederivedderived
Borderderivedderived
Textadjusted for contrast · from #008080from palette · color 3
Muted textderivedderived
Primaryadjusted for contrast · from #20B2AAfrom palette · color 2
On primaryderivedderived
Accentfrom palette · color 1from palette · color 1
On accentderivedderived

Contrast

Light mode
PairSampleRatioWCAG
Text on background7.63:1AAA pass 4.5:1
Text on surface7.05:1AAA pass 4.5:1
Muted text on background5.00:1AA pass 4.5:1
Label on primary6.10:1AA pass 4.5:1
Label on accent4.77:1AA pass 4.5:1
Primary on background3.27:1AA Large pass 3:1
Accent on background4.53:1AA pass 3:1
Dark mode
PairSampleRatioWCAG
Text on background18.06:1AAA pass 4.5:1
Text on surface16.52:1AAA pass 4.5:1
Muted text on background5.71:1AA pass 4.5:1
Label on primary17.74:1AAA pass 4.5:1
Label on accent4.77:1AA pass 4.5:1
Primary on background17.74:1AAA pass 3:1
Accent on background3.99: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#008080 (Text 1)#FFFF00 (Text 2)#E0FFFF (Text 3)#20B2AA (Text 4)#FFE135 (Text 5)
#008080Same color4.45AA Large4.53AA1.82—3.65AA Large
#FFFF004.45AA LargeSame color1.02—2.44—1.22—
#E0FFFF4.53AA1.02—Same color2.49—1.24—
#20B2AA1.82—2.44—2.49—Same color2.01—
#FFE1353.65AA Large1.22—1.24—2.01—Same color

How to read contrast ratios (WCAG guide)

Shades

Shades and tints (50–950)

#008080#FFFF00#E0FFFF#20B2AA#FFE135

Variations

About Ocean Lightning

No single hue dominates Ocean Lightning: yellow carries about 57% of the color weight, shared with teal and neutral, and pale yellow #FFE135 sits in the middle of the range. The hues range across 96° of the wheel, pairing teal #008080 with pale yellow for lively contrast. Lightness spans 54% (#008080) to 98% (#E0FFFF), a moderate range; text roles may need slight darkening for full contrast. Saturation is medium (mean OKLCH chroma 0.125, peaking at 0.211 in #FFFF00); the colors are clear without being loud. Text contrast reaches 7.6:1 in light mode and 18.1:1 in dark mode, with #8F8F00 as primary and #008080 as accent. Try it for illustration, data visualization and brand systems with many sub-brands, letting pale yellow #FFFF00 carry the key actions.

Ocean Lightning color palette: #008080, #FFFF00, #E0FFFF, #20B2AA, #FFE135
Share image for Ocean Lightning

Gradients in similar colors