最接近的命名颜色 · #6CA961
#6CA961
最接近的命名颜色: Ferntastic
#6CA961(rgb(108 169 97)、hsl(111 30% 52%)、oklch(0.675 0.12 140.7))最接近命名颜色 Ferntastic。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#6CA961
oklch(0.675 0.12 140.7)
颜色转换
- HEX
- #6ca961
- RGB
- rgb(108 169 97)
- HSL
- hsl(111 30% 52%)
- HWB
- hwb(111 38% 34%)
- OKLCH
- oklch(0.675 0.12 140.7)
- OKLab
- oklab(0.675 -0.093 0.076)
- CIE Lab
- lab(63.76 -31.33 30.62)
- LCH
- lch(63.76 43.81 135.7)
- CMYK
- cmyk(36% 0% 43% 34%)
浅色调 · 深色调 · 灰色调
浅色调
- 7BB271
- 89BA81
- 98C390
- A7CBA0
- B5D4AF
- C4DDBF
- D2E5CF
- E1EEDF
- F0F6EF
深色调
- 5D9253
- 4E7C46
- 406739
- 32532D
- 253F21
- 192C15
- 0D1B0B
- 040A03
- 000100
灰色调
- 6FA565
- 71A169
- 749D6C
- 76996F
- 789572
- 7A9175
- 7B8D78
- 7D887B
- 7F847E
配色和谐
互补色 +180°
- 6CA961
Ferntastic
- B87DC4
≈ Lavender Sweater
类似色 -30° +30°
- 6CA961
Ferntastic
- 9B9D3B
≈ Be Yourself
- 2EAE8C
≈ Mermaid Song
三角配色 +120° +240°
- 6CA961
Ferntastic
- 6B97E1
≈ Little Boy Blue
- D77777
≈ Red Cedar
分裂互补色 +150° +210°
- 6CA961
Ferntastic
- 9789DB
≈ Perrywinkle
- CE76A0
≈ Heartbreaker
四角配色 +90° +180° +270°
- 6CA961
Ferntastic
- 32A3D3
≈ Blue Tango
- B87DC4
≈ Lavender Sweater
- D17F4E
≈ Apricot Buff
对比度与无障碍
Ag
Fail白底
WCAG 2.80:1 · APCA Lc 54
Ag
AAA黑底
WCAG 7.48:1 · APCA Lc 48
最佳文字颜色: #000000
WCAG 7.48:1 (AAA) · APCA Lc 48
Contrast pairs
代码片段
CSS
:root {
--ferntastic: #6ca961;
--ferntastic-rgb: 108 169 97;
--ferntastic-oklch: oklch(0.675 0.12 140.7);
}
.element {
color: var(--ferntastic);
background-color: hsl(111 30% 52%);
border-color: oklch(0.675 0.12 140.7);
}Tailwind CSS v4
@theme {
--color-ferntastic: #6ca961;
--color-ferntastic-50: #e2ffdf;
--color-ferntastic-100: #d1f3ce;
--color-ferntastic-200: #b7e2b3;
--color-ferntastic-300: #93c88f;
--color-ferntastic-400: #76b06c;
--color-ferntastic-500: #56994a;
--color-ferntastic-600: #49823f;
--color-ferntastic-700: #3a6832;
--color-ferntastic-800: #2c4c21;
--color-ferntastic-900: #1d3516;
--color-ferntastic-950: #0d2007;
}SCSS
$ferntastic: #6ca961;
$ferntastic-rgb: 108, 169, 97;
$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);
}