Màu có tên gần nhất · #5D8126
#5D8126
Màu có tên gần nhất: Enchanted Forest
#5D8126 (rgb(93 129 38), hsl(84 54% 33%), oklch(0.557 0.125 128.6)) 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.
#5D8126
oklch(0.557 0.125 128.6)
Chuyển đổi màu
- HEX
- #5d8126
- RGB
- rgb(93 129 38)
- HSL
- hsl(84 54% 33%)
- HWB
- hwb(84 15% 49%)
- OKLCH
- oklch(0.557 0.125 128.6)
- OKLab
- oklab(0.557 -0.078 0.098)
- CIE Lab
- lab(49.85 -24.16 42.68)
- LCH
- lch(49.85 49.05 119.5)
- CMYK
- cmyk(28% 0% 71% 49%)
Sắc nhạt · Sắc đậm · Sắc xám
Sắc nhạt
- 6C8D3F
- 7B9A56
- 8BA66B
- 9BB380
- ABBF95
- BBCCAA
- CCD9BF
- DDE5D4
- EEF2E9
Sắc đậm
- 506F20
- 435E19
- 374E13
- 2A3E0D
- 1F2E08
- 141F04
- 0A1202
- 030601
- 000100
Sắc xám
- 618133
- 64813E
- 688148
- 6B8151
- 6F8159
- 728161
- 768169
- 798171
- 7D8079
Hòa sắc
Bổ túc +180°
- 5D8126
Enchanted Forest
- 895DAB
≈ Lusty Lavender
Tương đồng -30° +30°
- 5D8126
Enchanted Forest
- 857400
≈ Soft Fig
- 0F8957
≈ Vital Green
Bộ ba +120° +240°
- 5D8126
Enchanted Forest
- 2C78B9
≈ Haddock’s Sweater
- AF5065
≈ Kissed by a Zombies
Bổ túc chia +150° +210°
- 5D8126
Enchanted Forest
- 646ABB
≈ Bluish Purple Anemone
- A2548C
≈ Purple Zergling
Bộ bốn +90° +180° +270°
- 5D8126
Enchanted Forest
- 00819B
≈ Decore Splash
- 895DAB
≈ Lusty Lavender
- B05638
≈ Brown Rust
Tương phản và khả năng tiếp cận
Ag
AATrên nền trắng
WCAG 4.53:1 · APCA Lc 71
Ag
AATrên nền đen
WCAG 4.63:1 · APCA Lc 30
Màu chữ tốt nhất: #000000
WCAG 4.63:1 (AA) · APCA Lc 30
Contrast pairs
Đoạn mã
CSS
:root {
--enchanted-forest: #5d8126;
--enchanted-forest-rgb: 93 129 38;
--enchanted-forest-oklch: oklch(0.557 0.125 128.6);
}
.element {
color: var(--enchanted-forest);
background-color: hsl(84 54% 33%);
border-color: oklch(0.557 0.125 128.6);
}Tailwind CSS v4
@theme {
--color-enchanted-forest: #5d8126;
--color-enchanted-forest-50: #e9fdd8;
--color-enchanted-forest-100: #daf1c5;
--color-enchanted-forest-200: #c2e0a7;
--color-enchanted-forest-300: #a1c580;
--color-enchanted-forest-400: #88ad59;
--color-enchanted-forest-500: #6d952f;
--color-enchanted-forest-600: #5c7e2a;
--color-enchanted-forest-700: #4a6521;
--color-enchanted-forest-800: #374a14;
--color-enchanted-forest-900: #26330d;
--color-enchanted-forest-950: #141f01;
}SCSS
$enchanted-forest: #5d8126;
$enchanted-forest-rgb: 93, 129, 38;
$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);
}