Yellow
#AFB945
#AFB945 is a yellow with medium intensity, at step 400 of its 50–950 scale. Dark text on it has a contrast of 8.8:1. On white it reaches only 2.1:1, so use a darker shade for text.
#AFB945 shades and tints
Eleven steps from 50 to 950 with #AFB945 kept exactly at step 400. Lightness steps are even to the eye, and intensity tapers toward the lightest and darkest steps.
- 50 F6FFB3
- 100 EAF4A2
- 200 D8E288
- 300 BEC863
- 400 AFB945
- 500 879006
- 600 6D7400
- 700 555B00
- 800 404400
- 900 2B2E00
- 950 181A00
Tailwind CSS v4 theme
@theme { --color-yellow-50: #f6ffb3; --color-yellow-100: #eaf4a2; --color-yellow-200: #d8e288; --color-yellow-300: #bec863; --color-yellow-400: #afb945; --color-yellow-500: #879006; --color-yellow-600: #6d7400; --color-yellow-700: #555b00; --color-yellow-800: #404400; --color-yellow-900: #2b2e00; --color-yellow-950: #181a00;}Is #AFB945 readable?
Contrast for text on #AFB945 and for #AFB945 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.1APCA Lc 46 · Large text and headings
- AaThe quick brown foxCheck in contrast tool
Dark text on it
AAA · 8.8APCA Lc 62 · Content text 16px and up
- AaThe quick brown foxClosest readable: #757C00 · 4.5:1 Check in contrast tool
As text on white
Fail · 2.1APCA Lc 42 · Placeholders and disabled text
- AaThe quick brown foxCheck in contrast tool
As text on a dark background
AAA · 8.8APCA Lc 60 · Large text and headings
Color palettes with #AFB945
Six palettes built around #AFB945, each starting from the exact color. Open one in the palette tool to adjust it or get more options.
- Analogous#AFB945 · #4A9658 · #DBAC2B · #AAFFE1 · #2A2D1E
- Complementary#AFB945 · #936ECB · #B598FE · #C8ECA5 · #2D3021
- Split complementary#AFB945 · #7D8FCC · #DD67D4 · #D2EFB5 · #23241B
- Triadic#AFB945 · #3295D1 · #FD7FC6 · #D7ECC2 · #2A2E1E
- Tetradic#AFB945 · #00AEC1 · #A588FF · #FFD5D3 · #232316
- Monochromatic#AFB945 · #C6B05E · #88C729 · #F0DF9F · #23231C
#AFB945 as a brand color
What a UI color system built from #AFB945 looks like: brand, neutral and status scales, with light and dark tokens that pass WCAG.
Brand
- Brand 50, #F6FFB3
- Brand 100, #EAF4A2
- Brand 200, #D8E288
- Brand 300, #BEC863
- Brand 400, #AFB945
- Brand 500, #879006
- Brand 600, #6D7400
- Brand 700, #555B00
- Brand 800, #404400
- Brand 900, #2B2E00
- Brand 950, #181A00
Neutral
- Neutral 50, #FAFAF9
- Neutral 100, #F4F4F2
- Neutral 200, #E5E5E2
- Neutral 300, #D4D5CF
- Neutral 400, #A0A29A
- Neutral 500, #73746B
- Neutral 600, #54554D
- Neutral 700, #404139
- Neutral 800, #282922
- Neutral 900, #181912
- Neutral 950, #0A0B06
Success
- Success 50, #E7FFE2
- Success 100, #C1FFB4
- Success 200, #ABEE9C
- Success 300, #8CD67B
- Success 400, #6BBA59
- Success 500, #56A744
- Success 600, #31821B
- Success 700, #1C6700
- Success 800, #134E00
- Success 900, #0A3600
- Success 950, #041F00
Warning
- Warning 50, #FFF6E5
- Warning 100, #FFE8C0
- Warning 200, #FFD27E
- Warning 300, #E5A703
- 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, #E43E31
- Danger 600, #C82018
- 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, #40AFE7
- Info 500, #0091C9
- 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 9.3:1.
- In dark mode primary stays Brand 400: it already reads on the dark background at 9.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 #AFB945
Lighter and darker versions, its complementary color, neighbors on the color wheel and softer variants.