Yellow
#A7AF1D
#A7AF1D is a yellow with high intensity, at step 400 of its 50–950 scale. Dark text on it has a contrast of 7.9:1. On white it reaches only 2.4:1, so use a darker shade for text.
#A7AF1D shades and tints
Eleven steps from 50 to 950 with #A7AF1D kept exactly at step 400. Lightness steps are even to the eye, and intensity tapers toward the lightest and darkest steps.
- 50 F7FFAC
- 100 EBF498
- 200 D9E27C
- 300 C0C954
- 400 A7AF1D
- 500 899000
- 600 6E7400
- 700 565A00
- 800 404400
- 900 2C2E00
- 950 191A00
Tailwind CSS v4 theme
@theme { --color-yellow-50: #f7ffac; --color-yellow-100: #ebf498; --color-yellow-200: #d9e27c; --color-yellow-300: #c0c954; --color-yellow-400: #a7af1d; --color-yellow-500: #899000; --color-yellow-600: #6e7400; --color-yellow-700: #565a00; --color-yellow-800: #404400; --color-yellow-900: #2c2e00; --color-yellow-950: #191a00;}Is #A7AF1D readable?
Contrast for text on #A7AF1D and for #A7AF1D 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 52 · Large text and headings
- AaThe quick brown foxCheck in contrast tool
Dark text on it
AAA · 7.9APCA Lc 56 · Large text and headings
- AaThe quick brown foxClosest readable: #767C00 · 4.5:1 Check in contrast tool
As text on white
Fail · 2.4APCA Lc 47 · Large text and headings
- AaThe quick brown foxCheck in contrast tool
As text on a dark background
AAA · 7.9APCA Lc 55 · Large text and headings
Color palettes with #A7AF1D
Six palettes built around #A7AF1D, each starting from the exact color. Open one in the palette tool to adjust it or get more options.
- Analogous#A7AF1D · #67AE5C · #EBA600 · #87F0D3 · #2E3023
- Complementary#A7AF1D · #957AC8 · #9E8FF4 · #E6D79C · #292B23
- Split complementary#A7AF1D · #7C97E8 · #DD79DD · #D0EBB6 · #26281E
- Triadic#A7AF1D · #4E9ED2 · #ED669C · #F0DB8F · #202213
- Tetradic#A7AF1D · #2D9298 · #B5A0FF · #FFDADA · #222219
- Monochromatic#A7AF1D · #96C168 · #D9B600 · #F3E6B3 · #2A2A1A
#A7AF1D as a brand color
What a UI color system built from #A7AF1D looks like: brand, neutral and status scales, with light and dark tokens that pass WCAG.
Brand
- Brand 50, #F7FFAC
- Brand 100, #EBF498
- Brand 200, #D9E27C
- Brand 300, #C0C954
- Brand 400, #A7AF1D
- Brand 500, #899000
- Brand 600, #6E7400
- Brand 700, #565A00
- Brand 800, #404400
- Brand 900, #2C2E00
- Brand 950, #191A00
Neutral
- Neutral 50, #FAFAF9
- Neutral 100, #F4F4F2
- Neutral 200, #E5E5E2
- Neutral 300, #D4D5CF
- Neutral 400, #A1A29A
- Neutral 500, #73746B
- Neutral 600, #54554D
- Neutral 700, #404139
- Neutral 800, #282922
- Neutral 900, #181812
- Neutral 950, #0A0B06
Success
- Success 50, #E7FFE2
- Success 100, #C1FFB4
- Success 200, #A5F094
- Success 300, #85D872
- Success 400, #63BC4F
- Success 500, #4BA734
- Success 600, #268300
- Success 700, #1C6700
- Success 800, #134E00
- Success 900, #0A3600
- Success 950, #041F00
Warning
- Warning 50, #FFF6E5
- Warning 100, #FFE8C0
- Warning 200, #FFD27E
- Warning 300, #E2A500
- Warning 400, #D09800
- Warning 500, #AE7E00
- 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, #FF6F5E
- Danger 500, #EC2C21
- Danger 600, #CE0003
- Danger 700, #A30002
- Danger 800, #7D0001
- Danger 900, #580000
- Danger 950, #360000
Info
- Info 50, #EEF9FF
- Info 100, #D6EFFF
- Info 200, #AFE1FF
- Info 300, #6ECBFF
- Info 400, #41AFE7
- Info 500, #0090C8
- 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 8.3:1.
- In dark mode primary stays Brand 400: it already reads on the dark background at 8.3: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 #A7AF1D
Lighter and darker versions, its complementary color, neighbors on the color wheel and softer variants.