Yellow
#D2DF5A
#D2DF5A is a yellow with high intensity, at step 200 of its 50–950 scale. Dark text on it has a contrast of 13.0:1. On white it reaches only 1.5:1, so use a darker shade for text.
#D2DF5A shades and tints
Eleven steps from 50 to 950 with #D2DF5A kept exactly at step 200. Lightness steps are even to the eye, and intensity tapers toward the lightest and darkest steps.
- 50 F5FFB4
- 100 E9F598
- 200 D2DF5A
- 300 BEC954
- 400 A2AD22
- 500 879000
- 600 6C7400
- 700 555B00
- 800 3F4400
- 900 2B2F00
- 950 181A00
Tailwind CSS v4 theme
@theme { --color-yellow-50: #f5ffb4; --color-yellow-100: #e9f598; --color-yellow-200: #d2df5a; --color-yellow-300: #bec954; --color-yellow-400: #a2ad22; --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 #D2DF5A readable?
Contrast for text on #D2DF5A and for #D2DF5A 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 · 1.5APCA Lc 24 · Dividers and decoration only
- AaThe quick brown foxCheck in contrast tool
Dark text on it
AAA · 13.0APCA Lc 82 · Body text
- AaThe quick brown foxClosest readable: #747C00 · 4.5:1 Check in contrast tool
As text on white
Fail · 1.5APCA Lc 22 · Dividers and decoration only
- AaThe quick brown foxCheck in contrast tool
As text on a dark background
AAA · 13.0APCA Lc 81 · Body text
Color palettes with #D2DF5A
Six palettes built around #D2DF5A, each starting from the exact color. Open one in the palette tool to adjust it or get more options.
- Analogous#D2DF5A · #72A46E · #D8A93F · #A5F7D6 · #30312B
- Complementary#D2DF5A · #9677D8 · #B48CF1 · #BCE592 · #252A19
- Split complementary#D2DF5A · #7999DC · #E781F5 · #EDDFAB · #2E2F29
- Triadic#D2DF5A · #009EDF · #F183A7 · #C8E8A9 · #32332B
- Tetradic#D2DF5A · #009BAF · #C4A0FF · #FFD2CB · #31322C
- Monochromatic#D2DF5A · #9DBD7D · #88C72E · #CAEEA7 · #2C2D1D
#D2DF5A as a brand color
What a UI color system built from #D2DF5A looks like: brand, neutral and status scales, with light and dark tokens that pass WCAG.
Brand
- Brand 50, #F5FFB4
- Brand 100, #E9F598
- Brand 200, #D2DF5A
- Brand 300, #BEC954
- Brand 400, #A2AD22
- 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, #A4F193
- Success 300, #84D871
- Success 400, #62BC4D
- Success 500, #4DAB36
- 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, #EEAE00
- 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, #ED2920
- 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 200 with neutral 950 text, at 13.6:1.
- In dark mode primary stays Brand 200: it already reads on the dark background at 13.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 #D2DF5A
Lighter and darker versions, its complementary color, neighbors on the color wheel and softer variants.