最接近的命名颜色 · #5D7F26
#5D7F26
最接近的命名颜色: Enchanted Forest
#5D7F26(rgb(93 127 38)、hsl(83 54% 32%)、oklch(0.552 0.123 128))最接近命名颜色 Enchanted Forest。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#5D7F26
oklch(0.552 0.123 128)
颜色转换
- HEX
- #5d7f26
- RGB
- rgb(93 127 38)
- HSL
- hsl(83 54% 32%)
- HWB
- hwb(83 15% 50%)
- OKLCH
- oklch(0.552 0.123 128)
- OKLab
- oklab(0.552 -0.075 0.097)
- CIE Lab
- lab(49.21 -23.24 42.05)
- LCH
- lch(49.21 48.04 118.9)
- CMYK
- cmyk(27% 0% 70% 50%)
浅色调 · 深色调 · 灰色调
浅色调
- 6C8B3F
- 7B9855
- 8BA56B
- 9BB17F
- ABBE94
- BBCBA9
- CCD8BE
- DDE5D4
- EEF2E9
深色调
- 506E20
- 435D19
- 374C13
- 2A3C0D
- 1F2D08
- 141F04
- 0A1102
- 030601
- 000100
灰色调
- 617F33
- 64803E
- 688047
- 6B8051
- 6F8059
- 728061
- 768069
- 798071
- 7D8079
配色和谐
互补色 +180°
- 5D7F26
Enchanted Forest
- 865CA9
≈ Chive Blossom
类似色 -30° +30°
- 5D7F26
Enchanted Forest
- 847200
≈ Sunlit Kelp Green
- 168756
≈ Vital Green
三角配色 +120° +240°
- 5D7F26
Enchanted Forest
- 2C76B6
≈ North Atlantic Breeze
- AC5064
≈ Rose Vale
分裂互补色 +150° +210°
- 5D7F26
Enchanted Forest
- 6269B8
≈ Bluish Purple Anemone
- 9F538B
≈ Purple Zergling
四角配色 +90° +180° +270°
- 5D7F26
Enchanted Forest
- 007F98
≈ Pacific Pleasure
- 865CA9
≈ Chive Blossom
- AD5539
≈ Pico Earth
对比度与无障碍
Ag
AA白底
WCAG 4.63:1 · APCA Lc 72
Ag
AA黑底
WCAG 4.52:1 · APCA Lc 30
最佳文字颜色: #FFFFFF
WCAG 4.63:1 (AA) · APCA Lc 72
Contrast pairs
代码片段
CSS
:root {
--enchanted-forest: #5d7f26;
--enchanted-forest-rgb: 93 127 38;
--enchanted-forest-oklch: oklch(0.552 0.123 128);
}
.element {
color: var(--enchanted-forest);
background-color: hsl(83 54% 32%);
border-color: oklch(0.552 0.123 128);
}Tailwind CSS v4
@theme {
--color-enchanted-forest: #5d7f26;
--color-enchanted-forest-50: #eafdd8;
--color-enchanted-forest-100: #daf1c6;
--color-enchanted-forest-200: #c3dfa8;
--color-enchanted-forest-300: #a3c481;
--color-enchanted-forest-400: #89ac5a;
--color-enchanted-forest-500: #6e9531;
--color-enchanted-forest-600: #5e7e2b;
--color-enchanted-forest-700: #4b6522;
--color-enchanted-forest-800: #384a15;
--color-enchanted-forest-900: #26330d;
--color-enchanted-forest-950: #151f02;
}SCSS
$enchanted-forest: #5d7f26;
$enchanted-forest-rgb: 93, 127, 38;
$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);
}