最接近的命名颜色 · #4CAF4F
#4CAF4F
最接近的命名颜色: Matt Green
#4CAF4F(rgb(76 175 79)、hsl(122 39% 49%)、oklch(0.673 0.163 144))最接近命名颜色 Matt Green。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#4CAF4F
oklch(0.673 0.163 144)
颜色转换
- HEX
- #4caf4f
- RGB
- rgb(76 175 79)
- HSL
- hsl(122 39% 49%)
- HWB
- hwb(122 30% 31%)
- OKLCH
- oklch(0.673 0.163 144)
- OKLab
- oklab(0.673 -0.132 0.096)
- CIE Lab
- lab(64.01 -45.1 39.48)
- LCH
- lch(64.01 59.94 138.8)
- CMYK
- cmyk(57% 0% 55% 31%)
浅色调 · 深色调 · 灰色调
浅色调
- 61B762
- 74C074
- 86C885
- 98D097
- AAD8A8
- BBE0B9
- CCE8CB
- DDF0DC
- EEF7ED
深色调
- 419844
- 368138
- 2C6B2E
- 225623
- 184119
- 0F2E10
- 061C07
- 020B02
- 000100
灰色调
- 54AB56
- 5BA65C
- 62A261
- 679D67
- 6C986B
- 719470
- 758F74
- 798A78
- 7D857C
配色和谐
互补色 +180°
- 4CAF4F
Matt Green
- C66FCE
≈ Purple Kush
类似色 -30° +30°
- 4CAF4F
Matt Green
- 969F00
≈ Forest Lichen
- 00AF90
≈ Hobgoblin
三角配色 +120° +240°
- 4CAF4F
Matt Green
- 6291FA
≈ Polar Glow
- E96763
≈ Coral Commander
分裂互补色 +150° +210°
- 4CAF4F
Matt Green
- 9D7FEF
≈ Forgotten Purple
- E0659D
≈ Cosmetologist’s Pink
四角配色 +90° +180° +270°
- 4CAF4F
Matt Green
- 00A3DF
≈ Vanadyl Blue
- C66FCE
≈ Purple Kush
- E17513
≈ Pumpkin Soup
对比度与无障碍
Ag
Fail白底
WCAG 2.78:1 · APCA Lc 53
Ag
AAA黑底
WCAG 7.55:1 · APCA Lc 49
最佳文字颜色: #000000
WCAG 7.55:1 (AAA) · APCA Lc 49
Contrast pairs
代码片段
CSS
:root {
--matt-green: #4caf4f;
--matt-green-rgb: 76 175 79;
--matt-green-oklch: oklch(0.673 0.163 144);
}
.element {
color: var(--matt-green);
background-color: hsl(122 39% 49%);
border-color: oklch(0.673 0.163 144);
}Tailwind CSS v4
@theme {
--color-matt-green: #4caf4f;
--color-matt-green-50: #d8ffda;
--color-matt-green-100: #c5f7c8;
--color-matt-green-200: #a7e7aa;
--color-matt-green-300: #7dce84;
--color-matt-green-400: #5ab75c;
--color-matt-green-500: #2aa033;
--color-matt-green-600: #27872d;
--color-matt-green-700: #1f6d24;
--color-matt-green-800: #195015;
--color-matt-green-900: #10370d;
--color-matt-green-950: #032202;
}SCSS
$matt-green: #4caf4f;
$matt-green-rgb: 76, 175, 79;
$matt-green-light: mix(#fff, $matt-green, 20%);
$matt-green-dark: mix(#000, $matt-green, 20%);
.element {
color: $matt-green;
box-shadow: 0 0 0 2px rgba($matt-green, 0.35);
}