Gray
#A8A798
#A8A798 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.
#A8A798 shades and tints
Eleven steps from 50 to 950 with #A8A798 kept exactly at step 400. Lightness steps are even to the eye, and intensity tapers toward the lightest and darkest steps.
- 50 F8F7EC
- 100 EDECE0
- 200 DBDACD
- 300 C1C0B2
- 400 A8A798
- 500 89887A
- 600 6F6E60
- 700 575649
- 800 414035
- 900 2D2C22
- 950 191911
Tailwind CSS v4 theme
@theme { --color-gray-50: #f8f7ec; --color-gray-100: #edece0; --color-gray-200: #dbdacd; --color-gray-300: #c1c0b2; --color-gray-400: #a8a798; --color-gray-500: #89887a; --color-gray-600: #6f6e60; --color-gray-700: #575649; --color-gray-800: #414035; --color-gray-900: #2d2c22; --color-gray-950: #191911;}Is #A8A798 readable?
Contrast for text on #A8A798 and for #A8A798 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: #787769 · 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 #A8A798
Six palettes built around #A8A798, each starting from the exact color. Open one in the palette tool to adjust it or get more options.
- Analogous#A8A798 · #98C076 · #EEA200 · #A5F9C9 · #222217
- Complementary#A8A798 · #707CD4 · #A29CFF · #EDDB97 · #323326
- Split complementary#A8A798 · #5F90DC · #C380DB · #E2D6A8 · #32312A
- Triadic#A8A798 · #349BC5 · #F576C9 · #F3DC86 · #242313
- Tetradic#A8A798 · #00AFAE · #A19EFF · #FFD5D8 · #2F2F21
- Monochromatic#A8A798 · #CBB042 · #D0AF00 · #FAE390 · #2C291B
#A8A798 as a brand color
What a UI color system built from #A8A798 looks like: brand, neutral and status scales, with light and dark tokens that pass WCAG.
Brand
- Brand 50, #F8F7EC
- Brand 100, #EDECE0
- Brand 200, #DBDACD
- Brand 300, #C1C0B2
- Brand 400, #A8A798
- Brand 500, #89887A
- Brand 600, #6F6E60
- Brand 700, #575649
- Brand 800, #414035
- Brand 900, #2D2C22
- Brand 950, #191911
Neutral
- Neutral 50, #FAFAF9
- Neutral 100, #F4F4F2
- Neutral 200, #E5E5E2
- Neutral 300, #D5D4CF
- Neutral 400, #A2A19A
- Neutral 500, #74746B
- Neutral 600, #55554D
- Neutral 700, #414139
- Neutral 800, #292822
- Neutral 900, #191812
- Neutral 950, #0B0A06
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 #A8A798
Lighter and darker versions of #A8A798.