Màu có tên gần nhất · #52AE45
#52AE45
Màu có tên gần nhất: Matt Green
#52AE45 (rgb(82 174 69), hsl(113 43% 48%), oklch(0.671 0.168 141.3)) gần nhất với màu có tên Matt Green. Xem sắc nhạt, sắc đậm, hòa sắc, tương phản WCAG và APCA, cùng mã CSS, Tailwind v4 và SCSS.
#52AE45
oklch(0.671 0.168 141.3)
Chuyển đổi màu
- HEX
- #52ae45
- RGB
- rgb(82 174 69)
- HSL
- hsl(113 43% 48%)
- HWB
- hwb(113 27% 32%)
- OKLCH
- oklch(0.671 0.168 141.3)
- OKLab
- oklab(0.671 -0.131 0.105)
- CIE Lab
- lab(63.82 -44.03 43.95)
- LCH
- lch(63.82 62.22 135.1)
- CMYK
- cmyk(53% 0% 60% 32%)
Sắc nhạt · Sắc đậm · Sắc xám
Sắc nhạt
- 65B65A
- 78BF6D
- 89C780
- 9ACF92
- ABD7A4
- BCDFB6
- CDE7C8
- DDEFDB
- EEF7ED
Sắc đậm
- 46973B
- 3B8031
- 2F6A27
- 25551E
- 1A4115
- 112E0C
- 081C05
- 020B02
- 000100
Sắc xám
- 59AA4E
- 5FA555
- 65A15C
- 6A9C62
- 6E9868
- 72936D
- 768F72
- 7A8A77
- 7D857C
Hòa sắc
Bổ túc +180°
- 52AE45
Matt Green
- C36ED3
≈ Purple Urn Orchid
Tương đồng -30° +30°
- 52AE45
Matt Green
- 9A9D00
≈ Papyrus
- 00AF8B
≈ Victorian Greenhouse
Bộ ba +120° +240°
- 52AE45
Matt Green
- 5892FB
≈ Polar Glow
- EB6467
≈ Coral Commander
Bổ túc chia +150° +210°
- 52AE45
Matt Green
- 987FF3
≈ Forgotten Purple
- DF64A2
≈ Cosmetologist’s Pink
Bộ bốn +90° +180° +270°
Tương phản và khả năng tiếp cận
Ag
FailTrên nền trắng
WCAG 2.80:1 · APCA Lc 54
Ag
AAATrên nền đen
WCAG 7.49:1 · APCA Lc 48
Màu chữ tốt nhất: #000000
WCAG 7.49:1 (AAA) · APCA Lc 48
Contrast pairs
Đoạn mã
CSS
:root {
--matt-green: #52ae45;
--matt-green-rgb: 82 174 69;
--matt-green-oklch: oklch(0.671 0.168 141.3);
}
.element {
color: var(--matt-green);
background-color: hsl(113 43% 48%);
border-color: oklch(0.671 0.168 141.3);
}Tailwind CSS v4
@theme {
--color-matt-green: #52ae45;
--color-matt-green-50: #daffd7;
--color-matt-green-100: #c7f7c4;
--color-matt-green-200: #a9e7a6;
--color-matt-green-300: #81cd7e;
--color-matt-green-400: #60b654;
--color-matt-green-500: #35a025;
--color-matt-green-600: #2f8722;
--color-matt-green-700: #266c1b;
--color-matt-green-800: #1e4f0d;
--color-matt-green-900: #143708;
--color-matt-green-950: #052200;
}SCSS
$matt-green: #52ae45;
$matt-green-rgb: 82, 174, 69;
$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);
}