Yin yang (☯) is the Unicode character at U+262F in Miscellaneous Symbols. Official name: YIN YANG — the familiar taijitu for balance and complementary opposites.
Remember
Character ☯
Unicode U+262F
Hex entity ☯
Decimal ☯
CSS escape \262F
Named entity (none)
Also called Taijitu
Prefer ☯ or ☯ in HTML markup. You can also type ☯ in UTF-8. There is no named entity. Pair the glyph with the words “yin yang” so the meaning stays clear.
Using Hex Code: ☯
Using HTML Code: ☯
Using CSS Entity: ☯
Typed directly: ☯
Yin yang ☯
How It Works
1. Hex:U+262F → ☯ in HTML. The browser turns it into ☯.
2. Decimal: same code point as 9775 → ☯. Same result as hex.
3. CSS: use \262F in content (not an HTML entity). #point::after appends that ☯ after the paragraph text.
4. Typed / label: paste ☯ in UTF-8, and keep the words “yin yang” nearby for clarity.
Pitfalls & Tips
Common mistakes when working with U+262F.
Named
No &yinyang; name
HTML5 has no named entity for U+262F. Use ☯ or ☯ — do not invent a name.
vs ☰
Not a trigram
☰ is trigram for heaven. ☯ is the yin–yang / taijitu disk — different symbols.
Fonts
Glyph depends on font
Some fonts draw a simple outline. For a detailed taijitu, use SVG art instead of relying on the text glyph alone.
Color
Unicode is usually monochrome
The character is typically one color. Classic black-and-white halves need an image or CSS illustration.
CSS vs HTML
Do not mix escapes
\262F belongs in CSS strings. ☯ / ☯ belong in HTML.
A11y
Say “yin yang”
Screen readers may announce a generic “symbol.” Write “Yin yang ☯” (or similar) so the meaning is clear.
Culture
Use respectfully
The symbol has philosophical and cultural meaning. Prefer clear, respectful context over decorative misuse.
Compatibility
Browser Support
The yin yang symbol (U+262F) and its entity forms (☯, ☯, CSS \\262F) are supported in all mainstream browsers. Visible glyphs depend on fonts that include Miscellaneous Symbols.
✓ Universal support
Yin Yang (☯)
Encode with hex, decimal, CSS escape, or type the character — same code point everywhere encoding is supported.
100%Browser coverage
Google ChromeSupported
Yes
Microsoft EdgeSupported
Yes
Mozilla FirefoxSupported
Yes
Apple SafariSupported
Yes
OperaSupported
Yes
Internet ExplorerAll versions
Yes
U+262FFull support
Bottom line: Prefer ☯ or ☯ in HTML. Use \\262F only inside CSS content. Pair the glyph with the words “yin yang” for clarity.
Remember
Key Takeaways
Unicode: yin yang is U+262F (decimal 9775) — glyph ☯.
HTML: use ☯ or ☯ — no named entity in HTML5.
CSS: use \262F inside content for generated text.
Meaning:☯ is the taijitu — not a trigram, not a monogram line.
One line:U+262F → ☯ / ☯ / CSS \262F.
Frequently Asked Questions
Use ☯ (hex), ☯ (decimal), type ☯ directly in UTF-8, or the CSS escape \262F in content. There is no named HTML entity for U+262F.
U+262F (YIN YANG). Hex 262F, decimal 9775. It belongs to Miscellaneous Symbols (U+2600–U+26FF).
No. HTML5 does not define a named entity for this character. Use numeric forms ☯ or ☯.
Use it in philosophy, wellness, cultural, or design content that needs the balance / taijitu glyph — and always pair it with clear text for accessibility.
Yin yang (U+262F) is the familiar taijitu. I Ching trigrams such as heaven (U+2630) and monograms for yin/yang are related cultural symbols with different code points.
HTML entities (☯ or ☯) go in markup. The CSS escape \262F goes in stylesheet strings (usually content on ::before/::after).
🤔
Did you know?
Yin yang (☯) is Unicode U+262F (decimal 9775) — official name YIN YANG in Miscellaneous Symbols (U+2600–U+26FF). HTML5 has no named entity — use ☯ or ☯. Also called the taijitu. Pair the glyph with the words “yin yang” for accessibility. Related I Ching marks include trigrams (e.g. ☰) and monograms yin/yang.