Gray
#A8A797
#A8A797 is a gray with almost no color, at step 400 of its 50–950 scale. Dark text on it has a contrast of 7.8:1. On white it reaches only 2.4:1, so use a darker shade for text.
#A8A797 shades and tints
Eleven steps from 50 to 950 with #A8A797 kept exactly at step 400. Lightness steps are even to the eye, and intensity tapers toward the lightest and darkest steps.
- 50 F8F8EC
- 100 EDECDF
- 200 DBDACC
- 300 C1C0B1
- 400 A8A797
- 500 8A8979
- 600 6F6E5F
- 700 575648
- 800 414034
- 900 2D2C22
- 950 191911
Tailwind CSS v4 theme
@theme { --color-gray-50: #f8f8ec; --color-gray-100: #edecdf; --color-gray-200: #dbdacc; --color-gray-300: #c1c0b1; --color-gray-400: #a8a797; --color-gray-500: #8a8979; --color-gray-600: #6f6e5f; --color-gray-700: #575648; --color-gray-800: #414034; --color-gray-900: #2d2c22; --color-gray-950: #191911;}Is #A8A797 readable?
Contrast for text on #A8A797 and for #A8A797 used as text. WCAG 2.2 asks for 4.5:1 for body text and 3:1 for large text; APCA Lc rates how comfortable the text is to read.
- AaThe quick brown foxCheck in contrast tool
White text on it
Fail · 2.4APCA Lc 53 · Large text and headings
- AaThe quick brown foxCheck in contrast tool
Dark text on it
AAA · 7.8APCA Lc 55 · Large text and headings
- AaThe quick brown foxClosest readable: #787768 · 4.5:1 Check in contrast tool
As text on white
Fail · 2.4APCA Lc 48 · Large text and headings
- AaThe quick brown foxCheck in contrast tool
As text on a dark background
AAA · 7.8APCA Lc 54 · Large text and headings
Color palettes with #A8A797
Six palettes built around #A8A797, each starting from the exact color. Open one in the palette tool to adjust it or get more options.
- Analogous#A8A797 · #8FC45F · #E4AA43 · #AAFBDC · #23231A
- Complementary#A8A797 · #797AC2 · #ACA7FF · #F9E390 · #222217
- Split complementary#A8A797 · #338BD0 · #D582F6 · #EDDB97 · #323426
- Triadic#A8A797 · #119DCC · #DF76B1 · #E2D6A8 · #32312A
- Tetradic#A8A797 · #00A2A9 · #9F9EFF · #FFCED3 · #242313
- Monochromatic#A8A797 · #CFAF21 · #D0AF00 · #F9E186 · #2F2F21
#A8A797 as a brand color
What a UI color system built from #A8A797 looks like: brand, neutral and status scales, with light and dark tokens that pass WCAG.
Brand
- Brand 50, #F8F8EC
- Brand 100, #EDECDF
- Brand 200, #DBDACC
- Brand 300, #C1C0B1
- Brand 400, #A8A797
- Brand 500, #8A8979
- Brand 600, #6F6E5F
- Brand 700, #575648
- Brand 800, #414034
- Brand 900, #2D2C22
- Brand 950, #191911
Neutral
- Neutral 50, #FAFAF9
- Neutral 100, #F4F4F2
- Neutral 200, #E5E5E2
- Neutral 300, #D5D4CF
- Neutral 400, #A2A199
- Neutral 500, #74746B
- Neutral 600, #55554C
- Neutral 700, #414139
- Neutral 800, #292821
- Neutral 900, #191812
- Neutral 950, #0B0A05
Success
- Success 50, #E5FFE9
- Success 100, #BEFECA
- Success 200, #A7EDB5
- Success 300, #87D597
- Success 400, #65B979
- Success 500, #4DA464
- Success 600, #278143
- Success 700, #06672E
- Success 800, #004E20
- Success 900, #003614
- Success 950, #001F09
Warning
- Warning 50, #FFF5E9
- Warning 100, #FFE7CA
- Warning 200, #FFD096
- Warning 300, #E3A34C
- Warning 400, #D29541
- Warning 500, #B67917
- Warning 600, #956000
- Warning 700, #764B00
- Warning 800, #593800
- Warning 900, #3E2500
- Warning 950, #251400
Danger
- Danger 50, #FFF4F2
- Danger 100, #FFE4E0
- Danger 200, #FFCBC4
- Danger 300, #FFA398
- Danger 400, #F7766B
- Danger 500, #D45249
- Danger 600, #B93B35
- Danger 700, #9A211F
- Danger 800, #7B070C
- Danger 900, #580004
- Danger 950, #360002
Info
- Info 50, #F0F8FF
- Info 100, #DBEEFF
- Info 200, #B9DEFF
- Info 300, #84C7FF
- Info 400, #5FAAE7
- Info 500, #3D8BC8
- Info 600, #2173AD
- Info 700, #00598F
- Info 800, #00436D
- Info 900, #002E4D
- Info 950, #001A2F
- Primary buttons use Brand 400 with neutral 950 text, at 8.2:1.
- In dark mode primary stays Brand 400: it already reads on the dark background at 8.2:1.
- Neutrals carry a hint of its hue, so grays, borders and surfaces feel related to the brand.
- Success, warning, danger and info lean toward its hue and stay easy to tell apart.
Colors related to #A8A797
Lighter and darker versions of #A8A797.