명도 대비 계산
check_contrastCalculate the luminance contrast ratio between text and background colors, then determine if it passes KWCAG 5.4.3 (1.4.3) accessibility criteria.
Instructions
두 색상 사이의 명도 대비를 계산하고 KWCAG 5.4.3(1.4.3) 기준 통과 여부를 판정한다.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bold | No | ||
| background | Yes | 배경 색. hex/rgb()/rgba()/hsl()/hsla()/CSS 색 이름 | |
| fontSizePx | No | ||
| foreground | Yes | 전경(텍스트) 색. hex/rgb()/rgba()/hsl()/hsla()/CSS 색 이름 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| aa | Yes | ||
| aaa | Yes | ||
| alias | Yes | ||
| kwcag | Yes | ||
| ratio | Yes | ||
| largeText | Yes | ||
| threshold | Yes |