最接近的命名颜色 · #4DAF4B
#4DAF4B
最接近的命名颜色: Matt Green
#4DAF4B(rgb(77 175 75)、hsl(119 40% 49%)、oklch(0.673 0.166 143.1))最接近命名颜色 Matt Green。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#4DAF4B
oklch(0.673 0.166 143.1)
颜色转换
- HEX
- #4daf4b
- RGB
- rgb(77 175 75)
- HSL
- hsl(119 40% 49%)
- HWB
- hwb(119 29% 31%)
- OKLCH
- oklch(0.673 0.166 143.1)
- OKLab
- oklab(0.673 -0.133 0.1)
- CIE Lab
- lab(64.01 -45.22 41.37)
- LCH
- lch(64.01 61.29 137.5)
- CMYK
- cmyk(56% 0% 57% 31%)
浅色调 · 深色调 · 灰色调
浅色调
- 62B75F
- 75C071
- 87C883
- 98D095
- AAD8A7
- BBE0B8
- CCE8CA
- DDF0DB
- EEF7ED
深色调
- 429840
- 378135
- 2C6B2B
- 225621
- 184117
- 0F2E0E
- 071C06
- 020B02
- 000100
灰色调
- 55AB52
- 5CA659
- 62A25F
- 689D65
- 6D986A
- 71946F
- 758F73
- 798A78
- 7D857C
配色和谐
互补色 +180°
- 4DAF4B
Matt Green
- C66ED0
≈ Purple Urn Orchid
类似色 -30° +30°
- 4DAF4B
Matt Green
- 979F00
≈ Forest Lichen
- 00AF8F
≈ Victorian Greenhouse
三角配色 +120° +240°
- 4DAF4B
Matt Green
- 5E92FB
≈ Polar Glow
- EB6564
≈ Coral Commander
分裂互补色 +150° +210°
- 4DAF4B
Matt Green
- 9C7EF2
≈ Forgotten Purple
- E1649F
≈ Cosmetologist’s Pink
四角配色 +90° +180° +270°
对比度与无障碍
Ag
Fail白底
WCAG 2.78:1 · APCA Lc 53
Ag
AAA黑底
WCAG 7.54:1 · APCA Lc 49
最佳文字颜色: #000000
WCAG 7.54:1 (AAA) · APCA Lc 49
Contrast pairs
代码片段
CSS
:root {
--matt-green: #4daf4b;
--matt-green-rgb: 77 175 75;
--matt-green-oklch: oklch(0.673 0.166 143.1);
}
.element {
color: var(--matt-green);
background-color: hsl(119 40% 49%);
border-color: oklch(0.673 0.166 143.1);
}Tailwind CSS v4
@theme {
--color-matt-green: #4daf4b;
--color-matt-green-50: #d8ffd8;
--color-matt-green-100: #c6f7c6;
--color-matt-green-200: #a7e8a8;
--color-matt-green-300: #7ece81;
--color-matt-green-400: #5bb758;
--color-matt-green-500: #2ca02e;
--color-matt-green-600: #288729;
--color-matt-green-700: #206d20;
--color-matt-green-800: #1a5012;
--color-matt-green-900: #11370b;
--color-matt-green-950: #032201;
}SCSS
$matt-green: #4daf4b;
$matt-green-rgb: 77, 175, 75;
$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);
}