gray
· gray808080oklch 0.600 0.000 0
Source
- Cited from
- W3C CSS Working Group, CSS Color Module Level 4 (2026-10-29), § 6.1 Named Colors, named-color table · opened 2026-10-30
- Description
- CSS named colour keyword; resolves to the sRGB value #808080 in every conforming implementation. One of the 16 keywords the specification says came from the VGA palette and were adopted into HTML.
- Other names
- grey
- Aliases
- grey
- Notes
- Second keyword for the same value; the specification lists gray and grey separately.
Values · how each value on screen was read from the source
srgb0.502 0.502 0.502Normative sRGB value #808080 (128 128 128) from the specification, divided by 255.
oklab 0.600 -0.000 0.000lch 53.6 0.0 0.0hsl 0.00 0.00 50.20inside sRGB
lightness variations
OKLCh lightness stepped; requested chroma and hue held constant.
Out-of-sRGB steps use CSS gamut mapping, which can change the requested coordinates. Each opens its rendered sRGB value in the Laboratory.
On the wheelh 0° · C 0.000 · L 0.600Low chroma, near the centre. No documented partners.
Meaning and combinations: not documented for this record.
Structures from here · rules applied on the OKLCh wheel, not documented relations
Each opens the Laboratory with this colour locked as dominant and the rule set.Similar · closest by colour distance; a small distance is not a cultural link
Accessibility
#808080 on #FFFFFF · 3.95:1Normal text: fails AA · fails AAALarge text: passes AA · fails AAA
#808080 on #000000 · 5.32:1Normal text: passes AA · fails AAALarge text: passes AA · passes AAA
WCAG 2 contrast, calculated before rounding. Large text is at least 24 CSS px regular or approximately 18.67 CSS px bold. These results cover these opaque text/background pairs, not whole-interface accessibility.
Colour-vision simulation
Machado, Oliveira and Fernandes 2009, severity 1. An approximation, not a prediction of an individual’s vision.
protan
#808080deutan
#808080tritan
#808080