HTML Entity for Uppercase O Macron (Ō)

What You'll Learn
How to display the uppercase O with macron (Ō) in HTML using named entity, hexadecimal, decimal, and CSS escape methods. This character is U+014C in the Latin Extended-A block. The macron (¯) is a horizontal bar above the letter, used in Māori, Hawaiian, Latin scholarly text, and linguistic notation to mark long vowels.
Render it with Ō, Ō, Ō, or CSS escape \014C. The named entity Ō is often the most readable option in HTML source. Do not confuse Ō with Ŏ (breve) or plain O.
⚡ Quick Reference — Uppercase O Macron Entity
U+014CLatin Extended-A
ŌHexadecimal reference
ŌDecimal reference
ŌMost readable option
Name Value
──────────── ──────────
Unicode U+014C
Hex code Ō
HTML code Ō
Named entity Ō
CSS code \014C
Meaning Latin capital letter O with macron
Related U+014D = ō (lowercase)
Block Latin Extended-A (U+0100–U+017F)Complete HTML Example
A simple example showing the uppercase O macron (Ō) using hexadecimal code, decimal HTML code, the named entity, and a CSS content escape:
<!DOCTYPE html>
<html>
<head>
<style>
#point:after{
content: "\014C";
}
</style>
</head>
<body>
<p>Symbol (hex): Ō</p>
<p>Symbol (decimal): Ō</p>
<p>Symbol (named): Ō</p>
<p id="point">Symbol (CSS): </p>
</body>
</html>🌐 Browser Support
The uppercase O macron (Ō) and the named entity Ō are supported in all modern browsers:
👀 Live Preview
See the uppercase O macron (Ō) in language and content contexts:
🧠 How It Works
Named Entity
Ō is the standard named entity for Ō—readable in source HTML and widely used for Māori and Hawaiian content.
Hexadecimal Code
Ō uses the Unicode hexadecimal value 014C to display the character. The x prefix indicates hexadecimal format.
Decimal HTML Code
Ō uses the decimal Unicode value 332 to display the same character. A common method when a numeric reference is needed.
CSS Entity
\014C is used in CSS stylesheets, particularly in the content property of pseudo-elements like ::before and ::after.
Same visual result
All four methods produce the glyph: Ō. Unicode U+014C sits in Latin Extended-A. Lowercase equivalent: U+014D (ō). Do not confuse with Ŏ (breve) or plain O.
Use Cases
The uppercase O macron (Ō) is commonly used in:
Capitalized words and titles with macronized vowels (Kōkako, Kōrero, Tōtara) for proper pronunciation and spelling.
Macron marks long vowels in capitalized Hawaiian (Kōkua, Lōkahi). Essential for accurate orthography.
Long vowels in Latin scholarly editions, dictionaries, and language learning materials at sentence start.
Phonetic transcription and linguistic documentation requiring macronized capital O.
Language courses, cultural content, and multilingual web pages teaching correct spelling with macrons.
Using U+014C with proper lang attributes ensures assistive technologies pronounce content correctly.
When building HTML from CMS content, using Ō or Ō guarantees correct output.
💡 Best Practices
Do
- Use
Ōin HTML when possible for readability - Serve pages as UTF-8; you can also type Ō directly in UTF-8 source
- Set
langattributes (e.g.lang="mi",lang="haw") on language-specific content - Use fonts that support Latin Extended-A (U+0100–U+017F)
- Distinguish Ō (macron) from Ŏ (breve) and plain O
Don’t
- Substitute plain
Owhen Ō is required in Māori or Hawaiian text - Confuse Ō (macron) with Ŏ (breve) or Ô (circumflex)
- Omit macrons in words that require them—they change pronunciation and meaning
- Put CSS escape
\014Cin HTML text nodes - Double-encode entity references in dynamically generated HTML
Key Takeaways
Four references render Ō; named entity is most readable
Ō Ō ŌFor CSS stylesheets, use the escape in the content property
\014CUnicode U+014C — LATIN CAPITAL LETTER O WITH MACRON
Lowercase pair is U+014D (ō, ō)
Previous: Uppercase O Inverted Breve (Ȏ) Next: Uppercase O Middle Tilde
❓ Frequently Asked Questions
Ō (named), Ō (hex), Ō (decimal), or \014C in CSS content. The named entity Ō is the most readable for HTML content.U+014C (LATIN CAPITAL LETTER O WITH MACRON). Latin Extended-A block. Hex 014C, decimal 332. Used in Māori, Hawaiian, Latin, and linguistic notation. Lowercase form is U+014D (ō).Ō) is more readable and easier to remember. Numeric codes (Ō or Ō) work in all contexts and are useful when escaping is required. Both produce Ō.Ō is part of the HTML5 entity set and is well supported in all modern browsers. Numeric codes remain a reliable alternative for older systems.Explore More HTML Entities!
Discover 1500+ HTML character references — accented letters, symbols, and more.
8 people found this page helpful
