Swatchproof

Wada combination 251: Red, Yellow, Diamine Green and Slate Color

Combination 251 in Sanzo Wada's A Dictionary of Color Combinations uses 4 colours: Red, Yellow, Diamine Green and Slate Color.

Preview on a website Try on walls

Colour codes

ColourHEXRGBOKLCHText on it
Red #A72144rgb(167 33 68)oklch(48.1% 0.169 12.0) White (7.13:1)
Yellow #FFF200rgb(255 242 0)oklch(94.1% 0.200 105.7) Black (17.95:1)
Diamine Green #1A7444rgb(26 116 68)oklch(49.5% 0.112 154.6) White (5.79:1)
Slate Color #34454Crgb(52 69 76)oklch(37.9% 0.025 225.0) White (9.99:1)

Contrast between the colours

3 of 6 colour pairs pass WCAG AA for body text. The strongest is Yellow with Slate Color at 8.54:1.

PairRatioBody text AA (4.5:1)Body text AAA (7:1)Large text and icons (3:1)
Yellow / Slate Color8.54:1PassPassPass
Red / Yellow6.10:1PassFailPass
Yellow / Diamine Green4.95:1PassFailPass
Diamine Green / Slate Color1.73:1FailFailFail
Red / Slate Color1.40:1FailFailFail
Red / Diamine Green1.23:1FailFailFail

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.

Background #FFF200 Yellow
Text #A72144 Red
Button #1A7444 Diamine Green
Button text #DAEEF7 adjusted from Slate Color #34454C to reach 4.5:1
:root {
  --background: #FFF200;
  --text: #A72144;
  --accent: #1A7444;
  --on-accent: #DAEEF7;
}

Preview on a dashboard