dimgray — #696969
#696969
rgb(105, 105, 105) · hsl(0, 0%, 41%) · CSS keyword dimgray
Can you put text on it?
| Contrast | Body text | Large text | |
|---|---|---|---|
| dimgray on white | 5.49:1 | AA | AA |
| dimgray on black | 3.83:1 | — | AA |
As a background, dimgray takes white text: 5.49:1 against 3.83:1 the other way. A colour picker will give you the hex and stop there, which is why so many palettes look right and fail an accessibility audit.
Using it
color: dimgray;
color: #696969;
color: rgb(105 105 105);
All three are the same colour. The keyword is one of the 141 CSS named colours — a list settled in CSS 2.1 and added to exactly once since, when rebeccapurple was standardised in 2014.
dimgrey is the same colour: CSS accepts both spellings and they are byte for byte identical, so color: dimgray and color: dimgrey render the same.
Colours close to dimgray
- darkolivegreen — #556B2F
- slategray — #708090
- gray — #808080
- lightslategray — #778899
- slateblue — #6A5ACD
- olivedrab — #6B8E23
Frequently asked questions
What is the hex code for dimgray?
The hex code for dimgray is #696969 — RGB 105, 105, 105.
Can I use dimgray for text?
Yes. dimgray reaches 5.49:1 against white, past the 4.5:1 that WCAG AA asks for body text.
Should text on dimgray be black or white?
White — 5.49:1 against 3.83:1 the other way.
Other named colours
- dodgerblue — #1E90FF
- firebrick — #B22222
- floralwhite — #FFFAF0
- forestgreen — #228B22
- fuchsia — #FF00FF
- gainsboro — #DCDCDC
- ghostwhite — #F8F8FF
- gold — #FFD700
- goldenrod — #DAA520
- gray — #808080
- green — #008000
- greenyellow — #ADFF2F
#696969 in full — tints, shades and harmonies · All named colours · Colour reference