Màu có tên gần nhất · #5A8018
#5A8018
Màu có tên gần nhất: Enchanted Forest
#5A8018 (rgb(90 128 24), hsl(82 68% 30%), oklch(0.551 0.134 128.4)) 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.
#5A8018
oklch(0.551 0.134 128.4)
Chuyển đổi màu
- HEX
- #5a8018
- RGB
- rgb(90 128 24)
- HSL
- hsl(82 68% 30%)
- HWB
- hwb(82 9% 50%)
- OKLCH
- oklch(0.551 0.134 128.4)
- OKLab
- oklab(0.551 -0.084 0.105)
- CIE Lab
- lab(49.26 -25.55 47.08)
- LCH
- lch(49.26 53.56 118.5)
- CMYK
- cmyk(30% 0% 81% 50%)
Sắc nhạt · Sắc đậm · Sắc xám
Sắc nhạt
- 698C37
- 79994F
- 89A666
- 99B27B
- A9BF91
- BACCA7
- CBD8BC
- DCE5D2
- EDF2E9
Sắc đậm
- 4D6E13
- 415D0F
- 354D0A
- 293D07
- 1E2E04
- 131F02
- 091201
- 030600
- 000100
Sắc xám
- 5E802A
- 628137
- 668142
- 69814C
- 6D8156
- 71815F
- 758167
- 788170
- 7C8078
Hòa sắc
Bổ túc +180°
- 5A8018
Enchanted Forest
- 8859AD
≈ Lusty Lavender
Tương đồng -30° +30°
- 5A8018
Enchanted Forest
- 847200
≈ Sunlit Kelp Green
- 008855
≈ Pixel Nature
Bộ ba +120° +240°
- 5A8018
Enchanted Forest
- 2076BC
≈ Bluish
- B14B62
≈ Gala Pink
Bổ túc chia +150° +210°
- 5A8018
Enchanted Forest
- 6267BF
≈ Bluish Purple Anemone
- A34F8C
≈ La la Lavender
Bộ bốn +90° +180° +270°
- 5A8018
Enchanted Forest
- 007F99
≈ Amazing Sky
- 8859AD
≈ Lusty Lavender
- B25131
≈ Renga Brick
Tương phản và khả năng tiếp cận
Ag
AATrên nền trắng
WCAG 4.63:1 · APCA Lc 72
Ag
AATrên nền đen
WCAG 4.53:1 · APCA Lc 30
Màu chữ tốt nhất: #FFFFFF
WCAG 4.63:1 (AA) · APCA Lc 72
Contrast pairs
Đoạn mã
CSS
:root {
--enchanted-forest: #5a8018;
--enchanted-forest-rgb: 90 128 24;
--enchanted-forest-oklch: oklch(0.551 0.134 128.4);
}
.element {
color: var(--enchanted-forest);
background-color: hsl(82 68% 30%);
border-color: oklch(0.551 0.134 128.4);
}Tailwind CSS v4
@theme {
--color-enchanted-forest: #5a8018;
--color-enchanted-forest-50: #e8fed6;
--color-enchanted-forest-100: #d9f2c3;
--color-enchanted-forest-200: #c1e0a4;
--color-enchanted-forest-300: #a0c67b;
--color-enchanted-forest-400: #87ad52;
--color-enchanted-forest-500: #6b9623;
--color-enchanted-forest-600: #5b7f20;
--color-enchanted-forest-700: #48661a;
--color-enchanted-forest-800: #364a0d;
--color-enchanted-forest-900: #253408;
--color-enchanted-forest-950: #141f00;
}SCSS
$enchanted-forest: #5a8018;
$enchanted-forest-rgb: 90, 128, 24;
$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);
}