Dim gray

The darkest neutral gray in CSS, darker than both gray and dark gray, and a shade lighter than it was in 1986.

Overview

Dim gray is a dark, perfectly neutral gray, like wet concrete or a pencil line. Its code is #696969: red, green and blue all at 105 out of 255, about 41%. Hex 69 is simply 105 written in base 16, repeated three times. With no tint at all, it is the darkest of the neutral grays CSS names, darker than gray, #808080, and much darker than dark gray, #A9A9A9.

The name is the CSS keyword dimgray, and CSS accepts dimgrey too. Both spellings were already in the X Window System’s first color list, from 1986, as a darker 84 84 84. In 1989 John Thomas at Tektronix and Paul Raveling at USC’s Information Sciences Institute each revised the list on their own, and both set dim gray to 105 105 105. X11 Release 4 shipped that value in December 1989, and the web adopted it in 2001. It matches the numbered X11 gray41 exactly, just as the 1986 value matched gray33.

“Dim” is an Old English word, and Merriam-Webster’s first sense is “having a limited or insufficient amount of light”, with “dull, lusterless” as in “dim colors” close behind. No record says why the list’s authors picked dim rather than dark. Dark gray arrived later and lighter, which is why the CSS standard itself notes that the names are “not even internally consistent”. Maerz and Paul’s 1930 Dictionary of Color has no dim gray; the nearest ISCC-NBS centers are medium gray, #848482, and dark gray, #555555, and dim gray sits between them.

On screens, dim gray takes white text: white on it has a contrast of about 5.5:1, enough for body text, while black reaches only about 3.8:1. Turned around, it is the lightest gray CSS names that still passes 4.5:1 as text on white, where plain gray manages only about 4:1. It pairs well with mustard, coral, navy and warm off-whites.

HEX#696969
RGBrgb(105, 105, 105)
HSLhsl(0, 0%, 41%)
HSV0°, 0%, 41%
CMYK0, 0, 0, 59
OKLCHoklch(52.1% 0.000 89.9)
Every code converts from the HEX value #696969. #696969 is the CSS keyword dimgray (also dimgrey), rgb(105, 105, 105), defined in the CSS Color Module Level 4 and first listed among the web’s color names in SVG 1.0 (2001). It comes from the 1989 revisions of the X Window System’s color list by Paul Raveling (raveling.txt) and John Thomas (thomas.txt), both 105 105 105, as shipped in X11 Release 4. No color dictionary defines dim gray. CMYK is a screen-based estimate; print results vary.
Dim gray color card, hex #696969: “Dimmer than dark gray, somehow”

Dim gray on the color map

No survey measures dim gray itself, and the xkcd survey has no entry for it. The 1986 dim gray sits straight below the code on the center line; people’s average medium grey sits about as far above it, with a faint green tint. Their average dark grey, #363737, is far darker, outside the outline. The outline is an approximate range, not a measured one.

Shades and tints

Tints with white

Shades with black

Tones with gray

Dim gray sits in the middle. Tints add white, shades add black and tones add gray, in 10% steps out from it. Tap any swatch to copy its code.

Light and dark dim gray

#A9A9A9
Dark grayThe CSS keyword darkgray, 169 169 169: much lighter than dim gray, despite its name. It joined the X11 list after 1989. See dark gray
#A5A5A5
Light dim grayMixed 40% with white: a medium light gray, almost the same as CSS dark gray.
#808080
GrayThe CSS keyword gray, 128 128 128, one of the 16 original HTML colors. Too light for body text on white, at about 4:1.
#696969
Dim grayThe reference color, identical to the numbered X11 gray41.
#545454
Dim gray (1986)The value in the first X color list, 84 84 84, used until 1989. It equals X11 gray33, and also dim gray mixed 20% with black.
#3F3F3F
Dark dim grayMixed 40% with black: a soft charcoal that still shows as gray next to black.

Colors that go with dim gray

Pairings that work in rooms, outfits and interfaces.

Dim gray text on white

The plainest use: body text in dim gray on white passes at about 5.5:1, softer than black.

Dim gray and mustard

A classic gray and yellow mix. The gray keeps the mustard from looking loud.

Dim gray and coral

A warm pink-red against a cool neutral. Friendly, but still grown-up.

Dim gray and navy

Sober and businesslike, like a gray suit with a navy tie.

Dim gray on near-black

