Yerba Mate Color Palette
#F0E8D8 · #C8B880 · #5A8A2A · #2A3A0A
Use #F0E8D8 as the background. Use #C8B880 as the primary accent. Use #5A8A2A as secondary. Use #2A3A0A as body text/supporting color. Palette mood: Yerba Mate — earthy, natural, energizing.
Hex Codes, RGB & CMYK Color Values
Technical breakdown for the Yerba Mate color scheme. Use these values for web design (HEX/RGB), print projects (CMYK), or specialized design software (HSL).
| Swatch | Design Role | HEX | RGB | CMYK | HSL |
|---|---|---|---|---|---|
| Background Luminance: 81.2% | 240, 232, 216 | 0%, 3%, 10%, 6% | 40°, 44%, 89% | ||
| Decorative / accent Luminance: 48.1% | 200, 184, 128 | 0%, 8%, 36%, 22% | 47°, 40%, 64% | ||
| Large text / UI Luminance: 20.5% | 90, 138, 42 | 35%, 0%, 70%, 46% | 90°, 53%, 35% | ||
| Text · AAA Luminance: 3.5% | 42, 58, 10 | 28%, 0%, 83%, 77% | 80°, 71%, 13% |
Yerba Mate Tints & Shades
Hover states, borders and elevation need lighter and darker steps of your base colors. Here are computed tints and shades for every color in the Yerba Mate palette — click any swatch to copy its hex.
Yerba Mate Palette Contrast Matrix (WCAG 2.1)
Every color tested as text on every other color as background. Body copy needs 4.5:1 (AA), large text and UI components 3:1. AAA requires 7:1.
| Text on Background | Preview | Ratio | Grade | Safe For |
|---|---|---|---|---|
| #2A3A0A on #F0E8D8 |
Aa Sample Text
| 10.09:1 | AAA | Body text, headings, UI |
| #F0E8D8 on #2A3A0A |
Aa Sample Text
| 10.09:1 | AAA | Body text, headings, UI |
| #2A3A0A on #C8B880 |
Aa Sample Text
| 6.21:1 | AA | Body text, UI |
| #C8B880 on #2A3A0A |
Aa Sample Text
| 6.21:1 | AA | Body text, UI |
| #5A8A2A on #F0E8D8 |
Aa Sample Text
| 3.37:1 | Fail | Large headings, UI components |
| #F0E8D8 on #5A8A2A |
Aa Sample Text
| 3.37:1 | Fail | Large headings, UI components |
| #2A3A0A on #5A8A2A |
Aa Sample Text
| 2.98:1 | Fail | Decorative use only |
| #5A8A2A on #2A3A0A |
Aa Sample Text
| 2.98:1 | Fail | Decorative use only |
| #5A8A2A on #C8B880 |
Aa Sample Text
| 2.08:1 | Fail | Decorative use only |
| #C8B880 on #5A8A2A |
Aa Sample Text
| 2.08:1 | Fail | Decorative use only |
| #C8B880 on #F0E8D8 |
Aa Sample Text
| 1.62:1 | Fail | Decorative use only |
| #F0E8D8 on #C8B880 |
Aa Sample Text
| 1.62:1 | Fail | Decorative use only |
Color Harmony: Analogous
Two neighbouring hue groups sit 41° apart (44°, 85°) — the extended analogous range.
Neighbouring hues read as cohesive and give little contrast between slots; build hierarchy from the lightness ladder rather than from hue.
History & Design Context
Best Design Use Cases
Measured best pair: #2A3A0A on #F0E8D8 at 10.09:1 (AAA). Use this pair for paragraph copy; the surface roles above are not body-text prescriptions.
Industries This Palette Suits
Colors That Pair Well With Yerba Mate
Need a fifth color? These three companions are computed from the palette's own hue positions on the color wheel, so they extend the scheme without breaking its harmony.
directly opposite #C8B880 on the wheel — the strongest accent for CTAs and highlights when you need maximum energy
30° beside #C8B880 — a calm secondary that extends the palette without adding tension
an ink-black carrying the palette's own hue — perfect for surfaces and dividers
Using Yerba Mate Without Breaking Accessibility
- Avoid #C8B880 for small UI elements on #F0E8D8 — at 1.62:1 it misses the 3:1 WCAG threshold; darken it with a shade from the ramp below.
- Set body text in #2A3A0A — 10.09:1 against #F0E8D8 passes WCAG AA (AAA) for long-form reading.
- Let #5A8A2A carry sidebars, cards and footers — at a mid lightness it separates zones without stealing focus from #C8B880.
How to Implement the Yerba Mate Color Scheme
To use this Yerba Mate color palette in your web project, copy the CSS variables below or open the export panel for Tailwind, SCSS and Figma formats.
Option 1: CSS Variables
:root {
/* Yerba Mate — ihatecolors */
--color-bg: #F0E8D8;
--color-accent: #C8B880;
--color-secondary: #5A8A2A;
--color-text: #2A3A0A;
} Web Design Tip
#C8B880 on #F0E8D8 measures 1.62:1 — below the 3:1 WCAG threshold for UI components. Use it for decoration only, or darken it with a shade from the ramp before using it for buttons, icons or borders.
Accessibility Note
Body copy in #2A3A0A on #F0E8D8 measures 10.09:1, which passes WCAG AAA for normal text.
Yerba Mate Palette — Frequently Asked Questions
What are the hex codes in the Yerba Mate color palette?
The Yerba Mate palette contains #F0E8D8, #C8B880, #5A8A2A, #2A3A0A. Click any swatch on this page to copy its value, or export all four at once as CSS variables, Tailwind config, SCSS or a Figma-ready list.
Is the Yerba Mate color palette accessible (WCAG)?
Yes. #2A3A0A on #F0E8D8 reaches 10.09:1, which passes WCAG AAA for normal text (7:1) as well as AA and the 3:1 UI threshold — use it for body copy and controls. The full contrast matrix above shows the exact score for every color-on-color pair in this palette.
What colors go well with the Yerba Mate palette?
Beyond its own four colors, #7E8EC8, #AFBF88, #171512 extend it naturally: the complementary hue for high-energy accents, an analogous neighbor for calm transitions, and a tinted neutral for surfaces. All three are computed from this palette's hues on the color wheel.
What mood does the Yerba Mate palette create?
Yerba Mate reads as earthy, natural, energizing. Gently saturated yellow drives the personality, grounded by gently saturated orange — a combination that works best when the very light base gets most of the canvas.
Can I use the Yerba Mate color palette commercially?
Yes. Individual color values can't be copyrighted, so the Yerba Mate palette is free for personal, client and commercial work — websites, branding, apps, print and social content, with no attribution required.
How do I add the Yerba Mate palette to Tailwind or CSS?
Use the export panel on this page: CSS variables, a Tailwind config block, SCSS variables, or a Figma copy list are generated from Yerba Mate's exact values, including the tint and shade ramps shown above.