Màu có tên gần nhất · #5C7F17
#5C7F17
Màu có tên gần nhất: Enchanted Forest
#5C7F17 (rgb(92 127 23), hsl(80 69% 29%), oklch(0.55 0.133 127.3)) 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.
#5C7F17
oklch(0.55 0.133 127.3)
Chuyển đổi màu
- HEX
- #5c7f17
- RGB
- rgb(92 127 23)
- HSL
- hsl(80 69% 29%)
- HWB
- hwb(80 9% 50%)
- OKLCH
- oklch(0.55 0.133 127.3)
- OKLab
- oklab(0.55 -0.08 0.106)
- CIE Lab
- lab(49.07 -24.32 47.27)
- LCH
- lch(49.07 53.16 117.2)
- CMYK
- cmyk(28% 0% 82% 50%)
Sắc nhạt · Sắc đậm · Sắc xám
Sắc nhạt
- 6B8C36
- 7A984F
- 8AA565
- 9AB17B
- AABE91
- BBCBA6
- CBD8BC
- DCE5D2
- EEF2E9
Sắc đậm
- 4F6E12
- 425D0E
- 364C0A
- 2A3C06
- 1F2D04
- 141F02
- 0A1101
- 030600
- 000100
Sắc xám
- 607F29
- 638037
- 678042
- 6A804C
- 6E8056
- 72815F
- 758167
- 798070
- 7C8078
Hòa sắc
Bổ túc +180°
- 5C7F17
Enchanted Forest
- 865AAD
≈ Lusty Lavender
Tương đồng -30° +30°
- 5C7F17
Enchanted Forest
- 847100
≈ Sunlit Kelp Green
- 008752
≈ Pixel Nature
Bộ ba +120° +240°
- 5C7F17
Enchanted Forest
- 1D76BA
≈ Bluish
- B04B64
≈ Gala Pink
Bổ túc chia +150° +210°
- 5C7F17
Enchanted Forest
- 6067BD
≈ Bluish Purple Anemone
- A14F8D
≈ La la Lavender
Bộ bốn +90° +180° +270°
- 5C7F17
Enchanted Forest
- 007F97
≈ Pagoda
- 865AAD
≈ Lusty Lavender
- B15134
≈ Crimson Warrior
Tương phản và khả năng tiếp cận
Ag
AATrên nền trắng
WCAG 4.66:1 · APCA Lc 72
Ag
AATrên nền đen
WCAG 4.50:1 · APCA Lc 29
Màu chữ tốt nhất: #FFFFFF
WCAG 4.66:1 (AA) · APCA Lc 72
Contrast pairs
Đoạn mã
CSS
:root {
--enchanted-forest: #5c7f17;
--enchanted-forest-rgb: 92 127 23;
--enchanted-forest-oklch: oklch(0.55 0.133 127.3);
}
.element {
color: var(--enchanted-forest);
background-color: hsl(80 69% 29%);
border-color: oklch(0.55 0.133 127.3);
}Tailwind CSS v4
@theme {
--color-enchanted-forest: #5c7f17;
--color-enchanted-forest-50: #e9fdd5;
--color-enchanted-forest-100: #daf1c3;
--color-enchanted-forest-200: #c2e0a4;
--color-enchanted-forest-300: #a2c57b;
--color-enchanted-forest-400: #89ad52;
--color-enchanted-forest-500: #6e9522;
--color-enchanted-forest-600: #5d7e20;
--color-enchanted-forest-700: #4a651a;
--color-enchanted-forest-800: #384a0d;
--color-enchanted-forest-900: #263308;
--color-enchanted-forest-950: #141f00;
}SCSS
$enchanted-forest: #5c7f17;
$enchanted-forest-rgb: 92, 127, 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);
}