Yellow
#AFA072
#AFA072 is a yellow with low intensity, at step 400 of its 50–950 scale. Dark text on it has a contrast of 7.3:1. On white it reaches only 2.6:1, so use a darker shade for text.
#AFA072 shades and tints
Eleven steps from 50 to 950 with #AFA072 kept exactly at step 400. Lightness steps are even to the eye, and intensity tapers toward the lightest and darkest steps.
- 50 FFF7DD
- 100 F7EBC7
- 200 E5D9B2
- 300 CDBF94
- 400 AFA072
- 500 96875A
- 600 7A6C40
- 700 61542B
- 800 4B3F19
- 900 342A08
- 950 1F1700
Tailwind CSS v4 theme
@theme { --color-yellow-50: #fff7dd; --color-yellow-100: #f7ebc7; --color-yellow-200: #e5d9b2; --color-yellow-300: #cdbf94; --color-yellow-400: #afa072; --color-yellow-500: #96875a; --color-yellow-600: #7a6c40; --color-yellow-700: #61542b; --color-yellow-800: #4b3f19; --color-yellow-900: #342a08; --color-yellow-950: #1f1700;}Is #AFA072 readable?
Contrast for text on #AFA072 and for #AFA072 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.6APCA Lc 56 · Large text and headings
- AaThe quick brown foxCheck in contrast tool
Dark text on it
AAA · 7.3APCA Lc 53 · Large text and headings
- AaThe quick brown foxClosest readable: #847549 · 4.5:1 Check in contrast tool
As text on white
Fail · 2.6APCA Lc 51 · Large text and headings
- AaThe quick brown foxCheck in contrast tool
As text on a dark background
AAA · 7.3APCA Lc 51 · Large text and headings
Color palettes with #AFA072
Six palettes built around #AFA072, each starting from the exact color. Open one in the palette tool to adjust it or get more options.
- Analogous#AFA072 · #9EBD7F · #EB9D3B · #BCF8D2 · #2E2B20
- Complementary#AFA072 · #84A0E7 · #95ACFF · #F1DB8B · #241F10
- Split complementary#AFA072 · #4D9DDB · #AD8DFF · #FBEAA7 · #241F15
- Triadic#AFA072 · #00AECA · #F594DA · #F8DA8B · #2C281C
- Tetradic#AFA072 · #04BAA7 · #9EA8FF · #FFD7DF · #2D2A20
- Monochromatic#AFA072 · #C6B05C · #DCA824 · #EFDEAB · #353126
#AFA072 as a brand color
What a UI color system built from #AFA072 looks like: brand, neutral and status scales, with light and dark tokens that pass WCAG.
Brand
- Brand 50, #FFF7DD
- Brand 100, #F7EBC7
- Brand 200, #E5D9B2
- Brand 300, #CDBF94
- Brand 400, #AFA072
- Brand 500, #96875A
- Brand 600, #7A6C40
- Brand 700, #61542B
- Brand 800, #4B3F19
- Brand 900, #342A08
- Brand 950, #1F1700
Neutral
- Neutral 50, #FAFAF9
- Neutral 100, #F5F4F2
- Neutral 200, #E6E5E2
- Neutral 300, #D6D4CF
- Neutral 400, #A3A199
- Neutral 500, #76736B
- Neutral 600, #57544C
- Neutral 700, #434039
- Neutral 800, #2A2821
- Neutral 900, #1A1812
- Neutral 950, #0C0A05
Success
- Success 50, #E7FFE2
- Success 100, #CAFCBF
- Success 200, #B4EBA9
- Success 300, #97D28A
- Success 400, #78B66A
- Success 500, #61A053
- Success 600, #417E33
- Success 700, #2A651C
- Success 800, #174D07
- Success 900, #0A3600
- Success 950, #041F00
Warning
- Warning 50, #FFF6E5
- Warning 100, #FFE8C0
- Warning 200, #FCD387
- Warning 300, #E5B863
- Warning 400, #D8A845
- Warning 500, #AE7F06
- Warning 600, #8D6600
- Warning 700, #6F4F00
- Warning 800, #543B00
- Warning 900, #3A2800
- Warning 950, #221600
Danger
- Danger 50, #FFF4F2
- Danger 100, #FFE4E0
- Danger 200, #FFCBC2
- Danger 300, #FFA396
- Danger 400, #F77767
- Danger 500, #D25244
- Danger 600, #B93C30
- Danger 700, #99221A
- Danger 800, #7B0805
- Danger 900, #580000
- Danger 950, #360000
Info
- Info 50, #EEF9FF
- Info 100, #D6EFFF
- Info 200, #AFE1FF
- Info 300, #74CBFC
- Info 400, #4EAEE1
- Info 500, #228EC2
- Info 600, #0076A5
- Info 700, #005D82
- Info 800, #004563
- Info 900, #003045
- Info 950, #001B2A
- Primary buttons use Brand 400 with neutral 950 text, at 7.6:1.
- In dark mode primary stays Brand 400: it already reads on the dark background at 7.6: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 #AFA072
Lighter and darker versions, its complementary color, neighbors on the color wheel and softer variants.