Màu có tên gần nhất · #5A8021
#5A8021
Màu có tên gần nhất: Enchanted Forest
#5A8021 (rgb(90 128 33), hsl(84 59% 32%), oklch(0.552 0.129 129.1)) gần nhất với màu có tên Enchanted Forest. 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.
#5A8021
oklch(0.552 0.129 129.1)
Chuyển đổi màu
- HEX
- #5a8021
- RGB
- rgb(90 128 33)
- HSL
- hsl(84 59% 32%)
- HWB
- hwb(84 13% 50%)
- OKLCH
- oklch(0.552 0.129 129.1)
- OKLab
- oklab(0.552 -0.081 0.1)
- CIE Lab
- lab(49.3 -25.17 44.03)
- LCH
- lch(49.3 50.72 119.8)
- CMYK
- cmyk(30% 0% 74% 50%)
Sắc nhạt · Sắc đậm · Sắc xám
Sắc nhạt
- 698C3C
- 799953
- 89A569
- 99B27E
- A9BF93
- BACBA8
- CBD8BE
- DCE5D3
- EDF2E9
Sắc đậm
- 4D6E1B
- 415D16
- 354D10
- 293D0B
- 1E2E06
- 131F03
- 091201
- 030600
- 000100
Sắc xám
- 5E802F
- 62813B
- 668145
- 69814F
- 6D8158
- 718160
- 758168
- 788170
- 7C8078
Hòa sắc
Bổ túc +180°
- 5A8021
Enchanted Forest
- 885AAB
≈ Lusty Lavender
Tương đồng -30° +30°
- 5A8021
Enchanted Forest
- 837200
≈ Sunlit Kelp Green
- 008856
≈ Vital Green
Bộ ba +120° +240°
- 5A8021
Enchanted Forest
- 2876BA
≈ Bluish
- AF4D62
≈ Gala Pink
Bổ túc chia +150° +210°
- 5A8021
Enchanted Forest
- 6368BC
≈ Bluish Purple Anemone
- A2518B
≈ Purple Zergling
Bộ bốn +90° +180° +270°
- 5A8021
Enchanted Forest
- 007F9A
≈ Amazing Sky
- 885AAB
≈ Lusty Lavender
- B05334
≈ Red Stage
Tương phản và khả năng tiếp cận
Ag
AATrên nền trắng
WCAG 4.62:1 · APCA Lc 72
Ag
AATrên nền đen
WCAG 4.54:1 · APCA Lc 30
Màu chữ tốt nhất: #FFFFFF
WCAG 4.62:1 (AA) · APCA Lc 72
Contrast pairs
Đoạn mã
CSS
:root {
--enchanted-forest: #5a8021;
--enchanted-forest-rgb: 90 128 33;
--enchanted-forest-oklch: oklch(0.552 0.129 129.1);
}
.element {
color: var(--enchanted-forest);
background-color: hsl(84 59% 32%);
border-color: oklch(0.552 0.129 129.1);
}Tailwind CSS v4
@theme {
--color-enchanted-forest: #5a8021;
--color-enchanted-forest-50: #e8fdd7;
--color-enchanted-forest-100: #d9f1c5;
--color-enchanted-forest-200: #c1e0a6;
--color-enchanted-forest-300: #a0c57f;
--color-enchanted-forest-400: #86ad57;
--color-enchanted-forest-500: #6b962c;
--color-enchanted-forest-600: #5b7f27;
--color-enchanted-forest-700: #48661f;
--color-enchanted-forest-800: #364a12;
--color-enchanted-forest-900: #25330b;
--color-enchanted-forest-950: #141f01;
}SCSS
$enchanted-forest: #5a8021;
$enchanted-forest-rgb: 90, 128, 33;
$enchanted-forest-light: mix(#fff, $enchanted-forest, 20%);
$enchanted-forest-dark: mix(#000, $enchanted-forest, 20%);
.element {
color: $enchanted-forest;
box-shadow: 0 0 0 2px rgba($enchanted-forest, 0.35);
}