Màu có tên gần nhất · #667F21
#667F21
Màu có tên gần nhất: Enchanted Forest
#667F21 (rgb(102 127 33), hsl(76 59% 31%), oklch(0.558 0.122 123.4)) 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.
#667F21
oklch(0.558 0.122 123.4)
Chuyển đổi màu
- HEX
- #667f21
- RGB
- rgb(102 127 33)
- HSL
- hsl(76 59% 31%)
- HWB
- hwb(76 13% 50%)
- OKLCH
- oklch(0.558 0.122 123.4)
- OKLab
- oklab(0.558 -0.067 0.102)
- CIE Lab
- lab(49.81 -19.73 44.86)
- LCH
- lch(49.81 49.01 113.7)
- CMYK
- cmyk(20% 0% 74% 50%)
Sắc nhạt · Sắc đậm · Sắc xám
Sắc nhạt
- 748B3C
- 829853
- 91A569
- A0B17E
- AFBE93
- BFCBA8
- CED8BE
- DEE5D3
- EFF2E9
Sắc đậm
- 586E1B
- 4A5D16
- 3C4C10
- 2F3C0B
- 232D06
- 171F03
- 0C1101
- 040600
- 000100
Sắc xám
- 687F30
- 6B803B
- 6E8046
- 70804F
- 738058
- 758060
- 788069
- 7B8071
- 7D8078
Hòa sắc
Bổ túc +180°
- 667F21
Enchanted Forest
- 8360AE
≈ Genestealer Purple
Tương đồng -30° +30°
- 667F21
Enchanted Forest
- 8B7100
≈ Vermin Brown
- 2B8851
≈ Lucky Green
Bộ ba +120° +240°
- 667F21
Enchanted Forest
- 227AB5
≈ Haddock’s Sweater
- AD526C
≈ Pink Parakeet
Bổ túc chia +150° +210°
- 667F21
Enchanted Forest
- 5E6DBB
≈ Gladiola Blue
- 9D5692
≈ Bermuda Onion
Bộ bốn +90° +180° +270°
- 667F21
Enchanted Forest
- 008296
≈ Craftsman Blue
- 8360AE
≈ Genestealer Purple
- AF5642
≈ Tibetan Orange
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.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: #667f21;
--enchanted-forest-rgb: 102 127 33;
--enchanted-forest-oklch: oklch(0.558 0.122 123.4);
}
.element {
color: var(--enchanted-forest);
background-color: hsl(76 59% 31%);
border-color: oklch(0.558 0.122 123.4);
}Tailwind CSS v4
@theme {
--color-enchanted-forest: #667f21;
--color-enchanted-forest-50: #edfcd6;
--color-enchanted-forest-100: #def0c4;
--color-enchanted-forest-200: #c8dea5;
--color-enchanted-forest-300: #a9c37d;
--color-enchanted-forest-400: #90aa55;
--color-enchanted-forest-500: #769329;
--color-enchanted-forest-600: #647c25;
--color-enchanted-forest-700: #50631e;
--color-enchanted-forest-800: #3c4911;
--color-enchanted-forest-900: #29320b;
--color-enchanted-forest-950: #171e01;
}SCSS
$enchanted-forest: #667f21;
$enchanted-forest-rgb: 102, 127, 33;
$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);
}