Yellow
#DFA40F
#DFA40F is a yellow with high intensity, at step 400 of its 50–950 scale. Dark text on it has a contrast of 8.5:1. On white it reaches only 2.2:1, so use a darker shade for text.
#DFA40F shades and tints
Eleven steps from 50 to 950 with #DFA40F kept exactly at step 400. Lightness steps are even to the eye, and intensity tapers toward the lightest and darkest steps.
- 50 FFF6E5
- 100 FFE8BF
- 200 FFD27D
- 300 ECB647
- 400 DFA40F
- 500 AE7E00
- 600 8D6600
- 700 6F4F00
- 800 543B00
- 900 3A2800
- 950 221600
Tailwind CSS v4 theme
@theme { --color-yellow-50: #fff6e5; --color-yellow-100: #ffe8bf; --color-yellow-200: #ffd27d; --color-yellow-300: #ecb647; --color-yellow-400: #dfa40f; --color-yellow-500: #ae7e00; --color-yellow-600: #8d6600; --color-yellow-700: #6f4f00; --color-yellow-800: #543b00; --color-yellow-900: #3a2800; --color-yellow-950: #221600;}Is #DFA40F readable?
Contrast for text on #DFA40F and for #DFA40F 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.2APCA Lc 48 · Large text and headings
- AaThe quick brown foxCheck in contrast tool
Dark text on it
AAA · 8.5APCA Lc 60 · Large text and headings
- AaThe quick brown foxClosest readable: #9A6F00 · 4.5:1 Check in contrast tool
As text on white
Fail · 2.2APCA Lc 43 · Placeholders and disabled text
- AaThe quick brown foxCheck in contrast tool
As text on a dark background
AAA · 8.5APCA Lc 58 · Large text and headings
Color palettes with #DFA40F
Six palettes built around #DFA40F, each starting from the exact color. Open one in the palette tool to adjust it or get more options.
- Analogous#DFA40F · #C4B167 · #FB8F57 · #C4E3B8 · #26221B
- Complementary#DFA40F · #79A6E8 · #67A7F5 · #F5D288 · #312818
- Split complementary#DFA40F · #3EA7D4 · #BA98FE · #EAD3A8 · #29231A
- Triadic#DFA40F · #00B2BB · #DC77E0 · #F7D888 · #23201A
- Tetradic#DFA40F · #00A68A · #6F94F7 · #FFCAE3 · #353028
- Monochromatic#DFA40F · #DDA72E · #E6A328 · #FFDFB0 · #2F2B26
#DFA40F as a brand color
What a UI color system built from #DFA40F looks like: brand, neutral and status scales, with light and dark tokens that pass WCAG.
Brand
- Brand 50, #FFF6E5
- Brand 100, #FFE8BF
- Brand 200, #FFD27D
- Brand 300, #ECB647
- Brand 400, #DFA40F
- Brand 500, #AE7E00
- Brand 600, #8D6600
- Brand 700, #6F4F00
- Brand 800, #543B00
- Brand 900, #3A2800
- Brand 950, #221600
Neutral
- Neutral 50, #FBFAF9
- Neutral 100, #F5F4F2
- Neutral 200, #E7E5E2
- Neutral 300, #D7D4CF
- Neutral 400, #A4A099
- Neutral 500, #77736B
- Neutral 600, #58544C
- Neutral 700, #444039
- Neutral 800, #2B2721
- Neutral 900, #1B1712
- Neutral 950, #0D0A05
Success
- Success 50, #E7FFE2
- Success 100, #C1FFB4
- Success 200, #A5F095
- Success 300, #85D873
- Success 400, #64BC50
- Success 500, #4EA938
- Success 600, #268301
- Success 700, #1C6700
- Success 800, #134E00
- Success 900, #0A3600
- Success 950, #041F00
Warning
- Warning 50, #FFF5E8
- Warning 100, #FFE8C6
- Warning 200, #FFD18B
- Warning 300, #EBA300
- Warning 400, #D69400
- Warning 500, #B37B00
- Warning 600, #916300
- Warning 700, #724D00
- Warning 800, #563900
- Warning 900, #3C2700
- Warning 950, #231500
Danger
- Danger 50, #FFF4F2
- Danger 100, #FFE4E0
- Danger 200, #FFCBC2
- Danger 300, #FFA396
- Danger 400, #FF6F5E
- Danger 500, #EC2E23
- 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 8.9:1.
- In dark mode primary stays Brand 400: it already reads on the dark background at 8.9: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 #DFA40F
Lighter and darker versions, its complementary color, neighbors on the color wheel and softer variants.