最接近的命名颜色 · #54831B
#54831B
最接近的命名颜色: Enchanted Forest
#54831B(rgb(84 131 27)、hsl(87 66% 31%)、oklch(0.556 0.14 131.5))最接近命名颜色 Enchanted Forest。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#54831B
oklch(0.556 0.14 131.5)
颜色转换
- HEX
- #54831b
- RGB
- rgb(84 131 27)
- HSL
- hsl(87 66% 31%)
- HWB
- hwb(87 11% 49%)
- OKLCH
- oklch(0.556 0.14 131.5)
- OKLab
- oklab(0.556 -0.093 0.105)
- CIE Lab
- lab(49.87 -29.1 46.51)
- LCH
- lch(49.87 54.87 122)
- CMYK
- cmyk(36% 0% 79% 49%)
浅色调 · 深色调 · 灰色调
浅色调
- 648F39
- 759C51
- 85A867
- 96B47C
- A7C192
- B8CDA7
- C9D9BD
- DBE6D3
- EDF2E9
深色调
- 487116
- 3C6011
- 314F0C
- 263F08
- 1B2F05
- 112002
- 081201
- 020600
- 000100
灰色调
- 59832C
- 5D8339
- 628344
- 66834D
- 6B8357
- 6F825F
- 738268
- 788170
- 7C8178
配色和谐
互补色 +180°
- 54831B
Enchanted Forest
- 8E58AE
≈ Lusty Lavender
类似色 -30° +30°
- 54831B
Enchanted Forest
- 827500
≈ Tool Green
- 00895C
≈ Vital Green
三角配色 +120° +240°
- 54831B
Enchanted Forest
- 2775C2
≈ Bluish
- B54A5E
≈ Dark Rose
分裂互补色 +150° +210°
- 54831B
Enchanted Forest
- 6766C2
≈ Bluish Purple Anemone
- A84D8B
≈ Plum Dust
四角配色 +90° +180° +270°
- 54831B
Enchanted Forest
- 00809D
≈ Amazing Sky
- 8E58AE
≈ Lusty Lavender
- B55128
≈ Gold Flame
对比度与无障碍
Ag
AA白底
WCAG 4.52:1 · APCA Lc 71
Ag
AA黑底
WCAG 4.63:1 · APCA Lc 30
最佳文字颜色: #000000
WCAG 4.63:1 (AA) · APCA Lc 30
Contrast pairs
代码片段
CSS
:root {
--enchanted-forest: #54831b;
--enchanted-forest-rgb: 84 131 27;
--enchanted-forest-oklch: oklch(0.556 0.14 131.5);
}
.element {
color: var(--enchanted-forest);
background-color: hsl(87 66% 31%);
border-color: oklch(0.556 0.14 131.5);
}Tailwind CSS v4
@theme {
--color-enchanted-forest: #54831b;
--color-enchanted-forest-50: #e5ffd6;
--color-enchanted-forest-100: #d6f3c3;
--color-enchanted-forest-200: #bce2a4;
--color-enchanted-forest-300: #9ac77c;
--color-enchanted-forest-400: #80af53;
--color-enchanted-forest-500: #639824;
--color-enchanted-forest-600: #548121;
--color-enchanted-forest-700: #43671b;
--color-enchanted-forest-800: #324b0e;
--color-enchanted-forest-900: #223409;
--color-enchanted-forest-950: #112000;
}SCSS
$enchanted-forest: #54831b;
$enchanted-forest-rgb: 84, 131, 27;
$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);
}