最接近的命名颜色 · #8B6618
#8B6618
最接近的命名颜色: Alligator
#8B6618(rgb(139 102 24)、hsl(41 71% 32%)、oklch(0.535 0.101 81))最接近命名颜色 Alligator。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#8B6618
oklch(0.535 0.101 81)
颜色转换
- HEX
- #8b6618
- RGB
- rgb(139 102 24)
- HSL
- hsl(41 71% 32%)
- HWB
- hwb(41 9% 45%)
- OKLCH
- oklch(0.535 0.101 81)
- OKLab
- oklab(0.535 0.016 0.1)
- CIE Lab
- lab(46.08 10.05 46.37)
- LCH
- lch(46.08 47.45 77.8)
- CMYK
- cmyk(0% 27% 83% 45%)
浅色调 · 深色调 · 灰色调
浅色调
- 967535
- A2834D
- AD9264
- B9A179
- C4B18F
- D0C0A5
- DCD0BB
- E7DFD2
- F3EFE8
深色调
- 785813
- 664A0F
- 543C0A
- 432F07
- 322304
- 231702
- 140C01
- 070400
- 010000
灰色调
- 8A6929
- 896C36
- 886F41
- 87714B
- 867454
- 85765E
- 847966
- 837B6F
- 817E78
配色和谐
互补色 +180°
- 8B6618
Alligator
- 4B6DA8
≈ New Age Blue
类似色 -30° +30°
- 8B6618
Alligator
- 9B5A32
≈ Indochine
- 707222
≈ Olivetone
三角配色 +120° +240°
- 8B6618
Alligator
- 007C83
≈ Cote D’Azur
- 885891
≈ Purple Tanzanite
分裂互补色 +150° +210°
- 8B6618
Alligator
- 16779D
≈ Mitchell Blue
- 6E62A3
≈ Scampi
四角配色 +90° +180° +270°
对比度与无障碍
Ag
AA白底
WCAG 5.23:1 · APCA Lc 76
Ag
Fail黑底
WCAG 4.01:1 · APCA Lc 26
最佳文字颜色: #FFFFFF
WCAG 5.23:1 (AA) · APCA Lc 76
Contrast pairs
代码片段
CSS
:root {
--alligator: #8b6618;
--alligator-rgb: 139 102 24;
--alligator-oklch: oklch(0.535 0.101 81);
}
.element {
color: var(--alligator);
background-color: hsl(41 71% 32%);
border-color: oklch(0.535 0.101 81);
}Tailwind CSS v4
@theme {
--color-alligator: #8b6618;
--color-alligator-50: #fff3d5;
--color-alligator-100: #f9e6c2;
--color-alligator-200: #ead1a3;
--color-alligator-300: #d1b37b;
--color-alligator-400: #bd9855;
--color-alligator-500: #a87e2a;
--color-alligator-600: #8e6b25;
--color-alligator-700: #72551e;
--color-alligator-800: #553e14;
--color-alligator-900: #3b2a0c;
--color-alligator-950: #251801;
}SCSS
$alligator: #8b6618;
$alligator-rgb: 139, 102, 24;
$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);
}