A dark theme where dim gray works for borders and buttons, and a lighter tint for secondary text.

Dim gray as background

A calm, flat backdrop for a banner or card. White text, with a soft yellow accent.

Color-wheel palettes

Pick a palette to see where its colors sit on the color wheel. The caret marks dim gray. Tap a band to copy its code.

A gray has no hue, so turning it around the wheel only gives the same gray back. Monochrome is the one wheel palette that works for it.

Similar colors

Wenge68%Ebony71%Feldgrau68%Dim grayDove gray94%Hooker's green70%Payne's gray81%

Lined up by hue around dim gray. Hover a color to see how similar it is.The bar under each name shows how similar it is. Similarity comes from the distance between the two colors in OKLab, a model of how we see color.

Dim gray vs dove gray

Dim gray#696969 · no hue
  • Slightly darker: all three channels at 105
  • A CSS keyword since 2001
  • Named for low light
Dove gray#6D6C6C · hue 0°
  • Slightly lighter, with red a hair ahead
  • Not a CSS keyword
  • Named after a bird’s feathers

Meaning

  • CSS keyword
  • Dim means low light
  • Darker than dark gray
  • Retuned in 1989

No study has looked at what dim gray means to people. Color research tests broad words such as gray, never dim gray, so the claims below are about the word, how the code came about and how it compares with the other grays.

Lightened in 1989

Software record

Dim gray, spelled both ways, is in the X Window System’s first color list, shipped in 1986, as 84 84 84. In 1989 two people revised the list separately: John Thomas at Tektronix, matching a box of 72 crayons, and Paul Raveling at USC’s Information Sciences Institute, on his HP monitor. Both set dim gray to 105 105 105. Raveling filed it with “special colors such as black, white, and favorite shades of gray”, and X11 Release 4 kept his value.1, 2

It matches a numbered gray

Software record

X11 Release 3, in 1988, added a gray scale from gray0 to gray100, where each step k gets the value k × 2.55, rounded. The old dim gray, 84, is exactly gray33, and the new one, 105, is exactly gray41. Aubrey Jaffer points out that these steps are not equally spaced in perceived brightness.1, 2

Darker than dark gray

Technical standard

In CSS, dim gray is 105, gray 128 and dark gray 169, so the color called dark is the lightest of the three. Gray came from the VGA palette by way of HTML, while dark gray, 169 169 169, was added to the end of the X11 list after 1989. The CSS standard admits the names are “not even internally consistent”, giving “darkgray is lighter than gray” as its example.3, 1

A word for low light

Dictionary

Merriam-Webster traces dim to Old English dimm, in use before the 12th century. Its first sense is “emitting or having a limited or insufficient amount of light”, as in “a dim lamp”, and the next is “dull, lusterless”, as in “dim colors”. The X11 notes don’t say why dim was chosen for this gray.4

Between medium and dark

Dictionary and survey

Neither Maerz and Paul’s 1930 dictionary nor Randall Munroe’s 2010 survey has a dim gray. The ISCC-NBS centers put medium gray at #848482 and dark gray at #555555, and dim gray falls between them, a little closer to dark. In the survey, where people named colors on their own screens, the average medium grey was #7D7F7C and dark grey #363737, so dim gray is lighter than what most people call dark grey.6, 5

