---
title: "apcach"
description: "JavaScript library that generates colors from a target APCA contrast value instead of picking a color and checking after."
canonical: "https://vibing.inc/library/apcach-vg-0649"
category: "Design Tools & Generators"
subcategory: "Color"
license: "MIT"
author: "Evil Martians"
source: "https://evilmartians.com/opensource/apcach"
---

# apcach
JavaScript library that generates colors from a target APCA contrast value instead of picking a color and checking after.
## Facts
- Source: https://evilmartians.com/opensource/apcach
- Category: Design Tools & Generators / Color
- Author: Evil Martians
- Licence: MIT
- Tags: apca, oklch, contrast, javascript
## Why it's a gem
Inverts the contrast workflow: declare the contrast, get the color. Rare idea.
---
Listed in The Vibeary: https://vibing.inc/library/apcach-vg-0649 · JSON: https://vibing.inc/api/public/library/gems/apcach-vg-0649