最接近的命名颜色 · #6BAA62
#6BAA62
最接近的命名颜色: Ferntastic
#6BAA62(rgb(107 170 98)、hsl(113 30% 53%)、oklch(0.677 0.121 141.3))最接近命名颜色 Ferntastic。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#6BAA62
oklch(0.677 0.121 141.3)
颜色转换
- HEX
- #6baa62
- RGB
- rgb(107 170 98)
- HSL
- hsl(113 30% 53%)
- HWB
- hwb(113 38% 33%)
- OKLCH
- oklch(0.677 0.121 141.3)
- OKLab
- oklab(0.677 -0.095 0.076)
- CIE Lab
- lab(64.02 -31.99 30.42)
- LCH
- lch(64.02 44.14 136.4)
- CMYK
- cmyk(37% 0% 42% 33%)
浅色调 · 深色调 · 灰色调
浅色调
- 7AB372
- 89BB81
- 98C491
- A6CCA0
- B5D5B0
- C4DDBF
- D2E6CF
- E1EEDF
- F0F7EF
深色调
- 5C9354
- 4E7D47
- 3F683A
- 32532D
- 253F21
- 182D16
- 0D1B0B
- 040B03
- 000100
灰色调
- 6EA666
- 71A269
- 739E6D
- 759A70
- 789573
- 799176
- 7B8D79
- 7D897B
- 7F847E
配色和谐
互补色 +180°
- 6BAA62
Ferntastic
- BA7DC4
≈ Lavender Sweater
类似色 -30° +30°
- 6BAA62
Ferntastic
- 9A9E3B
≈ Fresh Apple
- 2BAF8E
≈ Mermaid Song
三角配色 +120° +240°
- 6BAA62
Ferntastic
- 6D97E2
≈ Little Boy Blue
- D87776
≈ Red Cedar
分裂互补色 +150° +210°
- 6BAA62
Ferntastic
- 9889DC
≈ Perrywinkle
- CF77A0
≈ Heartbreaker
四角配色 +90° +180° +270°
- 6BAA62
Ferntastic
- 32A4D5
≈ Blue Tango
- BA7DC4
≈ Lavender Sweater
- D2804D
≈ Pumpkin Bread
对比度与无障碍
Ag
Fail白底
WCAG 2.78:1 · APCA Lc 53
Ag
AAA黑底
WCAG 7.55:1 · APCA Lc 48
最佳文字颜色: #000000
WCAG 7.55:1 (AAA) · APCA Lc 48
Contrast pairs
代码片段
CSS
:root {
--ferntastic: #6baa62;
--ferntastic-rgb: 107 170 98;
--ferntastic-oklch: oklch(0.677 0.121 141.3);
}
.element {
color: var(--ferntastic);
background-color: hsl(113 30% 53%);
border-color: oklch(0.677 0.121 141.3);
}Tailwind CSS v4
@theme {
--color-ferntastic: #6baa62;
--color-ferntastic-50: #e1ffdf;
--color-ferntastic-100: #d1f3ce;
--color-ferntastic-200: #b6e2b3;
--color-ferntastic-300: #92c88f;
--color-ferntastic-400: #75b06c;
--color-ferntastic-500: #549a4a;
--color-ferntastic-600: #488240;
--color-ferntastic-700: #396833;
--color-ferntastic-800: #2b4c22;
--color-ferntastic-900: #1d3516;
--color-ferntastic-950: #0d2007;
}SCSS
$ferntastic: #6baa62;
$ferntastic-rgb: 107, 170, 98;
$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);
}