Màu có tên gần nhất · #5E8128
#5E8128
Màu có tên gần nhất: Enchanted Forest
#5E8128 (rgb(94 129 40), hsl(84 53% 33%), oklch(0.558 0.123 128.3)) 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.
#5E8128
oklch(0.558 0.123 128.3)
Chuyển đổi màu
- HEX
- #5e8128
- RGB
- rgb(94 129 40)
- HSL
- hsl(84 53% 33%)
- HWB
- hwb(84 16% 49%)
- OKLCH
- oklch(0.558 0.123 128.3)
- OKLab
- oklab(0.558 -0.077 0.097)
- CIE Lab
- lab(49.93 -23.65 41.96)
- LCH
- lch(49.93 48.17 119.4)
- CMYK
- cmyk(27% 0% 69% 49%)
Sắc nhạt · Sắc đậm · Sắc xám
Sắc nhạt
- 6D8D41
- 7C9A57
- 8CA66C
- 9BB381
- ABBF95
- BCCCAA
- CCD8BF
- DDE5D4
- EEF2E9
Sắc đậm
- 516F21
- 445E1B
- 374E15
- 2B3E0F
- 1F2E09
- 141F04
- 0A1202
- 030601
- 000100
Sắc xám
- 618135
- 65813F
- 688149
- 6C8152
- 6F815A
- 728162
- 76816A
- 798171
- 7D8079
Hòa sắc
Bổ túc +180°
- 5E8128
Enchanted Forest
- 885EAB
≈ Lusty Lavender
Tương đồng -30° +30°
- 5E8128
Enchanted Forest
- 867400
≈ Soft Fig
- 168958
≈ Vital Green
Bộ ba +120° +240°
- 5E8128
Enchanted Forest
- 2E78B8
≈ Haddock’s Sweater
- AF5165
≈ Kissed by a Zombies
Bổ túc chia +150° +210°
- 5E8128
Enchanted Forest
- 646ABB
≈ Bluish Purple Anemone
- A1558C
≈ Purple Zergling
Bộ bốn +90° +180° +270°
- 5E8128
Enchanted Forest
- 00819B
≈ Decore Splash
- 885EAB
≈ Lusty Lavender
- AF573A
≈ Brown Rust
Tương phản và khả năng tiếp cận
Ag
AATrên nền trắng
WCAG 4.51:1 · APCA Lc 71
Ag
AATrên nền đen
WCAG 4.64:1 · APCA Lc 30
Màu chữ tốt nhất: #000000
WCAG 4.64:1 (AA) · APCA Lc 30
Contrast pairs
Đoạn mã
CSS
:root {
--enchanted-forest: #5e8128;
--enchanted-forest-rgb: 94 129 40;
--enchanted-forest-oklch: oklch(0.558 0.123 128.3);
}
.element {
color: var(--enchanted-forest);
background-color: hsl(84 53% 33%);
border-color: oklch(0.558 0.123 128.3);
}Tailwind CSS v4
@theme {
--color-enchanted-forest: #5e8128;
--color-enchanted-forest-50: #e9fdd8;
--color-enchanted-forest-100: #daf1c6;
--color-enchanted-forest-200: #c3e0a8;
--color-enchanted-forest-300: #a2c481;
--color-enchanted-forest-400: #89ac5a;
--color-enchanted-forest-500: #6d9531;
--color-enchanted-forest-600: #5d7e2b;
--color-enchanted-forest-700: #4a6522;
--color-enchanted-forest-800: #374a15;
--color-enchanted-forest-900: #26330d;
--color-enchanted-forest-950: #141f02;
}SCSS
$enchanted-forest: #5e8128;
$enchanted-forest-rgb: 94, 129, 40;
$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);
}