最接近的命名颜色 · #283A1F
#283A1F
最接近的命名颜色: Darkest Forest
#283A1F(rgb(40 58 31)、hsl(100 30% 17%)、oklch(0.325 0.051 135.8))最接近命名颜色 Darkest Forest。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#283A1F
oklch(0.325 0.051 135.8)
颜色转换
- HEX
- #283a1f
- RGB
- rgb(40 58 31)
- HSL
- hsl(100 30% 17%)
- HWB
- hwb(100 12% 77%)
- OKLCH
- oklch(0.325 0.051 135.8)
- OKLab
- oklab(0.325 -0.037 0.036)
- CIE Lab
- lab(22.26 -12.14 14.35)
- LCH
- lch(22.26 18.79 130.2)
- CMYK
- cmyk(31% 0% 47% 77%)
浅色调 · 深色调 · 灰色调
浅色调
- 3B4B32
- 4E5D47
- 62705B
- 778371
- 8C9787
- A2AB9E
- B9BFB6
- D0D4CE
- E7E9E6
深色调
- 213119
- 1B2814
- 15200F
- 0F180A
- 091006
- 040903
- 020401
- 010100
- 000000
灰色调
- 304128
- 394732
- 414E3B
- 4A5544
- 525C4E
- 5B6358
- 646A62
- 6D716C
- 777976
配色和谐
互补色 +180°
- 283A1F
Darkest Forest
- 3E2C46
≈ Jagger
类似色 -30° +30°
- 283A1F
Darkest Forest
- 383614
≈ Camouflage
- 163C2E
≈ Palm Green
三角配色 +120° +240°
- 283A1F
Darkest Forest
- 22354E
≈ Blue Lobelia
- 4B292B
≈ Rookwood Dark Red
分裂互补色 +150° +210°
- 283A1F
Darkest Forest
- 32304D
≈ Wild Iris
- 47293A
≈ Wine Tasting
四角配色 +90° +180° +270°
- 283A1F
Darkest Forest
- 113948
≈ Into the Night
- 3E2C46
≈ Jagger
- 4A2B1D
≈ Subterranean
对比度与无障碍
Ag
AAA白底
WCAG 12.24:1 · APCA Lc 98
Ag
Fail黑底
WCAG 1.71:1 · APCA Lc 0
最佳文字颜色: #FFFFFF
WCAG 12.24:1 (AAA) · APCA Lc 98
Contrast pairs
代码片段
CSS
:root {
--darkest-forest: #283a1f;
--darkest-forest-rgb: 40 58 31;
--darkest-forest-oklch: oklch(0.325 0.051 135.8);
}
.element {
color: var(--darkest-forest);
background-color: hsl(100 30% 17%);
border-color: oklch(0.325 0.051 135.8);
}Tailwind CSS v4
@theme {
--color-darkest-forest: #283a1f;
--color-darkest-forest-50: #eef9eb;
--color-darkest-forest-100: #e0ecdc;
--color-darkest-forest-200: #cadac5;
--color-darkest-forest-300: #abbea5;
--color-darkest-forest-400: #91a688;
--color-darkest-forest-500: #778e6c;
--color-darkest-forest-600: #65785c;
--color-darkest-forest-700: #516049;
--color-darkest-forest-800: #3b4634;
--color-darkest-forest-900: #293124;
--color-darkest-forest-950: #161d13;
}SCSS
$darkest-forest: #283a1f;
$darkest-forest-rgb: 40, 58, 31;
$darkest-forest-light: mix(#fff, $darkest-forest, 20%);
$darkest-forest-dark: mix(#000, $darkest-forest, 20%);
.element {
color: $darkest-forest;
box-shadow: 0 0 0 2px rgba($darkest-forest, 0.35);
}