Color-Mint: OKLCH Color Palette Generator & Design System Suite
Color-Mint is an advanced, client-side color engineering suite engineered in the OKLCH color space by Sarthak Ranjan Hota. Designed specifically for UI/UX designers, design system engineers, and frontend developers, Color-Mint delivers mathematically coherent color harmonies, real-time accessibility contrast matrices, procedural Bézier gradients, and ocular vision deficiency simulations.
Why OKLCH Color Space Outperforms Legacy sRGB and HSL
Traditional web color models such as sRGB, Hex, and HSL suffer from severe perceptual non-uniformity. In HSL, pure yellow possesses a human perceived lightness of roughly 93 percent, whereas pure blue has a perceived lightness of only 26 percent, despite both sharing an identical lightness value of 50 percent. This mathematical discrepancy causes automated color tools in sRGB to produce garish, clashing, or illegible color combinations. OKLCH solves this by modeling color along three perceptual human visual axes: Lightness (L), Chroma (C), and Hue (H). In OKLCH, identical lightness values correspond to identical perceived visual brightness, guaranteeing balanced typography, accessible surface tokens, and cohesive visual hierarchy.
Algorithmic Color Harmonies Supported
Color-Mint calculates color relationships along the cylindrical OKLCH manifold across nine mathematical harmony models: Monochromatic for subtle tonal variation, Complementary for high-contrast pairs, Analogous for nature-inspired cohesion, Triadic and Tetradic for multi-hue systems, Split Complementary and Square for balanced complexity, Tonal ramps for design token scales, and Freeform procedural walks with minimum perceptual distance thresholds.
Accessibility Compliance: WCAG 2.1 AAA and APCA Standards
Accessible color design is central to Color-Mint. Our integrated tools evaluate relative luminance compliance against W3C Web Content Accessibility Guidelines (WCAG 2.1) Level AA (4.5 to 1 ratio) and Level AAA (7 to 1 ratio). Furthermore, Color-Mint integrates the Accessible Perceptual Contrast Algorithm (APCA), analyzing font weights, spatial frequencies, and display polarity to eliminate contrast false positives in dark mode and light mode interfaces. Built-in ocular simulation matrices enable real-time previews for Protanopia, Deuteranopia, Tritanopia, and Achromatopsia.
Keyboard Shortcuts & Rapid Workflow
- Press Spacebar to instantly compute and generate a new harmonic OKLCH palette.
- Press numbers 1 through 8 to lock specific color columns in place.
- Press L to lock the currently hovered color column.
- Press S to open the 100 to 900 tint and shade distribution dialog.
- Press E to export palette tokens into Tailwind CSS v4, CSS Custom Properties, JSON, SVG, PNG, or Base62 shareable URLs.