最接近的命名颜色 · #23331C
#23331C
最接近的命名颜色: Darkest Forest
#23331C(rgb(35 51 28)、hsl(102 29% 15%)、oklch(0.3 0.045 136.6))最接近命名颜色 Darkest Forest。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#23331C
oklch(0.3 0.045 136.6)
颜色转换
- HEX
- #23331c
- RGB
- rgb(35 51 28)
- HSL
- hsl(102 29% 15%)
- HWB
- hwb(102 11% 80%)
- OKLCH
- oklch(0.3 0.045 136.6)
- OKLab
- oklab(0.3 -0.033 0.031)
- CIE Lab
- lab(19.3 -10.9 12.39)
- LCH
- lch(19.3 16.5 131.3)
- CMYK
- cmyk(31% 0% 45% 80%)
浅色调 · 深色调 · 灰色调
浅色调
- 36452F
- 495744
- 5E6A59
- 737E6F
- 899385
- 9FA79C
- B7BDB4
- CED2CD
- E6E8E6
深色调
- 1D2B17
- 172312
- 111C0D
- 0C1408
- 070D05
- 040702
- 010301
- 000100
- 000000
灰色调
- 2C3A25
- 34422F
- 3D4938
- 465142
- 50584C
- 596056
- 626860
- 6C706B
- 767875
配色和谐
互补色 +180°
- 23331C
Darkest Forest
- 37273D
≈ Spinel Violet
类似色 -30° +30°
- 23331C
Darkest Forest
- 302F13
≈ Swamp of Sorrows
- 143529
≈ Pumpkin Green Black
三角配色 +120° +240°
- 23331C
Darkest Forest
- 1F2E44
≈ Manganese Black
- 422426
≈ Nisemurasaki Purple
分裂互补色 +150° +210°
- 23331C
Darkest Forest
- 2C2A43
≈ Evening Blue
- 3E2432
≈ Toledo
四角配色 +90° +180° +270°
- 23331C
Darkest Forest
- 11323F
≈ Firmament Blue
- 37273D
≈ Spinel Violet
- 40261A
≈ Woodsy Brown
对比度与无障碍
Ag
AAA白底
WCAG 13.44:1 · APCA Lc 100
Ag
Fail黑底
WCAG 1.56:1 · APCA Lc 0
最佳文字颜色: #FFFFFF
WCAG 13.44:1 (AAA) · APCA Lc 100
Contrast pairs
代码片段
CSS
:root {
--darkest-forest: #23331c;
--darkest-forest-rgb: 35 51 28;
--darkest-forest-oklch: oklch(0.3 0.045 136.6);
}
.element {
color: var(--darkest-forest);
background-color: hsl(102 29% 15%);
border-color: oklch(0.3 0.045 136.6);
}Tailwind CSS v4
@theme {
--color-darkest-forest: #23331c;
--color-darkest-forest-50: #eff8ec;
--color-darkest-forest-100: #e1ecdd;
--color-darkest-forest-200: #cbd9c7;
--color-darkest-forest-300: #acbda7;
--color-darkest-forest-400: #92a58b;
--color-darkest-forest-500: #798d70;
--color-darkest-forest-600: #66785f;
--color-darkest-forest-700: #52604c;
--color-darkest-forest-800: #3c4636;
--color-darkest-forest-900: #293025;
--color-darkest-forest-950: #171d14;
}SCSS
$darkest-forest: #23331c;
$darkest-forest-rgb: 35, 51, 28;
$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);
}