最接近的命名颜色 · #30851F
#30851F
最接近的命名颜色: Asian Spice
#30851F(rgb(48 133 31)、hsl(110 62% 32%)、oklch(0.545 0.158 140.7))最接近命名颜色 Asian Spice。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#30851F
oklch(0.545 0.158 140.7)
颜色转换
- HEX
- #30851f
- RGB
- rgb(48 133 31)
- HSL
- hsl(110 62% 32%)
- HWB
- hwb(110 12% 48%)
- OKLCH
- oklch(0.545 0.158 140.7)
- OKLab
- oklab(0.545 -0.123 0.1)
- CIE Lab
- lab(48.95 -41.06 43.61)
- LCH
- lch(48.95 59.9 133.3)
- CMYK
- cmyk(64% 0% 77% 48%)
浅色调 · 深色调 · 灰色调
浅色调
- 48913B
- 5D9D52
- 72AA68
- 86B67D
- 9AC292
- AECEA8
- C2DABD
- D6E7D3
- EAF3E9
深色调
- 287319
- 216114
- 1A500F
- 13400A
- 0C3006
- 062103
- 031301
- 010600
- 000100
灰色调
- 3B852E
- 45853A
- 4E8545
- 56844E
- 5E8457
- 658360
- 6C8368
- 738270
- 7A8178
配色和谐
互补色 +180°
- 30851F
Asian Spice
- 984BA7
≈ Purpureus
类似色 -30° +30°
- 30851F
Asian Spice
- 747500
≈ Mongolian Plateau
- 008467
≈ Shadows of Time
三角配色 +120° +240°
- 30851F
Asian Spice
- 366CCB
≈ Celtic Blue
- BA3F46
≈ Chinese Safflower
分裂互补色 +150° +210°
- 30851F
Asian Spice
- 725AC4
≈ Fuchsia Blue
- B0407C
≈ Mystic Maroon
四角配色 +90° +180° +270°
- 30851F
Asian Spice
- 007AA4
≈ CG Blue
- 984BA7
≈ Purpureus
- AF5200
≈ Cinnamon Bun
对比度与无障碍
Ag
AA白底
WCAG 4.66:1 · APCA Lc 72
Ag
AA黑底
WCAG 4.50:1 · APCA Lc 30
最佳文字颜色: #FFFFFF
WCAG 4.66:1 (AA) · APCA Lc 72
Contrast pairs
代码片段
CSS
:root {
--asian-spice: #30851f;
--asian-spice-rgb: 48 133 31;
--asian-spice-oklch: oklch(0.545 0.158 140.7);
}
.element {
color: var(--asian-spice);
background-color: hsl(110 62% 32%);
border-color: oklch(0.545 0.158 140.7);
}Tailwind CSS v4
@theme {
--color-asian-spice: #30851f;
--color-asian-spice-50: #dcffd8;
--color-asian-spice-100: #caf6c6;
--color-asian-spice-200: #ade6a8;
--color-asian-spice-300: #86cc80;
--color-asian-spice-400: #66b558;
--color-asian-spice-500: #3f9e2d;
--color-asian-spice-600: #378628;
--color-asian-spice-700: #2c6b20;
--color-asian-spice-800: #224f11;
--color-asian-spice-900: #16370b;
--color-asian-spice-950: #072101;
}SCSS
$asian-spice: #30851f;
$asian-spice-rgb: 48, 133, 31;
$asian-spice-light: mix(#fff, $asian-spice, 20%);
$asian-spice-dark: mix(#000, $asian-spice, 20%);
.element {
color: $asian-spice;
box-shadow: 0 0 0 2px rgba($asian-spice, 0.35);
}