最接近的命名颜色 · #4BAF4F
#4BAF4F
最接近的命名颜色: Matt Green
#4BAF4F(rgb(75 175 79)、hsl(122 40% 49%)、oklch(0.673 0.164 144.2))最接近命名颜色 Matt Green。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#4BAF4F
oklch(0.673 0.164 144.2)
颜色转换
- HEX
- #4baf4f
- RGB
- rgb(75 175 79)
- HSL
- hsl(122 40% 49%)
- HWB
- hwb(122 29% 31%)
- OKLCH
- oklch(0.673 0.164 144.2)
- OKLab
- oklab(0.673 -0.133 0.096)
- CIE Lab
- lab(63.98 -45.35 39.43)
- LCH
- lch(63.98 60.1 139)
- CMYK
- cmyk(57% 0% 55% 31%)
浅色调 · 深色调 · 灰色调
浅色调
- 60B762
- 74C074
- 86C885
- 98D097
- A9D8A8
- BBE0B9
- CCE8CB
- DDF0DC
- EEF7ED
深色调
- 409844
- 358138
- 2B6B2E
- 215623
- 174119
- 0E2E10
- 061C07
- 020B02
- 000100
灰色调
- 53AB56
- 5BA65C
- 61A261
- 679D67
- 6C986B
- 719470
- 758F74
- 798A78
- 7D857C
配色和谐
互补色 +180°
- 4BAF4F
Matt Green
- C66FCE
≈ Purple Kush
类似色 -30° +30°
- 4BAF4F
Matt Green
- 959F00
≈ Pea Soup
- 00AF90
≈ Hobgoblin
三角配色 +120° +240°
- 4BAF4F
Matt Green
- 6291FA
≈ Polar Glow
- E96662
≈ Coral Commander
分裂互补色 +150° +210°
- 4BAF4F
Matt Green
- 9D7EEF
≈ Forgotten Purple
- E0659D
≈ Cosmetologist’s Pink
四角配色 +90° +180° +270°
- 4BAF4F
Matt Green
- 00A2DF
≈ Vanadyl Blue
- C66FCE
≈ Purple Kush
- E17511
≈ Pumpkin Soup
对比度与无障碍
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: #4baf4f;
--matt-green-rgb: 75 175 79;
--matt-green-oklch: oklch(0.673 0.164 144.2);
}
.element {
color: var(--matt-green);
background-color: hsl(122 40% 49%);
border-color: oklch(0.673 0.164 144.2);
}Tailwind CSS v4
@theme {
--color-matt-green: #4baf4f;
--color-matt-green-50: #d8ffda;
--color-matt-green-100: #c5f7c8;
--color-matt-green-200: #a6e8aa;
--color-matt-green-300: #7dce84;
--color-matt-green-400: #5ab75c;
--color-matt-green-500: #29a034;
--color-matt-green-600: #26882d;
--color-matt-green-700: #1e6d24;
--color-matt-green-800: #195015;
--color-matt-green-900: #10370d;
--color-matt-green-950: #032202;
}SCSS
$matt-green: #4baf4f;
$matt-green-rgb: 75, 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);
}