最接近的命名颜色 · #008A22
#008A22
最接近的命名颜色: Asian Spice
#008A22(rgb(0 138 34)、hsl(135 100% 27%)、oklch(0.55 0.174 144.9))最接近命名颜色 Asian Spice。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#008A22
oklch(0.55 0.174 144.9)
颜色转换
- HEX
- #008a22
- RGB
- rgb(0 138 34)
- HSL
- hsl(135 100% 27%)
- HWB
- hwb(135 0% 46%)
- OKLCH
- oklch(0.55 0.174 144.9)
- OKLab
- oklab(0.55 -0.142 0.1)
- CIE Lab
- lab(49.88 -48.91 43.11)
- LCH
- lch(49.88 65.2 138.6)
- CMYK
- cmyk(100% 0% 75% 46%)
浅色调 · 深色调 · 灰色调
浅色调
- 33963D
- 4FA254
- 67AE69
- 7DB97E
- 93C594
- A9D1A9
- BEDCBE
- D4E8D3
- E9F3E9
深色调
- 00771C
- 006516
- 005311
- 00420B
- 003207
- 002203
- 001401
- 000700
- 000100
灰色调
- 248A30
- 35893C
- 428846
- 4D874F
- 578758
- 608661
- 698469
- 718371
- 798278
配色和谐
互补色 +180°
- 008A22
Asian Spice
- A245A8
≈ Medium Purple
类似色 -30° +30°
- 008A22
Asian Spice
- 707900
≈ Portuguese Green
- 00856E
≈ Viridis
三角配色 +120° +240°
- 008A22
Asian Spice
- 3E69D6
≈ Han Blue
- C33A3A
≈ Stop
分裂互补色 +150° +210°
- 008A22
Asian Spice
- 7B56CB
≈ Fuchsia Blue
- BA3977
≈ Fuchsia Red
四角配色 +90° +180° +270°
- 008A22
Asian Spice
- 007BAB
≈ Benitoite
- A245A8
≈ Medium Purple
- AC5700
≈ Tijolo
对比度与无障碍
Ag
AA白底
WCAG 4.50:1 · APCA Lc 71
Ag
AA黑底
WCAG 4.65:1 · APCA Lc 31
最佳文字颜色: #000000
WCAG 4.65:1 (AA) · APCA Lc 31
Contrast pairs
代码片段
CSS
:root {
--asian-spice: #008a22;
--asian-spice-rgb: 0 138 34;
--asian-spice-oklch: oklch(0.55 0.174 144.9);
}
.element {
color: var(--asian-spice);
background-color: hsl(135 100% 27%);
border-color: oklch(0.55 0.174 144.9);
}Tailwind CSS v4
@theme {
--color-asian-spice: #008a22;
--color-asian-spice-50: #d5ffd9;
--color-asian-spice-100: #c2f8c6;
--color-asian-spice-200: #a2e9a9;
--color-asian-spice-300: #77cf81;
--color-asian-spice-400: #51b858;
--color-asian-spice-500: #10a22e;
--color-asian-spice-600: #158929;
--color-asian-spice-700: #126e20;
--color-asian-spice-800: #125011;
--color-asian-spice-900: #0b380b;
--color-asian-spice-950: #002201;
}SCSS
$asian-spice: #008a22;
$asian-spice-rgb: 0, 138, 34;
$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);
}