Palette

    Edit the selected color

    Lowercase letters, digits and hyphens.

    Hue (angle) and chroma (distance from the center) in OKLCH

    Notes

    Contrast (WCAG 2.2)

    The ratio is (L1 + 0.05) / (L2 + 0.05), where L1 and L2 are the relative luminances of the lighter and darker color.

    • Normal text: 4.5:1 for AA (1.4.3), 7:1 for AAA (1.4.6).
    • Large text, at least 18 point (24px) or 14 point bold (about 18.5px): 3:1 for AA, 4.5:1 for AAA.
    • User interface components and graphics: 3:1 against adjacent colors (1.4.11, AA). There is no AAA level for these.

    Web Content Accessibility Guidelines 2.2

    Harmonies

    Hue angles from the base color, on the OKLCH hue circle:

    Shades and gamut

    Steps are evenly spaced in OKLCH lightness, at the hue of the base color. All colors and exports are sRGB.

    CSS Color Module Level 4

    Color vision

    Protanopia, deuteranopia, tritanopia and their milder forms (protanomaly, deuteranomaly, tritanomaly) use the simulation matrices of Machado, Oliveira and Fernandes (2009). The authors describe their tritanopia results as an approximation. Achromatopsia shows relative luminance only. Pairs closer than 0.05 in OKLab after simulation are listed as hard to distinguish.

    A Physiologically-based Model for Simulation of Color Vision Deficiency

    Keyboard

    Space
    Generate new unlocked colors
    ← →
    Select the previous or next swatch
    Alt + ← →
    Move the selected swatch
    L
    Lock or unlock the selected swatch
    C
    Copy the selected hex code
    Ctrl + Z
    Undo; add Shift to redo