Yellow
#AFBB0E
#AFBB0E is a yellow with high intensity, at step 400 of its 50–950 scale. Dark text on it has a contrast of 8.9:1. On white it reaches only 2.1:1, so use a darker shade for text.
#AFBB0E shades and tints
Eleven steps from 50 to 950 with #AFBB0E kept exactly at step 400. Lightness steps are even to the eye, and intensity tapers toward the lightest and darkest steps.
- 50 F5FFB3
- 100 E9F590
- 200 D7E473
- 300 BECA47
- 400 AFBB0E
- 500 879000
- 600 6C7400
- 700 555B00
- 800 3F4400
- 900 2B2F00
- 950 181A00
Tailwind CSS v4 theme
@theme { --color-yellow-50: #f5ffb3; --color-yellow-100: #e9f590; --color-yellow-200: #d7e473; --color-yellow-300: #beca47; --color-yellow-400: #afbb0e; --color-yellow-500: #879000; --color-yellow-600: #6c7400; --color-yellow-700: #555b00; --color-yellow-800: #3f4400; --color-yellow-900: #2b2f00; --color-yellow-950: #181a00;}Is #AFBB0E readable?
Contrast for text on #AFBB0E and for #AFBB0E 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.9APCA Lc 62 · Content text 16px and up
- AaThe quick brown foxClosest readable: #747C00 · 4.5:1 Check in contrast tool
As text on white
Fail · 2.1APCA Lc 41 · Placeholders and disabled text
- AaThe quick brown foxCheck in contrast tool
As text on a dark background
AAA · 8.9APCA Lc 61 · Content text 16px and up
Color palettes with #AFBB0E
Six palettes built around #AFBB0E, each starting from the exact color. Open one in the palette tool to adjust it or get more options.
- Analogous#AFBB0E · #6BB27C · #E4A329 · #9DF4D4 · #23261C
- Complementary#AFBB0E · #948CC9 · #AE87F3 · #C8E8AA · #292922
- Split complementary#AFBB0E · #6499E5 · #D470E2 · #C4E5A3 · #1F2212
- Triadic#AFBB0E · #03B2EE · #E4699E · #F2E5B3 · #323323
- Tetradic#AFBB0E · #0091A3 · #B094F3 · #FFC9C4 · #242620
- Monochromatic#AFBB0E · #98C06F · #87C827 · #D5EDBE · #313229
#AFBB0E as a brand color
What a UI color system built from #AFBB0E looks like: brand, neutral and status scales, with light and dark tokens that pass WCAG.
Brand
- Brand 50, #F5FFB3
- Brand 100, #E9F590
- Brand 200, #D7E473
- Brand 300, #BECA47
- Brand 400, #AFBB0E
- Brand 500, #879000
- Brand 600, #6C7400
- Brand 700, #555B00
- Brand 800, #3F4400
- Brand 900, #2B2F00
- Brand 950, #181A00
Neutral
- Neutral 50, #FAFAF9
- Neutral 100, #F4F4F2
- Neutral 200, #E5E6E2
- 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, #A1F28F
- Success 300, #80D96C
- Success 400, #5DBD46
- Success 500, #46AB2B
- 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, #E5A700
- 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, #F21712
- 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, #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 #AFBB0E
Lighter and darker versions, its complementary color, neighbors on the color wheel and softer variants.