Màu có tên gần nhất · #6A7E2D
#6A7E2D
Màu có tên gần nhất: Enchanted Forest
#6A7E2D (rgb(106 126 45), hsl(75 47% 34%), oklch(0.56 0.109 121.8)) 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.
#6A7E2D
oklch(0.56 0.109 121.8)
Chuyển đổi màu
- HEX
- #6a7e2d
- RGB
- rgb(106 126 45)
- HSL
- hsl(75 47% 34%)
- HWB
- hwb(75 18% 51%)
- OKLCH
- oklch(0.56 0.109 121.8)
- OKLab
- oklab(0.56 -0.058 0.093)
- CIE Lab
- lab(49.89 -16.91 40.07)
- LCH
- lch(49.89 43.49 112.9)
- CMYK
- cmyk(16% 0% 64% 51%)
Sắc nhạt · Sắc đậm · Sắc xám
Sắc nhạt
- 788A44
- 869759
- 94A46E
- A2B082
- B1BD97
- C0CAAB
- D0D7C0
- DFE4D5
- EFF2EA
Sắc đậm
- 5B6D26
- 4D5C1F
- 3F4C18
- 313C11
- 242D0B
- 181F06
- 0D1102
- 040501
- 000100
Sắc xám
- 6C7E38
- 6E7F42
- 707F4B
- 727F53
- 75805B
- 778063
- 79806B
- 7B8072
- 7E8079
Hòa sắc
Bổ túc +180°
- 6A7E2D
Enchanted Forest
- 8064AA
≈ Genestealer Purple
Tương đồng -30° +30°
- 6A7E2D
Enchanted Forest
- 8C7111
≈ Vermin Brown
- 3B8653
≈ Imperial Green
Bộ ba +120° +240°
- 6A7E2D
Enchanted Forest
- 2E7BAE
≈ Vermeer Blue
- A85770
≈ Malaga
Bổ túc chia +150° +210°
- 6A7E2D
Enchanted Forest
- 5E6FB4
≈ Loch Ness
- 995B91
≈ Bermuda Onion
Bộ bốn +90° +180° +270°
- 6A7E2D
Enchanted Forest
- 008395
≈ Island Lush
- 8064AA
≈ Genestealer Purple
- AB5A4B
≈ Artisan Red
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: #6a7e2d;
--enchanted-forest-rgb: 106 126 45;
--enchanted-forest-oklch: oklch(0.56 0.109 121.8);
}
.element {
color: var(--enchanted-forest);
background-color: hsl(75 47% 34%);
border-color: oklch(0.56 0.109 121.8);
}Tailwind CSS v4
@theme {
--color-enchanted-forest: #6a7e2d;
--color-enchanted-forest-50: #eefbd9;
--color-enchanted-forest-100: #e0efc7;
--color-enchanted-forest-200: #cadda9;
--color-enchanted-forest-300: #acc183;
--color-enchanted-forest-400: #94a95d;
--color-enchanted-forest-500: #7a9136;
--color-enchanted-forest-600: #687b2f;
--color-enchanted-forest-700: #536225;
--color-enchanted-forest-800: #3e4818;
--color-enchanted-forest-900: #2a320f;
--color-enchanted-forest-950: #181e03;
}SCSS
$enchanted-forest: #6a7e2d;
$enchanted-forest-rgb: 106, 126, 45;
$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);
}