Màu có tên gần nhất · #628028
#628028
Màu có tên gần nhất: Enchanted Forest
#628028 (rgb(98 128 40), hsl(80 52% 33%), oklch(0.558 0.12 126.2)) 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.
#628028
oklch(0.558 0.12 126.2)
Chuyển đổi màu
- HEX
- #628028
- RGB
- rgb(98 128 40)
- HSL
- hsl(80 52% 33%)
- HWB
- hwb(80 16% 50%)
- OKLCH
- oklch(0.558 0.12 126.2)
- OKLab
- oklab(0.558 -0.071 0.097)
- CIE Lab
- lab(49.88 -21.54 42.02)
- LCH
- lch(49.88 47.22 117.1)
- CMYK
- cmyk(23% 0% 69% 50%)
Sắc nhạt · Sắc đậm · Sắc xám
Sắc nhạt
- 708C41
- 7F9957
- 8EA56C
- 9EB281
- ADBF95
- BDCBAA
- CDD8BF
- DEE5D4
- EEF2E9
Sắc đậm
- 546E21
- 475D1B
- 3A4D15
- 2D3D0F
- 212E09
- 161F04
- 0B1202
- 030601
- 000100
Sắc xám
- 658034
- 68803F
- 6B8149
- 6E8151
- 71815A
- 748162
- 77816A
- 7A8171
- 7D8079
Hòa sắc
Bổ túc +180°
- 628028
Enchanted Forest
- 865FAB
≈ Chive Blossom
Tương đồng -30° +30°
- 628028
Enchanted Forest
- 887300
≈ Vermin Brown
- 258856
≈ Vital Green
Bộ ba +120° +240°
- 628028
Enchanted Forest
- 2C79B6
≈ Haddock’s Sweater
- AD5369
≈ Sombre Roses
Bổ túc chia +150° +210°
- 628028
Enchanted Forest
- 626CB9
≈ Gladiola Blue
- 9F568E
≈ Purple Zergling
Bộ bốn +90° +180° +270°
- 628028
Enchanted Forest
- 008299
≈ Cruising
- 865FAB
≈ Chive Blossom
- AE573F
≈ Glowing Firelight
Tương phản và khả năng tiếp cận
Ag
AATrên nền trắng
WCAG 4.52: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: #628028;
--enchanted-forest-rgb: 98 128 40;
--enchanted-forest-oklch: oklch(0.558 0.12 126.2);
}
.element {
color: var(--enchanted-forest);
background-color: hsl(80 52% 33%);
border-color: oklch(0.558 0.12 126.2);
}Tailwind CSS v4
@theme {
--color-enchanted-forest: #628028;
--color-enchanted-forest-50: #ebfcd8;
--color-enchanted-forest-100: #dcf0c6;
--color-enchanted-forest-200: #c5dfa8;
--color-enchanted-forest-300: #a5c481;
--color-enchanted-forest-400: #8cab5a;
--color-enchanted-forest-500: #729431;
--color-enchanted-forest-600: #617d2b;
--color-enchanted-forest-700: #4d6422;
--color-enchanted-forest-800: #3a4915;
--color-enchanted-forest-900: #27330d;
--color-enchanted-forest-950: #161e02;
}SCSS
$enchanted-forest: #628028;
$enchanted-forest-rgb: 98, 128, 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);
}