最接近的命名颜色 · #74A946
#74A946
最接近的命名颜色: Leaf
#74A946(rgb(116 169 70)、hsl(92 41% 47%)、oklch(0.676 0.142 132.6))最接近命名颜色 Leaf。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#74A946
oklch(0.676 0.142 132.6)
颜色转换
- HEX
- #74a946
- RGB
- rgb(116 169 70)
- HSL
- hsl(92 41% 47%)
- HWB
- hwb(92 27% 34%)
- OKLCH
- oklch(0.676 0.142 132.6)
- OKLab
- oklab(0.676 -0.096 0.105)
- CIE Lab
- lab(63.92 -30.95 44.15)
- LCH
- lch(63.92 53.92 125)
- CMYK
- cmyk(31% 0% 59% 34%)
浅色调 · 深色调 · 灰色调
浅色调
- 82B25B
- 8FBA6E
- 9DC381
- ABCC93
- B8D4A5
- C6DDB7
- D4E5C9
- E2EEDB
- F1F7ED
深色调
- 64923C
- 547C32
- 456728
- 37531E
- 293F15
- 1B2C0D
- 0F1B05
- 050A02
- 010100
灰色调
- 76A54E
- 77A156
- 789D5C
- 7A9962
- 7B9568
- 7C916D
- 7D8D72
- 7E8977
- 7F847C
配色和谐
互补色 +180°
- 74A946
Leaf
- B57BD5
≈ Lavender Blossom
类似色 -30° +30°
三角配色 +120° +240°
分裂互补色 +150° +210°
- 74A946
Leaf
- 8B8AEB
≈ Perrywinkle
- D271AF
≈ Sky Magenta
四角配色 +90° +180° +270°
对比度与无障碍
Ag
Fail白底
WCAG 2.79:1 · APCA Lc 54
Ag
AAA黑底
WCAG 7.50:1 · APCA Lc 48
最佳文字颜色: #000000
WCAG 7.50:1 (AAA) · APCA Lc 48
Contrast pairs
代码片段
CSS
:root {
--leaf: #74a946;
--leaf-rgb: 116 169 70;
--leaf-oklch: oklch(0.676 0.142 132.6);
}
.element {
color: var(--leaf);
background-color: hsl(92 41% 47%);
border-color: oklch(0.676 0.142 132.6);
}Tailwind CSS v4
@theme {
--color-leaf: #74a946;
--color-leaf-50: #e4ffd6;
--color-leaf-100: #d4f3c3;
--color-leaf-200: #bbe2a5;
--color-leaf-300: #98c87c;
--color-leaf-400: #7db053;
--color-leaf-500: #5f9924;
--color-leaf-600: #518122;
--color-leaf-700: #41681b;
--color-leaf-800: #314c0e;
--color-leaf-900: #213509;
--color-leaf-950: #102000;
}SCSS
$leaf: #74a946;
$leaf-rgb: 116, 169, 70;
$leaf-light: mix(#fff, $leaf, 20%);
$leaf-dark: mix(#000, $leaf, 20%);
.element {
color: $leaf;
box-shadow: 0 0 0 2px rgba($leaf, 0.35);
}