DevKits

ASCII 76

Latin Capital Letter L (L)

Printable ASCII

Uppercase letter L. ASCII code 76. Lowercase 'l' (108) is notoriously hard to tell from '1' and 'I' — one reason many style guides ban a single-letter l as a variable name.

Common uses & context

Theuppercase letter 'L' has ASCII code 76 (0x4C). Its lowercase twin 'l' sits exactly 32 code points away at 108. That constant gap of 32 — a single bit, 0x20 — is why changing letter case is one of the cheapest operations a CPU can do: you flip or mask one bit rather than looking anything up. Uppercase letter L. ASCII code 76. Lowercase 'l' (108) is notoriously hard to tell from '1' and 'I' — one reason many style guides ban a single-letter l as a variable name.

The uppercase Latin letters form the contiguous block 65–90, so range checks like c >= 'A' && c <= 'Z' work without a lookup table. To convert 'L' to its lowercase form youset bit 5: 'L' | 0x20 gives 'l'. Because uppercase (65–90) sorts before lowercase (97–122) in raw byte order, naive sorting places every capitalized wordahead of every lowercase one — the reason "Zebra" comes before "apple" unless you sort case-insensitively.

All encodings at a glance

Decimal76
Hexadecimal0x4C
Octal0114
Binary01001100
HTML numeric entity&#76;
URL encoding%4C
UTF-8 bytes0x4C

Code snippets

JavaScript

String.fromCharCode(76); // "L"
76.toString(16); // "4c"

Python

chr(76)           # 'L'
ord(chr(76))      # 76
hex(76)           # '0x4c'

HTML

&#76;   <!-- numeric entity (no named entity for this character) -->

Programming notes

  • Case toggle: 'L' | 0x20 = 'l' (a single-bit change).
  • Letter test: c >= 'A' && c <= 'Z' — the uppercase block is contiguous (65–90).

Frequently asked questions

What character is ASCII code 76?

ASCII code 76 is the character 'L' (Latin Capital Letter L). In hexadecimal it is 0x4C, in octal 0114, and in binary 01001100.

What is 0x4C in ASCII?

Hexadecimal 0x4C equals decimal 76, which is the character 'L' (Latin Capital Letter L). To convert hex to ASCII yourself, read the two hex digits as a base-16 number (0x4C = 76) and look up that code point.

How do I write the character with code 76 in code?

In JavaScript use String.fromCharCode(76); in Python use chr(76); in HTML use the numeric entity &#76;. In a URL it is percent-encoded as %4C, and in UTF-8 it is stored as the byte sequence 0x4C.

What is the lowercase form of 'L' in ASCII?

'L' is code 76; its lowercase counterpart 'l' is code 108. The two always differ by 32, so you can convert by adding 32 (or setting bit 0x20).

Nearby codes

Encode & convert this character