最接近的命名颜色 · #52745E
#52745E
最接近的命名颜色: Cactus
#52745E(rgb(82 116 94)、hsl(141 17% 39%)、oklch(0.526 0.052 155.8))最接近命名颜色 Cactus。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#52745E
oklch(0.526 0.052 155.8)
颜色转换
- HEX
- #52745e
- RGB
- rgb(82 116 94)
- HSL
- hsl(141 17% 39%)
- HWB
- hwb(141 32% 55%)
- OKLCH
- oklch(0.526 0.052 155.8)
- OKLab
- oklab(0.526 -0.048 0.021)
- CIE Lab
- lab(45.74 -16.43 8.11)
- LCH
- lch(45.74 18.33 153.7)
- CMYK
- cmyk(29% 0% 19% 55%)
浅色调 · 深色调 · 灰色调
浅色调
- 62816D
- 738E7C
- 839C8B
- 94A99B
- A6B7AB
- B7C5BB
- C9D3CC
- DBE2DD
- EDF0EE
深色调
- 466451
- 3B5444
- 2F4537
- 25372B
- 1A291F
- 111B14
- 080F0A
- 020503
- 000100
灰色调
- 577561
- 5C7765
- 607868
- 65796C
- 6A7A6F
- 6E7B72
- 737D76
- 777E79
- 7C7F7D
配色和谐
互补色 +180°
- 52745E
Cactus
- 7E5F76
≈ Chicha Morada
类似色 -30° +30°
- 52745E
Cactus
- 63704F
≈ Greenfield
- 46756F
≈ Tandayapa Cloud Forest
三角配色 +120° +240°
- 52745E
Cactus
- 626889
≈ Champion Blue
- 866056
≈ Clove
分裂互补色 +150° +210°
- 52745E
Cactus
- 726383
≈ Posy Purple
- 855E66
≈ Rabbit Paws
四角配色 +90° +180° +270°
对比度与无障碍
Ag
AA白底
WCAG 5.22:1 · APCA Lc 76
Ag
Fail黑底
WCAG 4.01:1 · APCA Lc 26
最佳文字颜色: #FFFFFF
WCAG 5.22:1 (AA) · APCA Lc 76
Contrast pairs
代码片段
CSS
:root {
--cactus: #52745e;
--cactus-rgb: 82 116 94;
--cactus-oklch: oklch(0.526 0.052 155.8);
}
.element {
color: var(--cactus);
background-color: hsl(141 17% 39%);
border-color: oklch(0.526 0.052 155.8);
}Tailwind CSS v4
@theme {
--color-cactus: #52745e;
--color-cactus-50: #eafaef;
--color-cactus-100: #daeee1;
--color-cactus-200: #c3dbcc;
--color-cactus-300: #a2c0ad;
--color-cactus-400: #86a892;
--color-cactus-500: #6a9178;
--color-cactus-600: #5a7b65;
--color-cactus-700: #486251;
--color-cactus-800: #34483a;
--color-cactus-900: #243228;
--color-cactus-950: #121e16;
}SCSS
$cactus: #52745e;
$cactus-rgb: 82, 116, 94;
$cactus-light: mix(#fff, $cactus, 20%);
$cactus-dark: mix(#000, $cactus, 20%);
.element {
color: $cactus;
box-shadow: 0 0 0 2px rgba($cactus, 0.35);
}