最接近的命名颜色 · #8A6612
#8A6612
最接近的命名颜色: Alligator
#8A6612(rgb(138 102 18)、hsl(42 77% 31%)、oklch(0.533 0.104 82.6))最接近命名颜色 Alligator。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#8A6612
oklch(0.533 0.104 82.6)
颜色转换
- HEX
- #8a6612
- RGB
- rgb(138 102 18)
- HSL
- hsl(42 77% 31%)
- HWB
- hwb(42 7% 46%)
- OKLCH
- oklch(0.533 0.104 82.6)
- OKLab
- oklab(0.533 0.013 0.103)
- CIE Lab
- lab(45.93 9.45 48.17)
- LCH
- lch(45.93 49.09 78.9)
- CMYK
- cmyk(0% 26% 87% 46%)
浅色调 · 深色调 · 灰色调
浅色调
- 957532
- A1834B
- AC9262
- B8A178
- C4B18E
- CFC0A4
- DBD0BB
- E7DFD1
- F3EFE8
深色调
- 77580E
- 654A0A
- 533C07
- 422F04
- 322302
- 221701
- 140C01
- 070400
- 010000
灰色调
- 896925
- 886C33
- 876F3F
- 877149
- 867453
- 85765D
- 837966
- 827B6F
- 817E77
配色和谐
互补色 +180°
- 8A6612
Alligator
- 4C6BA9
≈ New Age Blue
类似色 -30° +30°
- 8A6612
Alligator
- 9B5A2E
≈ Indochine
- 6E7220
≈ Fern Frond
三角配色 +120° +240°
- 8A6612
Alligator
- 007C84
≈ Cote D’Azur
- 895790
≈ Purple Tanzanite
分裂互补色 +150° +210°
- 8A6612
Alligator
- 15769E
≈ Mitchell Blue
- 6F60A3
≈ 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: #8a6612;
--alligator-rgb: 138 102 18;
--alligator-oklch: oklch(0.533 0.104 82.6);
}
.element {
color: var(--alligator);
background-color: hsl(42 77% 31%);
border-color: oklch(0.533 0.104 82.6);
}Tailwind CSS v4
@theme {
--color-alligator: #8a6612;
--color-alligator-50: #fff3d4;
--color-alligator-100: #f8e6c1;
--color-alligator-200: #e9d1a2;
--color-alligator-300: #d0b479;
--color-alligator-400: #bd9953;
--color-alligator-500: #a87f25;
--color-alligator-600: #8e6b22;
--color-alligator-700: #72561b;
--color-alligator-800: #553e11;
--color-alligator-900: #3b2b0b;
--color-alligator-950: #251801;
}SCSS
$alligator: #8a6612;
$alligator-rgb: 138, 102, 18;
$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);
}