最接近的命名颜色 · #78A93B
#78A93B
最接近的命名颜色: Leaf
#78A93B(rgb(120 169 59)、hsl(87 48% 45%)、oklch(0.677 0.149 130.1))最接近命名颜色 Leaf。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#78A93B
oklch(0.677 0.149 130.1)
颜色转换
- HEX
- #78a93b
- RGB
- rgb(120 169 59)
- HSL
- hsl(87 48% 45%)
- HWB
- hwb(87 23% 34%)
- OKLCH
- oklch(0.677 0.149 130.1)
- OKLab
- oklab(0.677 -0.096 0.114)
- CIE Lab
- lab(64.07 -30.19 49.19)
- LCH
- lch(64.07 57.72 121.5)
- CMYK
- cmyk(29% 0% 65% 34%)
浅色调 · 深色调 · 灰色调
浅色调
- 85B252
- 92BB67
- 9FC37B
- ADCC8E
- BAD4A1
- C8DDB4
- D5E6C7
- E3EED9
- F1F7EC
深色调
- 679232
- 577C29
- 486721
- 395319
- 2A3F11
- 1D2C09
- 101B04
- 050A01
- 010100
灰色调
- 79A546
- 7AA14F
- 7B9D57
- 7C995E
- 7D9565
- 7D916B
- 7E8D71
- 7F8976
- 7F847B
配色和谐
互补色 +180°
- 78A93B
Leaf
- B47BDB
≈ Lavender Blossom
类似色 -30° +30°
三角配色 +120° +240°
分裂互补色 +150° +210°
四角配色 +90° +180° +270°
对比度与无障碍
Ag
Fail白底
WCAG 2.78:1 · APCA Lc 54
Ag
AAA黑底
WCAG 7.53:1 · APCA Lc 48
最佳文字颜色: #000000
WCAG 7.53:1 (AAA) · APCA Lc 48
Contrast pairs
代码片段
CSS
:root {
--leaf: #78a93b;
--leaf-rgb: 120 169 59;
--leaf-oklch: oklch(0.677 0.149 130.1);
}
.element {
color: var(--leaf);
background-color: hsl(87 48% 45%);
border-color: oklch(0.677 0.149 130.1);
}Tailwind CSS v4
@theme {
--color-leaf: #78a93b;
--color-leaf-50: #e5ffd3;
--color-leaf-100: #d6f3c0;
--color-leaf-200: #bde2a0;
--color-leaf-300: #9bc876;
--color-leaf-400: #80af49;
--color-leaf-500: #649809;
--color-leaf-600: #558110;
--color-leaf-700: #44670e;
--color-leaf-800: #334b03;
--color-leaf-900: #233403;
--color-leaf-950: #122000;
}SCSS
$leaf: #78a93b;
$leaf-rgb: 120, 169, 59;
$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);
}