Màu có tên gần nhất · #5E8117
#5E8117
Màu có tên gần nhất: Enchanted Forest
#5E8117 (rgb(94 129 23), hsl(80 70% 30%), oklch(0.557 0.134 127.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.
#5E8117
oklch(0.557 0.134 127.1)
Chuyển đổi màu
- HEX
- #5e8117
- RGB
- rgb(94 129 23)
- HSL
- hsl(80 70% 30%)
- HWB
- hwb(80 9% 49%)
- OKLCH
- oklch(0.557 0.134 127.1)
- OKLab
- oklab(0.557 -0.081 0.107)
- CIE Lab
- lab(49.83 -24.41 48)
- LCH
- lch(49.83 53.85 117)
- CMYK
- cmyk(27% 0% 82% 49%)
Sắc nhạt · Sắc đậm · Sắc xám
Sắc nhạt
- 6D8D37
- 7C9A4F
- 8BA666
- 9BB37B
- ABBF91
- BBCCA7
- CCD9BD
- DDE5D3
- EEF2E9
Sắc đậm
- 516F12
- 445E0E
- 374E0A
- 2B3E06
- 1F2E04
- 141F02
- 0A1201
- 030600
- 000100
Sắc xám
- 618129
- 658137
- 688142
- 6C824C
- 6F8156
- 72815F
- 768167
- 798170
- 7D8078
Hòa sắc
Bổ túc +180°
- 5E8117
Enchanted Forest
- 885BB0
≈ Lusty Lavender
Tương đồng -30° +30°
- 5E8117
Enchanted Forest
- 877300
≈ Soft Fig
- 008A53
≈ English Meadow
Bộ ba +120° +240°
- 5E8117
Enchanted Forest
- 1D78BD
≈ Bluish
- B24D66
≈ Gala Pink
Bổ túc chia +150° +210°
- 5E8117
Enchanted Forest
- 6169C0
≈ Bluish Purple Anemone
- A35190
≈ Plum Dust
Bộ bốn +90° +180° +270°
- 5E8117
Enchanted Forest
- 008199
≈ Decore Splash
- 885BB0
≈ Lusty Lavender
- B45236
≈ Renga Brick
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.62:1 · APCA Lc 30
Màu chữ tốt nhất: #000000
WCAG 4.62:1 (AA) · APCA Lc 30
Contrast pairs
Đoạn mã
CSS
:root {
--enchanted-forest: #5e8117;
--enchanted-forest-rgb: 94 129 23;
--enchanted-forest-oklch: oklch(0.557 0.134 127.1);
}
.element {
color: var(--enchanted-forest);
background-color: hsl(80 70% 30%);
border-color: oklch(0.557 0.134 127.1);
}Tailwind CSS v4
@theme {
--color-enchanted-forest: #5e8117;
--color-enchanted-forest-50: #e9fdd5;
--color-enchanted-forest-100: #daf1c2;
--color-enchanted-forest-200: #c2e0a3;
--color-enchanted-forest-300: #a2c57a;
--color-enchanted-forest-400: #89ad51;
--color-enchanted-forest-500: #6e951f;
--color-enchanted-forest-600: #5d7e1e;
--color-enchanted-forest-700: #4a6518;
--color-enchanted-forest-800: #384a0c;
--color-enchanted-forest-900: #263307;
--color-enchanted-forest-950: #151f00;
}SCSS
$enchanted-forest: #5e8117;
$enchanted-forest-rgb: 94, 129, 23;
$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);
}