Màu có tên gần nhất · #628015
#628015
Màu có tên gần nhất: Enchanted Forest
#628015 (rgb(98 128 21), hsl(77 72% 29%), oklch(0.557 0.132 125)) 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.
#628015
oklch(0.557 0.132 125)
Chuyển đổi màu
- HEX
- #628015
- RGB
- rgb(98 128 21)
- HSL
- hsl(77 72% 29%)
- HWB
- hwb(77 8% 50%)
- OKLCH
- oklch(0.557 0.132 125)
- OKLab
- oklab(0.557 -0.076 0.108)
- CIE Lab
- lab(49.78 -22.35 48.66)
- LCH
- lch(49.78 53.55 114.7)
- CMYK
- cmyk(23% 0% 84% 50%)
Sắc nhạt · Sắc đậm · Sắc xám
Sắc nhạt
- 708C36
- 7F994E
- 8EA565
- 9DB27B
- ADBF91
- BDCBA7
- CDD8BC
- DEE5D2
- EEF2E9
Sắc đậm
- 546E11
- 475D0C
- 3A4D08
- 2D3D05
- 212E03
- 161F02
- 0B1201
- 030600
- 000100
Sắc xám
- 658028
- 688136
- 6B8142
- 6E814C
- 718156
- 74815F
- 778167
- 7A8170
- 7D8078
Hòa sắc
Bổ túc +180°
- 628015
Enchanted Forest
- 865DB1
≈ Lusty Lavender
Tương đồng -30° +30°
- 628015
Enchanted Forest
- 897200
≈ Vermin Brown
- 148950
≈ English Meadow
Bộ ba +120° +240°
- 628015
Enchanted Forest
- 1779BB
≈ Deep Cerulean
- B14E69
≈ Gala Pink
Bổ túc chia +150° +210°
- 628015
Enchanted Forest
- 5E6BC0
≈ Bluish Purple Anemone
- A15292
≈ Purple Zergling
Bộ bốn +90° +180° +270°
- 628015
Enchanted Forest
- 008297
≈ Cruising
- 865DB1
≈ Lusty Lavender
- B3523B
≈ Crimson Warrior
Tương phản và khả năng tiếp cận
Ag
AATrên nền trắng
WCAG 4.54:1 · APCA Lc 71
Ag
AATrên nền đen
WCAG 4.61:1 · APCA Lc 30
Màu chữ tốt nhất: #000000
WCAG 4.61:1 (AA) · APCA Lc 30
Contrast pairs
Đoạn mã
CSS
:root {
--enchanted-forest: #628015;
--enchanted-forest-rgb: 98 128 21;
--enchanted-forest-oklch: oklch(0.557 0.132 125);
}
.element {
color: var(--enchanted-forest);
background-color: hsl(77 72% 29%);
border-color: oklch(0.557 0.132 125);
}Tailwind CSS v4
@theme {
--color-enchanted-forest: #628015;
--color-enchanted-forest-50: #ebfdd5;
--color-enchanted-forest-100: #dcf1c2;
--color-enchanted-forest-200: #c5dfa2;
--color-enchanted-forest-300: #a5c479;
--color-enchanted-forest-400: #8dac50;
--color-enchanted-forest-500: #72941d;
--color-enchanted-forest-600: #617d1c;
--color-enchanted-forest-700: #4d6417;
--color-enchanted-forest-800: #3a490b;
--color-enchanted-forest-900: #283307;
--color-enchanted-forest-950: #161e00;
}SCSS
$enchanted-forest: #628015;
$enchanted-forest-rgb: 98, 128, 21;
$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);
}