Lightning Ocean

Export

Code

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

  --color-bg: #F7F8E9;
  --color-surface: #EEEFE0;
  --color-border: #D5D7C4;
  --color-text: #2F4F4F;
  --color-muted: #507171;
  --color-primary: #797900;
  --color-on-primary: #FFFFFF;
  --color-accent: #008080;
  --color-on-accent: #FFFFFF;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #071111;
    --color-surface: #111C1C;
    --color-border: #223131;
    --color-text: #F6F8D2;
    --color-muted: #8B8C71;
    --color-primary: #FFFF00;
    --color-on-primary: #071111;
    --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
Backgroundadjusted for contrast · from #FFE135adjusted for contrast · from #2F4F4F
Surfacederivedderived
Borderderivedderived
Textfrom palette · color 3adjusted for contrast · from #FFE135
Muted textderivedderived
Primaryadjusted for contrast · from #008080from palette · color 1
On primaryderivedderived
Accentfrom palette · color 2from palette · color 2
On accentderivedderived

Contrast

Light mode
PairSampleRatioWCAG
Text on background8.32:1AAA pass 4.5:1
Text on surface7.68:1AAA pass 4.5:1
Muted text on background4.96:1AA pass 4.5:1
Label on primary4.62:1AA pass 4.5:1
Label on accent4.77:1AA pass 4.5:1
Primary on background4.30:1AA Large pass 3:1
Accent on background4.45:1AA Large pass 3:1
Dark mode
PairSampleRatioWCAG
Text on background17.57:1AAA pass 4.5:1
Text on surface15.97:1AAA pass 4.5:1
Muted text on background5.55:1AA pass 4.5:1
Label on primary17.82:1AAA pass 4.5:1
Label on accent4.77:1AA pass 4.5:1
Primary on background17.82:1AAA pass 3:1
Accent on background4.01: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#FFFF00 (Text 1)#008080 (Text 2)#2F4F4F (Text 3)#FFE135 (Text 4)#20B2AA (Text 5)
#FFFF00Same color4.45AA Large8.31AAA1.22—2.44—
#0080804.45AA LargeSame color1.87—3.65AA Large1.82—
#2F4F4F8.31AAA1.87—Same color6.83AA3.41AA Large
#FFE1351.22—3.65AA Large6.83AASame color2.01—
#20B2AA2.44—1.82—3.41AA Large2.01—Same color

How to read contrast ratios (WCAG guide)

Shades

Shades and tints (50–950)

#FFFF00#008080#2F4F4F#FFE135#20B2AA

Variations

About Lightning Ocean

Lightning Ocean is a balanced yellow-and-teal palette of 5 colors that runs from pale yellow #FFFF00 to dark teal #2F4F4F. The hues range across 97° of the wheel, pairing dark teal #2F4F4F with pale yellow for lively contrast. Lightness spans 40% (#2F4F4F) to 97% (#FFFF00), a moderate range; text roles may need slight darkening for full contrast. Saturation is medium (mean OKLCH chroma 0.126, peaking at 0.211 in #FFFF00); the colors are clear without being loud. As a UI theme it uses #797900 for primary actions and #008080 as the accent; dark mode sits on #071111 with #F6F8D2 text (17.6:1). Its character, led by #FFFF00, suits brand systems with many sub-brands, marketing pages and illustration.

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

Gradients in similar colors