最接近的命名颜色 · #5D7F28
#5D7F28
最接近的命名颜色: Enchanted Forest
#5D7F28(rgb(93 127 40)、hsl(83 52% 33%)、oklch(0.552 0.121 128.2))最接近命名颜色 Enchanted Forest。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#5D7F28
oklch(0.552 0.121 128.2)
颜色转换
- HEX
- #5d7f28
- RGB
- rgb(93 127 40)
- HSL
- hsl(83 52% 33%)
- HWB
- hwb(83 16% 50%)
- OKLCH
- oklch(0.552 0.121 128.2)
- OKLab
- oklab(0.552 -0.075 0.095)
- CIE Lab
- lab(49.23 -23.13 41.23)
- LCH
- lch(49.23 47.27 119.3)
- CMYK
- cmyk(27% 0% 69% 50%)
浅色调 · 深色调 · 灰色调
浅色调
- 6C8B41
- 7B9856
- 8BA56B
- 9BB180
- ABBE95
- BBCBAA
- CCD8BF
- DDE5D4
- EEF2E9
深色调
- 506E21
- 435D1B
- 374C15
- 2A3C0F
- 1F2D09
- 141F04
- 0A1102
- 030601
- 000100
灰色调
- 617F34
- 64803F
- 688048
- 6B8051
- 6F805A
- 728062
- 76806A
- 798071
- 7D8079
配色和谐
互补色 +180°
- 5D7F28
Enchanted Forest
- 865DA8
≈ Chive Blossom
类似色 -30° +30°
- 5D7F28
Enchanted Forest
- 847200
≈ Sunlit Kelp Green
- 198756
≈ Vital Green
三角配色 +120° +240°
- 5D7F28
Enchanted Forest
- 2E76B5
≈ North Atlantic Breeze
- AC5064
≈ Rose Vale
分裂互补色 +150° +210°
- 5D7F28
Enchanted Forest
- 6369B7
≈ Bluish Purple Anemone
- 9F548A
≈ Purple Zergling
四角配色 +90° +180° +270°
- 5D7F28
Enchanted Forest
- 007F99
≈ Amazing Sky
- 865DA8
≈ Chive Blossom
- AC563A
≈ Flat Earth
对比度与无障碍
Ag
AA白底
WCAG 4.63:1 · APCA Lc 72
Ag
AA黑底
WCAG 4.53:1 · APCA Lc 30
最佳文字颜色: #FFFFFF
WCAG 4.63:1 (AA) · APCA Lc 72
Contrast pairs
代码片段
CSS
:root {
--enchanted-forest: #5d7f28;
--enchanted-forest-rgb: 93 127 40;
--enchanted-forest-oklch: oklch(0.552 0.121 128.2);
}
.element {
color: var(--enchanted-forest);
background-color: hsl(83 52% 33%);
border-color: oklch(0.552 0.121 128.2);
}Tailwind CSS v4
@theme {
--color-enchanted-forest: #5d7f28;
--color-enchanted-forest-50: #eafdd9;
--color-enchanted-forest-100: #daf1c7;
--color-enchanted-forest-200: #c3dfa9;
--color-enchanted-forest-300: #a3c482;
--color-enchanted-forest-400: #89ac5b;
--color-enchanted-forest-500: #6e9533;
--color-enchanted-forest-600: #5e7e2d;
--color-enchanted-forest-700: #4b6524;
--color-enchanted-forest-800: #384a16;
--color-enchanted-forest-900: #26330e;
--color-enchanted-forest-950: #141f02;
}SCSS
$enchanted-forest: #5d7f28;
$enchanted-forest-rgb: 93, 127, 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);
}