最接近的命名颜色 · #62AB62
#62AB62
最接近的命名颜色: Ferntastic
#62AB62(rgb(98 171 98)、hsl(120 30% 53%)、oklch(0.675 0.128 144))最接近命名颜色 Ferntastic。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#62AB62
oklch(0.675 0.128 144)
颜色转换
- HEX
- #62ab62
- RGB
- rgb(98 171 98)
- HSL
- hsl(120 30% 53%)
- HWB
- hwb(120 38% 33%)
- OKLCH
- oklch(0.675 0.128 144)
- OKLab
- oklab(0.675 -0.104 0.075)
- CIE Lab
- lab(63.88 -35.31 30.13)
- LCH
- lch(63.88 46.42 139.5)
- CMYK
- cmyk(43% 0% 43% 33%)
浅色调 · 深色调 · 灰色调
浅色调
- 72B372
- 82BC81
- 92C491
- A2CDA0
- B1D5B0
- C1DEBF
- D0E6CF
- E0EEDF
- EFF7EF
深色调
- 549454
- 477E47
- 3A683A
- 2D542D
- 214021
- 162D16
- 0B1B0B
- 030B03
- 000100
灰色调
- 66A766
- 6AA369
- 6E9E6D
- 719A70
- 749673
- 779276
- 798D79
- 7C897B
- 7E847E
配色和谐
互补色 +180°
- 62AB62
Ferntastic
- BD7AC3
≈ Gulābī Pink
类似色 -30° +30°
- 62AB62
Ferntastic
- 969F36
≈ Pickled Cucumber
- 03B091
≈ Victorian Greenhouse
三角配色 +120° +240°
- 62AB62
Ferntastic
- 6E95E6
≈ Guilliman Blue
- DA7570
≈ Lantana
分裂互补色 +150° +210°
- 62AB62
Ferntastic
- 9C86DE
≈ Perrywinkle
- D3739C
≈ Camellia Pink
四角配色 +90° +180° +270°
- 62AB62
Ferntastic
- 2CA3D9
≈ Blue Damselfly
- BD7AC3
≈ Gulābī Pink
- D37F43
≈ Pumpkin Bread
对比度与无障碍
Ag
Fail白底
WCAG 2.79:1 · APCA Lc 54
Ag
AAA黑底
WCAG 7.52:1 · APCA Lc 48
最佳文字颜色: #000000
WCAG 7.52:1 (AAA) · APCA Lc 48
Contrast pairs
代码片段
CSS
:root {
--ferntastic: #62ab62;
--ferntastic-rgb: 98 171 98;
--ferntastic-oklch: oklch(0.675 0.128 144);
}
.element {
color: var(--ferntastic);
background-color: hsl(120 30% 53%);
border-color: oklch(0.675 0.128 144);
}Tailwind CSS v4
@theme {
--color-ferntastic: #62ab62;
--color-ferntastic-50: #dfffe0;
--color-ferntastic-100: #cdf4cf;
--color-ferntastic-200: #b1e4b4;
--color-ferntastic-300: #8cc990;
--color-ferntastic-400: #6db26c;
--color-ferntastic-500: #4a9b4b;
--color-ferntastic-600: #3f8340;
--color-ferntastic-700: #326933;
--color-ferntastic-800: #264d22;
--color-ferntastic-900: #193616;
--color-ferntastic-950: #092107;
}SCSS
$ferntastic: #62ab62;
$ferntastic-rgb: 98, 171, 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);
}