Swatchproof

Pantone P 138-7 C, 14-0852 TCX & P 1-9 C colour palette

The palette uses Moss Green, Golden Yellow and Ivory.

Preview on a website Try on walls

Colour codes

ColourHEXRGBOKLCHText on it
Moss Green #1A7854rgb(26 120 84)oklch(51.0% 0.102 162.2) White (5.44:1)
Golden Yellow #F3C12Crgb(243 193 44)oklch(83.3% 0.160 88.3) Black (12.48:1)
Ivory #F6F4EArgb(246 244 234)oklch(96.6% 0.013 97.4) Black (19.05:1)

Contrast between the colours

1 of 3 colour pairs pass WCAG AA for body text. The strongest is Moss Green with Ivory at 4.94:1.

PairRatioBody text AA (4.5:1)Body text AAA (7:1)Large text and icons (3:1)
Moss Green / Ivory4.94:1PassFailPass
Moss Green / Golden Yellow3.23:1FailFailPass
Golden Yellow / Ivory1.53: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 #F6F4EA Ivory
Text #1A7854 Moss Green
Button #F3C12C Golden Yellow
Button text #000000
:root {
  --background: #F6F4EA;
  --text: #1A7854;
  --accent: #F3C12C;
  --on-accent: #000000;
}

Preview on a dashboard