最接近的命名颜色 · #52AE46
#52AE46
最接近的命名颜色: Matt Green
#52AE46(rgb(82 174 70)、hsl(113 43% 48%)、oklch(0.672 0.167 141.4))最接近命名颜色 Matt Green。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#52AE46
oklch(0.672 0.167 141.4)
颜色转换
- HEX
- #52ae46
- RGB
- rgb(82 174 70)
- HSL
- hsl(113 43% 48%)
- HWB
- hwb(113 27% 32%)
- OKLCH
- oklch(0.672 0.167 141.4)
- OKLab
- oklab(0.672 -0.13 0.104)
- CIE Lab
- lab(63.83 -43.95 43.51)
- LCH
- lch(63.83 61.85 135.3)
- CMYK
- cmyk(53% 0% 60% 32%)
浅色调 · 深色调 · 灰色调
浅色调
- 65B65B
- 78BF6E
- 89C780
- 9ACF93
- ABD7A5
- BCDFB7
- CDE7C9
- DDEFDB
- EEF7ED
深色调
- 46973C
- 3B8032
- 2F6A28
- 25551E
- 1A4115
- 112E0D
- 081C05
- 020B02
- 000100
灰色调
- 59AA4E
- 5FA556
- 65A15C
- 6A9C62
- 6E9868
- 72936D
- 768F72
- 7A8A77
- 7D857C
配色和谐
互补色 +180°
- 52AE46
Matt Green
- C36FD2
≈ Purple Urn Orchid
类似色 -30° +30°
- 52AE46
Matt Green
- 9A9D00
≈ Papyrus
- 00AF8B
≈ Victorian Greenhouse
三角配色 +120° +240°
- 52AE46
Matt Green
- 5992FB
≈ Polar Glow
- EA6467
≈ Coral Commander
分裂互补色 +150° +210°
- 52AE46
Matt Green
- 997FF3
≈ Forgotten Purple
- DF64A1
≈ Cosmetologist’s Pink
四角配色 +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 {
--matt-green: #52ae46;
--matt-green-rgb: 82 174 70;
--matt-green-oklch: oklch(0.672 0.167 141.4);
}
.element {
color: var(--matt-green);
background-color: hsl(113 43% 48%);
border-color: oklch(0.672 0.167 141.4);
}Tailwind CSS v4
@theme {
--color-matt-green: #52ae46;
--color-matt-green-50: #daffd7;
--color-matt-green-100: #c7f7c5;
--color-matt-green-200: #a9e7a6;
--color-matt-green-300: #81cd7e;
--color-matt-green-400: #60b654;
--color-matt-green-500: #35a027;
--color-matt-green-600: #2f8723;
--color-matt-green-700: #256c1c;
--color-matt-green-800: #1e4f0e;
--color-matt-green-900: #143709;
--color-matt-green-950: #052200;
}SCSS
$matt-green: #52ae46;
$matt-green-rgb: 82, 174, 70;
$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);
}