Yin Yang

U+262F

About Yin Yang

Yin Yang is the Unicode character ☯️ at codepoint U+262F in the Miscellaneous Symbols block of the Basic Multilingual Plane (BMP).

Technical Reference

Unicode Codepoint
Decimal
UTF-8 (hex)
UTF-16 (hex)
HEX Entity
CSS (\xxxx)
JavaScript
Python

How to Use Yin Yang

To use the Yin Yang symbol (☯️) in HTML, insert the entity ☯️ directly into your markup.

In CSS pseudo-elements use content: '\262F';. In JavaScript and TypeScript the escape '\u262F' evaluates to ☯️. In Python source, write '\u262F'.

The character encodes to E2 98 AF as UTF-8 bytes and 262F as UTF-16 code units. Its decimal codepoint is 9775.

This is a fully-qualified emoji and should render with colour on iOS, Android, Windows and macOS. Appearance may vary between platforms, but the underlying codepoint is identical everywhere.

Similar Symbols