# ColorOKLCH — OKLCH palette, gamut and contrast tool (OPYEB) > Static, client-side colour tool: an 11-step 50-950 OKLCH palette from L, C and H, > sRGB and Display-P3 gamut checks with chroma clipping and hex fallbacks, WCAG 2.1 > and APCA Lc contrast for all 121 foreground/background pairs, lightness corrections, > and light-dark(), CSS custom property and Tailwind v4 @theme export. > No server calculation, no account, no uploads, no stored inputs, no public JSON API. Site: https://coloroklch.opyeb.com/ Operator: OPYEB Contact: https://opyeb.com/contact/ Basis date: 2026-11-28 Version: 1.0.0 Languages: Korean (/), English (/en/) Retrieval: HTML pages only. Every URL below is a static HTML page. ## Pages - https://coloroklch.opyeb.com/ — Korean palette generator (palette, contrast matrix, export) - https://coloroklch.opyeb.com/en/ — English palette generator - https://coloroklch.opyeb.com/guides/ — 15 Korean guides - https://coloroklch.opyeb.com/en/guides/ — 15 English guides - https://coloroklch.opyeb.com/about/ · https://coloroklch.opyeb.com/privacy/ · https://coloroklch.opyeb.com/terms/ · https://coloroklch.opyeb.com/contact/ - https://coloroklch.opyeb.com/en/about/ · https://coloroklch.opyeb.com/en/privacy/ · https://coloroklch.opyeb.com/en/terms/ · https://coloroklch.opyeb.com/en/contact/ ## Korean guides - https://coloroklch.opyeb.com/guides/oklch-color-guide/ - https://coloroklch.opyeb.com/guides/oklch-syntax-and-units/ - https://coloroklch.opyeb.com/guides/oklab-vs-oklch/ - https://coloroklch.opyeb.com/guides/perceptual-lightness/ - https://coloroklch.opyeb.com/guides/gamut-srgb-p3-rec2020/ - https://coloroklch.opyeb.com/guides/gamut-mapping-and-clipping/ - https://coloroklch.opyeb.com/guides/css-relative-color-syntax/ - https://coloroklch.opyeb.com/guides/light-dark-function/ - https://coloroklch.opyeb.com/guides/wcag-contrast-21/ - https://coloroklch.opyeb.com/guides/apca-contrast-lc/ - https://coloroklch.opyeb.com/guides/wcag-vs-apca/ - https://coloroklch.opyeb.com/guides/accessible-palette-design/ - https://coloroklch.opyeb.com/guides/dark-mode-tokens/ - https://coloroklch.opyeb.com/guides/tailwind-v4-theme/ - https://coloroklch.opyeb.com/guides/design-tokens-css-variables/ ## English guides - https://coloroklch.opyeb.com/en/guides/oklch-color-guide/ - https://coloroklch.opyeb.com/en/guides/oklch-syntax-and-units/ - https://coloroklch.opyeb.com/en/guides/oklab-vs-oklch/ - https://coloroklch.opyeb.com/en/guides/perceptual-lightness/ - https://coloroklch.opyeb.com/en/guides/gamut-srgb-p3-rec2020/ - https://coloroklch.opyeb.com/en/guides/gamut-mapping-and-clipping/ - https://coloroklch.opyeb.com/en/guides/css-relative-color-syntax/ - https://coloroklch.opyeb.com/en/guides/light-dark-function/ - https://coloroklch.opyeb.com/en/guides/wcag-contrast-21/ - https://coloroklch.opyeb.com/en/guides/apca-contrast-lc/ - https://coloroklch.opyeb.com/en/guides/wcag-vs-apca/ - https://coloroklch.opyeb.com/en/guides/accessible-palette-design/ - https://coloroklch.opyeb.com/en/guides/dark-mode-tokens/ - https://coloroklch.opyeb.com/en/guides/tailwind-v4-theme/ - https://coloroklch.opyeb.com/en/guides/design-tokens-css-variables/ ## Definitions (basis 2026-11-28) - OKLCH: perceptual colour space with lightness L (0-100%), chroma C (0-0.4 for sRGB use) and hue H (0-360 degrees) - Palette step: L(step) = clamp(L500 + offset, 1, 99), C(step) = clamp(C500 x factor, 0, 0.4); offsets +39, +35, +29, +20, +10, 0, -9, -18, -26, -33, -40 for 50 to 950, factors 0.22, 0.36, 0.58, 0.78, 0.94, 1, 1, 0.95, 0.88, 0.76, 0.6 - OKLCH to sRGB: oklab(L, C cos H, C sin H) -> LMS cubes -> linear sRGB -> sRGB transfer function - Gamut test: all three linear channels within [0, 1] for sRGB, and the same after the XYZ D65 matrix for Display-P3 - Gamut clip: largest chroma inside sRGB found by 28-step binary search; the hex value uses the clipped chroma - WCAG 2.1 ratio: (L1 + 0.05) / (L2 + 0.05), L = 0.2126 R + 0.7152 G + 0.0722 B with the sRGB transfer function; AA 4.5:1, AAA 7:1, large text 3:1 - APCA Lc: Y = 0.2126729 R^2.4 + 0.7151522 G^2.4 + 0.0721750 B^2.4 with the soft black clamp, polarity exponents (0.56/0.57 on light backgrounds, 0.62/0.65 reversed) and 1.14 scaling - APCA levels: 90 preferred body text, 75 minimum body text, 60 non-body content, 45 large text, 30 any text, 15 non-text - Lightness correction: chroma and hue fixed, L moved in 0.5-point steps away from the background to the first value that clears the target ratio - light-dark(): CSS Color 5 function; needs color-scheme: light dark; Baseline since May 2024 (Chrome 123, Safari 17.5, Firefox 120) ## Guarantees and limits - No upload, no server, no analytics, no cookies set by the site; only localStorage `coloroklch-theme`. - AdSense loads only on opyeb.com and subdomains, never on localhost, 127.0.0.1 or a file URL. - The .css download is built in the browser from the current inputs; nothing is uploaded. - Contrast figures are calculations, not an accessibility certification; APCA is a WCAG 3 draft candidate. - The tool accepts no names, images, files or personal data. ## Disclaimer ColorOKLCH is a colour calculator, not an accessibility certification. Every value is computed in your browser from the L, C and H you enter and the published specifications (WCAG 2.1, CSS Color 4 and 5, APCA). Contrast figures change with the display, font, weight and user settings, and APCA is still a candidate method for the WCAG 3 draft. Where a law or contract requires WCAG 2.x, judge with the WCAG 2.1 figures, and test important screens with real users.