最接近的命名颜色 · #6CAA5C
#6CAA5C
最接近的命名颜色: Ferntastic
#6CAA5C(rgb(108 170 92)、hsl(108 31% 51%)、oklch(0.677 0.127 139.4))最接近命名颜色 Ferntastic。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#6CAA5C
oklch(0.677 0.127 139.4)
颜色转换
- HEX
- #6caa5c
- RGB
- rgb(108 170 92)
- HSL
- hsl(108 31% 51%)
- HWB
- hwb(108 36% 33%)
- OKLCH
- oklch(0.677 0.127 139.4)
- OKLab
- oklab(0.677 -0.096 0.083)
- CIE Lab
- lab(64 -32.28 33.48)
- LCH
- lch(64 46.51 134)
- CMYK
- cmyk(36% 0% 46% 33%)
浅色调 · 深色调 · 灰色调
浅色调
- 7BB36D
- 89BB7D
- 98C48D
- A7CC9D
- B5D5AD
- C4DDBD
- D2E6CE
- E1EEDE
- F0F7EE
深色调
- 5D934F
- 4E7D42
- 406836
- 32532A
- 253F1F
- 192D14
- 0D1B0A
- 040B03
- 000100
灰色调
- 6FA661
- 71A265
- 749E69
- 769A6D
- 789570
- 7A9174
- 7B8D77
- 7D897A
- 7F847D
配色和谐
互补色 +180°
- 6CAA5C
Ferntastic
- B97CC8
≈ Lavender Sweater
类似色 -30° +30°
- 6CAA5C
Ferntastic
- 9D9D32
≈ Pickled Cucumber
- 23B08A
≈ Mermaid Song
三角配色 +120° +240°
- 6CAA5C
Ferntastic
- 6797E5
≈ Guilliman Blue
- DA7577
≈ Red Cedar
分裂互补色 +150° +210°
- 6CAA5C
Ferntastic
- 9689E0
≈ Perrywinkle
- D175A3
≈ Heartbreaker
四角配色 +90° +180° +270°
- 6CAA5C
Ferntastic
- 20A5D6
≈ Modal
- B97CC8
≈ Lavender Sweater
- D57E4B
≈ Copper Harbor
对比度与无障碍
Ag
Fail白底
WCAG 2.78:1 · APCA Lc 54
Ag
AAA黑底
WCAG 7.54:1 · APCA Lc 48
最佳文字颜色: #000000
WCAG 7.54:1 (AAA) · APCA Lc 48
Contrast pairs
代码片段
CSS
:root {
--ferntastic: #6caa5c;
--ferntastic-rgb: 108 170 92;
--ferntastic-oklch: oklch(0.677 0.127 139.4);
}
.element {
color: var(--ferntastic);
background-color: hsl(108 31% 51%);
border-color: oklch(0.677 0.127 139.4);
}Tailwind CSS v4
@theme {
--color-ferntastic: #6caa5c;
--color-ferntastic-50: #e2ffdd;
--color-ferntastic-100: #d1f3cc;
--color-ferntastic-200: #b6e2b0;
--color-ferntastic-300: #93c88b;
--color-ferntastic-400: #76b166;
--color-ferntastic-500: #559a43;
--color-ferntastic-600: #49823a;
--color-ferntastic-700: #3a682e;
--color-ferntastic-800: #2b4c1e;
--color-ferntastic-900: #1d3514;
--color-ferntastic-950: #0d2005;
}SCSS
$ferntastic: #6caa5c;
$ferntastic-rgb: 108, 170, 92;
$ferntastic-light: mix(#fff, $ferntastic, 20%);
$ferntastic-dark: mix(#000, $ferntastic, 20%);
.element {
color: $ferntastic;
box-shadow: 0 0 0 2px rgba($ferntastic, 0.35);
}