最接近的命名颜色 · #252E20
#252E20
最接近的命名颜色: Marshland
#252E20(rgb(37 46 32)、hsl(99 18% 15%)、oklch(0.288 0.028 134.6))最接近命名颜色 Marshland。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#252E20
oklch(0.288 0.028 134.6)
颜色转换
- HEX
- #252e20
- RGB
- rgb(37 46 32)
- HSL
- hsl(99 18% 15%)
- HWB
- hwb(99 13% 82%)
- OKLCH
- oklch(0.288 0.028 134.6)
- OKLab
- oklab(0.288 -0.019 0.02)
- CIE Lab
- lab(17.73 -6.51 7.72)
- LCH
- lch(17.73 10.1 130.1)
- CMYK
- cmyk(20% 0% 30% 82%)
浅色调 · 深色调 · 灰色调
浅色调
- 374033
- 4B5347
- 5F665B
- 747B71
- 8A8F87
- A0A59E
- B7BBB5
- CFD1CD
- E7E8E6
深色调
- 1F271A
- 191F15
- 13180F
- 0D120A
- 080B06
- 040603
- 020201
- 000100
- 000000
灰色调
- 2D3629
- 363D32
- 3E453B
- 474D44
- 50554E
- 5A5E57
- 636661
- 6C6F6B
- 767776
配色和谐
互补色 +180°
- 252E20
Marshland
- 302734
≈ Black Safflower
类似色 -30° +30°
- 252E20
Marshland
- 2D2C1B
≈ Metal Construction Green
- 1E2F27
≈ Quartzite
三角配色 +120° +240°
- 252E20
Marshland
- 212C39
≈ Tangaroa
- 372526
≈ Aubergine
分裂互补色 +150° +210°
- 252E20
Marshland
- 292938
≈ Mangu Black
- 35252E
≈ Aubergine
四角配色 +90° +180° +270°
对比度与无障碍
Ag
AAA白底
WCAG 14.09:1 · APCA Lc 101
Ag
Fail黑底
WCAG 1.49:1 · APCA Lc 0
最佳文字颜色: #FFFFFF
WCAG 14.09:1 (AAA) · APCA Lc 101
Contrast pairs
代码片段
CSS
:root {
--marshland: #252e20;
--marshland-rgb: 37 46 32;
--marshland-oklch: oklch(0.288 0.028 134.6);
}
.element {
color: var(--marshland);
background-color: hsl(99 18% 15%);
border-color: oklch(0.288 0.028 134.6);
}Tailwind CSS v4
@theme {
--color-marshland: #252e20;
--color-marshland-50: #f2f7ef;
--color-marshland-100: #e4eae1;
--color-marshland-200: #cfd7cc;
--color-marshland-300: #b1bbad;
--color-marshland-400: #98a292;
--color-marshland-500: #7f8b78;
--color-marshland-600: #6b7566;
--color-marshland-700: #565e51;
--color-marshland-800: #3f453b;
--color-marshland-900: #2b2f28;
--color-marshland-950: #181c16;
}SCSS
$marshland: #252e20;
$marshland-rgb: 37, 46, 32;
$marshland-light: mix(#fff, $marshland, 20%);
$marshland-dark: mix(#000, $marshland, 20%);
.element {
color: $marshland;
box-shadow: 0 0 0 2px rgba($marshland, 0.35);
}