最接近的命名颜色 · #048A24
#048A24
最接近的命名颜色: Asian Spice
#048A24(rgb(4 138 36)、hsl(134 94% 28%)、oklch(0.551 0.172 145))最接近命名颜色 Asian Spice。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#048A24
oklch(0.551 0.172 145)
颜色转换
- HEX
- #048a24
- RGB
- rgb(4 138 36)
- HSL
- hsl(134 94% 28%)
- HWB
- hwb(134 2% 46%)
- OKLCH
- oklch(0.551 0.172 145)
- OKLab
- oklab(0.551 -0.141 0.099)
- CIE Lab
- lab(49.92 -48.51 42.42)
- LCH
- lch(49.92 64.44 138.8)
- CMYK
- cmyk(97% 0% 74% 46%)
浅色调 · 深色调 · 灰色调
浅色调
- 34963E
- 50A255
- 67AE6A
- 7EB97F
- 94C594
- A9D1A9
- BEDCBE
- D4E8D4
- E9F3E9
深色调
- 03771E
- 026518
- 015312
- 01420C
- 003207
- 002204
- 001402
- 000700
- 000100
灰色调
- 258A32
- 36893D
- 438847
- 4E8750
- 588759
- 618561
- 698469
- 718371
- 798279
配色和谐
互补色 +180°
- 048A24
Asian Spice
- A146A8
≈ Medium Purple
类似色 -30° +30°
- 048A24
Asian Spice
- 707900
≈ Portuguese Green
- 00856E
≈ Viridis
三角配色 +120° +240°
- 048A24
Asian Spice
- 3F69D5
≈ Han Blue
- C23B3A
≈ Crimson Glow
分裂互补色 +150° +210°
- 048A24
Asian Spice
- 7B56CA
≈ Fuchsia Blue
- B93A77
≈ Fuchsia Red
四角配色 +90° +180° +270°
- 048A24
Asian Spice
- 007BAC
≈ Jacuzzi
- A146A8
≈ Medium Purple
- AC5800
≈ Tijolo
对比度与无障碍
Ag
AA白底
WCAG 4.50:1 · APCA Lc 71
Ag
AA黑底
WCAG 4.66:1 · APCA Lc 31
最佳文字颜色: #000000
WCAG 4.66:1 (AA) · APCA Lc 31
Contrast pairs
代码片段
CSS
:root {
--asian-spice: #048a24;
--asian-spice-rgb: 4 138 36;
--asian-spice-oklch: oklch(0.551 0.172 145);
}
.element {
color: var(--asian-spice);
background-color: hsl(134 94% 28%);
border-color: oklch(0.551 0.172 145);
}Tailwind CSS v4
@theme {
--color-asian-spice: #048a24;
--color-asian-spice-50: #d6ffd9;
--color-asian-spice-100: #c2f8c7;
--color-asian-spice-200: #a2e9a9;
--color-asian-spice-300: #77cf82;
--color-asian-spice-400: #52b859;
--color-asian-spice-500: #13a22f;
--color-asian-spice-600: #17892a;
--color-asian-spice-700: #136e21;
--color-asian-spice-800: #125012;
--color-asian-spice-900: #0c380c;
--color-asian-spice-950: #002201;
}SCSS
$asian-spice: #048a24;
$asian-spice-rgb: 4, 138, 36;
$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);
}