最接近的命名颜色 · #1F7A5E
#1F7A5E
最接近的命名颜色: Greasy Greens
#1F7A5E(rgb(31 122 94)、hsl(162 59% 30%)、oklch(0.52 0.095 167.7))最接近命名颜色 Greasy Greens。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#1F7A5E
oklch(0.52 0.095 167.7)
颜色转换
- HEX
- #1f7a5e
- RGB
- rgb(31 122 94)
- HSL
- hsl(162 59% 30%)
- HWB
- hwb(162 12% 52%)
- OKLCH
- oklch(0.52 0.095 167.7)
- OKLab
- oklab(0.52 -0.093 0.02)
- CIE Lab
- lab(45.55 -32.79 7.46)
- LCH
- lch(45.55 33.63 167.2)
- CMYK
- cmyk(75% 0% 23% 52%)
浅色调 · 深色调 · 灰色调
浅色调
- 3C876D
- 54947C
- 6AA18B
- 80AE9B
- 95BBAB
- AAC9BB
- BFD6CC
- D4E4DD
- E9F1EE
深色调
- 196951
- 145944
- 0F4937
- 0A3A2B
- 062B1F
- 031D14
- 01100A
- 000503
- 000100
灰色调
- 2F7B61
- 3C7C65
- 477C68
- 507D6C
- 597E6F
- 617E72
- 697F76
- 717F79
- 79807D
配色和谐
互补色 +180°
- 1F7A5E
Greasy Greens
- 905173
≈ Sugar Plum
类似色 -30° +30°
- 1F7A5E
Greasy Greens
- 4D763E
≈ Mana Tree
- 00787B
≈ Blue Grass
三角配色 +120° +240°
- 1F7A5E
Greasy Greens
- 665F9C
≈ Giant Onion
- 955736
≈ Hello Fall
分裂互补色 +150° +210°
- 1F7A5E
Greasy Greens
- 7F578C
≈ Purple Mystery
- 985154
≈ Brown Cerberus
四角配色 +90° +180° +270°
- 1F7A5E
Greasy Greens
- 456A9F
≈ Star Sapphire
- 905173
≈ Sugar Plum
- 87611E
≈ Kumera
对比度与无障碍
Ag
AA白底
WCAG 5.24:1 · APCA Lc 76
Ag
Fail黑底
WCAG 4.00:1 · APCA Lc 26
最佳文字颜色: #FFFFFF
WCAG 5.24:1 (AA) · APCA Lc 76
Contrast pairs
代码片段
CSS
:root {
--greasy-greens: #1f7a5e;
--greasy-greens-rgb: 31 122 94;
--greasy-greens-oklch: oklch(0.52 0.095 167.7);
}
.element {
color: var(--greasy-greens);
background-color: hsl(162 59% 30%);
border-color: oklch(0.52 0.095 167.7);
}Tailwind CSS v4
@theme {
--color-greasy-greens: #1f7a5e;
--color-greasy-greens-50: #dcfff1;
--color-greasy-greens-100: #caf3e3;
--color-greasy-greens-200: #ade2ce;
--color-greasy-greens-300: #85c8b0;
--color-greasy-greens-400: #62b193;
--color-greasy-greens-500: #389a7a;
--color-greasy-greens-600: #318267;
--color-greasy-greens-700: #276852;
--color-greasy-greens-800: #1c4d3b;
--color-greasy-greens-900: #123528;
--color-greasy-greens-950: #042016;
}SCSS
$greasy-greens: #1f7a5e;
$greasy-greens-rgb: 31, 122, 94;
$greasy-greens-light: mix(#fff, $greasy-greens, 20%);
$greasy-greens-dark: mix(#000, $greasy-greens, 20%);
.element {
color: $greasy-greens;
box-shadow: 0 0 0 2px rgba($greasy-greens, 0.35);
}