最接近的命名颜色 · #8C6516
#8C6516
最接近的命名颜色: Alligator
#8C6516(rgb(140 101 22)、hsl(40 73% 32%)、oklch(0.534 0.103 79.6))最接近命名颜色 Alligator。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#8C6516
oklch(0.534 0.103 79.6)
颜色转换
- HEX
- #8c6516
- RGB
- rgb(140 101 22)
- HSL
- hsl(40 73% 32%)
- HWB
- hwb(40 9% 45%)
- OKLCH
- oklch(0.534 0.103 79.6)
- OKLab
- oklab(0.534 0.018 0.101)
- CIE Lab
- lab(45.92 11.02 47)
- LCH
- lch(45.92 48.28 76.8)
- CMYK
- cmyk(0% 28% 84% 45%)
浅色调 · 深色调 · 灰色调
浅色调
- 977434
- A3834C
- AE9263
- B9A179
- C5B08F
- D0C0A5
- DCCFBB
- E8DFD1
- F3EFE8
深色调
- 795712
- 67490D
- 553C09
- 432F06
- 332203
- 231702
- 140C01
- 070300
- 010000
灰色调
- 8B6828
- 8A6B35
- 896E40
- 88714A
- 877354
- 85765D
- 847966
- 837B6F
- 817E78
配色和谐
互补色 +180°
- 8C6516
Alligator
- 486DA8
≈ New Age Blue
类似色 -30° +30°
- 8C6516
Alligator
- 9C5932
≈ Indochine
- 71711F
≈ Olivetone
三角配色 +120° +240°
- 8C6516
Alligator
- 007C81
≈ Macquarie
- 875892
≈ Purple Tanzanite
分裂互补色 +150° +210°
- 8C6516
Alligator
- 0E779C
≈ Sea Sight
- 6C62A4
≈ Scampi
四角配色 +90° +180° +270°
对比度与无障碍
Ag
AA白底
WCAG 5.26:1 · APCA Lc 76
Ag
Fail黑底
WCAG 3.98:1 · APCA Lc 26
最佳文字颜色: #FFFFFF
WCAG 5.26:1 (AA) · APCA Lc 76
Contrast pairs
代码片段
CSS
:root {
--alligator: #8c6516;
--alligator-rgb: 140 101 22;
--alligator-oklch: oklch(0.534 0.103 79.6);
}
.element {
color: var(--alligator);
background-color: hsl(40 73% 32%);
border-color: oklch(0.534 0.103 79.6);
}Tailwind CSS v4
@theme {
--color-alligator: #8c6516;
--color-alligator-50: #fff3d5;
--color-alligator-100: #f9e5c2;
--color-alligator-200: #ebd1a3;
--color-alligator-300: #d2b37a;
--color-alligator-400: #bf9754;
--color-alligator-500: #aa7d28;
--color-alligator-600: #8f6a24;
--color-alligator-700: #73551d;
--color-alligator-800: #563d13;
--color-alligator-900: #3c2a0c;
--color-alligator-950: #261801;
}SCSS
$alligator: #8c6516;
$alligator-rgb: 140, 101, 22;
$alligator-light: mix(#fff, $alligator, 20%);
$alligator-dark: mix(#000, $alligator, 20%);
.element {
color: $alligator;
box-shadow: 0 0 0 2px rgba($alligator, 0.35);
}