Yellow
#9D871B
#9D871B is a yellow with medium intensity, at step 500 of its 50–950 scale. Dark text on it has a contrast of 5.3:1. On white it reaches only 3.6:1, so use a darker shade for text.
#9D871B shades and tints
Eleven steps from 50 to 950 with #9D871B kept exactly at step 500. Lightness steps are even to the eye, and intensity tapers toward the lightest and darkest steps.
- 50 FFF8D6
- 100 FCECA6
- 200 ECDA8C
- 300 D4C069
- 400 B8A343
- 500 9D871B
- 600 806C00
- 700 645500
- 800 4B3F00
- 900 342B00
- 950 1E1800
Tailwind CSS v4 theme
@theme { --color-yellow-50: #fff8d6; --color-yellow-100: #fceca6; --color-yellow-200: #ecda8c; --color-yellow-300: #d4c069; --color-yellow-400: #b8a343; --color-yellow-500: #9d871b; --color-yellow-600: #806c00; --color-yellow-700: #645500; --color-yellow-800: #4b3f00; --color-yellow-900: #342b00; --color-yellow-950: #1e1800;}Is #9D871B readable?
Contrast for text on #9D871B and for #9D871B 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
Large · 3.6APCA Lc 68 · Content text 16px and up
- AaThe quick brown foxCheck in contrast tool
Dark text on it
AA · 5.3APCA Lc 40 · Placeholders and disabled text
- AaThe quick brown foxClosest readable: #8A7500 · 4.5:1 Check in contrast tool
As text on white
Large · 3.6APCA Lc 63 · Content text 16px and up
- AaThe quick brown foxCheck in contrast tool
As text on a dark background
AA · 5.3APCA Lc 38 · Placeholders and disabled text
Color palettes with #9D871B
Six palettes built around #9D871B, each starting from the exact color. Open one in the palette tool to adjust it or get more options.
- Analogous#9D871B · #95C264 · #FF9501 · #ACE6C8 · #312B1C
- Complementary#9D871B · #839AF1 · #7E8DFF · #EBD9AB · #28261A
- Split complementary#9D871B · #58A3E9 · #C98EE5 · #F7E293 · #29261D
- Triadic#9D871B · #00A4B9 · #FF8BE1 · #FAEAAD · #322E20
- Tetradic#9D871B · #19AD9E · #9992FF · #FFD1D6 · #2D2A1B
- Monochromatic#9D871B · #C4B169 · #DBB800 · #FEDC87 · #353229
#9D871B as a brand color
What a UI color system built from #9D871B looks like: brand, neutral and status scales, with light and dark tokens that pass WCAG.
Brand
- Brand 50, #FFF8D6
- Brand 100, #FCECA6
- Brand 200, #ECDA8C
- Brand 300, #D4C069
- Brand 400, #B8A343
- Brand 500, #9D871B
- Brand 600, #806C00
- Brand 700, #645500
- Brand 800, #4B3F00
- Brand 900, #342B00
- Brand 950, #1E1800
Neutral
- Neutral 50, #FAFAF9
- Neutral 100, #F4F4F2
- Neutral 200, #E6E5E2
- Neutral 300, #D5D4CF
- Neutral 400, #A3A199
- Neutral 500, #75736B
- Neutral 600, #56544C
- Neutral 700, #424039
- Neutral 800, #292821
- Neutral 900, #191812
- Neutral 950, #0C0A05
Success
- Success 50, #E7FFE2
- Success 100, #C7FDBB
- Success 200, #B1ECA5
- Success 300, #93D385
- Success 400, #74B765
- Success 500, #589C49
- Success 600, #3C7F2D
- Success 700, #256614
- Success 800, #134E00
- Success 900, #0A3600
- Success 950, #041F00
Warning
- Warning 50, #FFF6E5
- Warning 100, #FFE8C0
- Warning 200, #FED280
- Warning 300, #E7B759
- Warning 400, #D6A131
- 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, #FC7261
- Danger 500, #D14739
- Danger 600, #BE3529
- Danger 700, #9E1812
- Danger 800, #7D0001
- Danger 900, #580000
- Danger 950, #360000
Info
- Info 50, #EEF9FF
- Info 100, #D6EFFF
- Info 200, #AFE1FF
- Info 300, #6ECBFF
- Info 400, #47AFE5
- Info 500, #008ABF
- Info 600, #0076A5
- Info 700, #005D82
- Info 800, #004563
- Info 900, #003045
- Info 950, #001B2A
- Primary buttons use Brand 500 with neutral 950 text, at 5.6:1.
- In dark mode primary stays Brand 500: it already reads on the dark background at 5.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 #9D871B
Lighter and darker versions, its complementary color, neighbors on the color wheel and softer variants.