Wada combination 42: Yellow Ocher and Violet
Combination 42 in Sanzo Wada's A Dictionary of Color Combinations uses 2 colours: Yellow Ocher and Violet.
Preview on a website Try on walls
Colour codes
| Colour | HEX | RGB | OKLCH | Text on it |
|---|---|---|---|---|
| Yellow Ocher | #E2B540 | rgb(226 181 64) | oklch(79.3% 0.140 87.1) |
Black (10.92:1) |
| Violet | #4F4086 | rgb(79 64 134) | oklch(42.3% 0.113 290.6) |
White (8.71:1) |
Contrast between the colours
1 of 1 colour pair passes WCAG AA for body text. The strongest is Yellow Ocher with Violet at 4.53:1.
| Pair | Ratio | Body text AA (4.5:1) | Body text AAA (7:1) | Large text and icons (3:1) |
|---|---|---|---|---|
| Yellow Ocher / Violet | 4.53:1 | Pass | Fail | Pass |
Results use the unrounded WCAG 2.2 ratio, so a pair shown as 4.50:1 can still fail. W3C contrast guidance
Use it on a website
Swatchproof puts the lightest workable colour behind the text and changes as few colours as possible to reach 4.5:1. With two colours, buttons use the studio defaults.
| Background | #E2B540 Yellow Ocher |
|---|---|
| Text | #4F4086 Violet |
:root {
--background: #E2B540;
--text: #4F4086;
}
Palettes that share these colours
- Combination #56 Grayish Lavender - B · Violet
- Combination #96 Yellow Ocher · Olive
- Combination #118 Yellow Ocher · Vandyke Brown
- Combination #124 Pale Burnt Lake · Yellow Ocher · Olive Yellow
- Combination #126 Ivory Buff · Yellow Ocher · Deep Lyons Blue
- Combination #130 Raw Sienna · Carmine Red · Violet
- Combination #156 Olive Ocher · Cobalt Green · Violet
- Combination #164 Red Orange · Orange Yellow · Violet