Sources (6)
  1. The X Window System’s color lists, hosted by Aubrey Jaffer, MIT CSAIL: the first list, old-rgb.txt (dim gray 84 84 84); John Thomas’s thomas.txt and Paul Raveling’s raveling.txt (both 105 105 105); and the X Consortium’s rgb.txt, revision 10.41 of 20 February 1994 (dark gray 169 169 169). Checked against the lists in the X10 Release 3, X11 Release 3 and X11 Release 4 archives.
  2. Aubrey Jaffer, “Color-Name Dictionaries”, MIT CSAIL, quoting the X11 README and the notes of John Thomas and Paul Raveling, with Jaffer’s comments on the numbered grays.
  3. W3C, CSS Color Module Level 4, named colors: dimgray and dimgrey, #696969, 105 105 105, and the note on the names.
  4. Merriam-Webster, “dim”, definition, etymology and first known use.
  5. Randall Munroe (2010), “Color Survey Results”, and the survey’s 954 most common color names (medium grey #7d7f7c, dark grey #363737), CC0.
  6. Aubrey Jaffer, Maerz and Paul’s Dictionary of Color (1930) with ISCC-NBS centroids and the NBS/ISCC centroid list (medium gray #848482, dark gray #555555), MIT CSAIL.

History

The word is more than a thousand years old; the color is a 1980s software name that got lighter once, then stayed put while lighter grays took the darker-sounding names.

  1. Before 1100

    “Dim” is in use in Old English, as dimm, for something with little light.1

  2. 1930

    Maerz and Paul’s Dictionary of Color has no dim gray. Its charcoal grey, iron grey, gunmetal and pewter are later all filed by the ISCC-NBS under dark gray, centered on #555555.2

  3. 1986

    The X Window System’s first color list, shipped with X10 Release 3, includes dim gray and dim grey as 84 84 84. It has no plain gray yet.3

  4. 1988

    X11 Release 3 adds plain gray, at 192 192 192, and a numbered scale from gray0 to gray100. Dim gray, still 84, equals gray33.3

  5. 1989

    John Thomas at Tektronix and Paul Raveling at USC’s Information Sciences Institute each retune the list, and both set dim gray to 105 105 105, the same as gray41. X11 Release 4 ships the value in December.3, 4

  6. 1994

    By this year’s X Consortium list, dated 20 February, dark gray has been added at 169 169 169, much lighter than dim gray.5

  7. 2001

    SVG 1.0 lists “dimgray” and “dimgrey”, rgb(105, 105, 105), among the web’s color keywords.6

  8. 2011

    CSS Color Module Level 3 becomes a W3C Recommendation on June 7 and makes dimgray and dimgrey, #696969, official CSS keywords. Level 4 keeps them.7, 8

Sources (8)
  1. Merriam-Webster, “dim”, etymology and first known use (adjective, before the 12th century).
  2. Aubrey Jaffer, Maerz and Paul’s Dictionary of Color (1930) with ISCC-NBS centroids and the NBS/ISCC centroid list, MIT CSAIL.
  3. The X Window System’s color lists, hosted by Aubrey Jaffer, MIT CSAIL: old-rgb.txt, thomas.txt and raveling.txt; the lists in the X10 Release 3 (1986), X11 Release 3 (1988) and X11 Release 4 (merged list of 7 December 1989) archives.
  4. Aubrey Jaffer, “Color-Name Dictionaries”, MIT CSAIL, quoting the notes of John Thomas (Tektronix) and Paul Raveling (ISI).
  5. X Consortium, rgb.txt, revision 10.41, 20 February 1994, hosted by Aubrey Jaffer, MIT CSAIL.
  6. W3C (2001). Scalable Vector Graphics (SVG) 1.0, recognized color keyword names.
  7. W3C (2011). CSS Color Module Level 3, extended color keywords, W3C Recommendation, June 7, 2011.
  8. W3C, CSS Color Module Level 4, named colors: dimgray and dimgrey, #696969, 105 105 105.

Questions

What color is dim gray?

A dark, neutral gray. Its code is #696969 (RGB 105, 105, 105), the CSS keyword dimgray. All three channels are equal, so it has no tint at all.

Is dim gray darker than dark gray?

Yes, by a lot. Dim gray is #696969 (105 per channel) and CSS dark gray is #A9A9A9 (169). Dark gray was added to the X11 list later, and the CSS standard itself calls the names inconsistent.

What is the difference between dim gray and gray?

Gray (#808080, 128 per channel) is lighter and is one of the 16 original HTML colors. Dim gray (#696969) is darker and comes from the X11 color list. As text on white, dim gray passes the 4.5:1 contrast mark and gray does not.

Is it dimgray or dimgrey?

Both work in CSS and give exactly the same color, #696969. The X Window System’s list had both spellings from its first version in 1986.

Is dim gray a CSS color?

Yes. dimgray is one of the CSS named colors. dimgray, dimgrey, #696969 and rgb(105, 105, 105) all give exactly the same color. It has been a web color keyword since SVG 1.0 in 2001.

Why is it called dim gray?

No record says why. Dim means having little light, and also dull, as in dim colors. The name was already in the first X Window System color list in 1986, when its value was a darker 84 84 84.

What text color works on dim gray?

White. White on dim gray has a contrast of about 5.5:1, fine for body text. Black reaches only about 3.8:1, enough for large text only.

What colors go with dim gray?

Mustard or soft yellow for a warm accent, coral for a friendly look, navy for a sober one, and white or warm off-white backgrounds where dim gray can serve as the text color.