最接近的命名颜色 · #31872E
#31872E
最接近的命名颜色: Resplendent Growth
#31872E(rgb(49 135 46)、hsl(118 49% 35%)、oklch(0.552 0.15 142.7))最接近命名颜色 Resplendent Growth。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#31872E
oklch(0.552 0.15 142.7)
颜色转换
- HEX
- #31872e
- RGB
- rgb(49 135 46)
- HSL
- hsl(118 49% 35%)
- HWB
- hwb(118 18% 47%)
- OKLCH
- oklch(0.552 0.15 142.7)
- OKLab
- oklab(0.552 -0.119 0.091)
- CIE Lab
- lab(49.76 -40.5 38.41)
- LCH
- lch(49.76 55.82 136.5)
- CMYK
- cmyk(64% 0% 66% 47%)
浅色调 · 深色调 · 灰色调
浅色调
- 499345
- 5E9F5A
- 73AB6E
- 87B783
- 9BC397
- AECFAB
- C2DBC0
- D6E7D5
- EBF3EA
深色调
- 297527
- 22631F
- 1A5118
- 134112
- 0C310B
- 062106
- 031302
- 010601
- 000100
灰色调
- 3C8739
- 468643
- 4F864B
- 578554
- 5F855C
- 668463
- 6D836B
- 738272
- 7A8179
配色和谐
互补色 +180°
- 31872E
Resplendent Growth
- 9A4FA4
≈ Purpureus
类似色 -30° +30°
- 31872E
Resplendent Growth
- 747900
≈ Portuguese Green
- 00866C
≈ Celtic Queen
三角配色 +120° +240°
- 31872E
Resplendent Growth
- 416EC9
≈ Han Blue
- BA4647
≈ Snakebite
分裂互补色 +150° +210°
- 31872E
Resplendent Growth
- 775DC1
≈ Fuchsia Blue
- B1467A
≈ Mystic Maroon
四角配色 +90° +180° +270°
- 31872E
Resplendent Growth
- 007CA9
≈ Benitoite
- 9A4FA4
≈ Purpureus
- AF5500
≈ Tijolo
对比度与无障碍
Ag
AA白底
WCAG 4.53:1 · APCA Lc 71
Ag
AA黑底
WCAG 4.63:1 · APCA Lc 31
最佳文字颜色: #000000
WCAG 4.63:1 (AA) · APCA Lc 31
Contrast pairs
代码片段
CSS
:root {
--resplendent-growth: #31872e;
--resplendent-growth-rgb: 49 135 46;
--resplendent-growth-oklch: oklch(0.552 0.15 142.7);
}
.element {
color: var(--resplendent-growth);
background-color: hsl(118 49% 35%);
border-color: oklch(0.552 0.15 142.7);
}Tailwind CSS v4
@theme {
--color-resplendent-growth: #31872e;
--color-resplendent-growth-50: #dcffdb;
--color-resplendent-growth-100: #caf6c9;
--color-resplendent-growth-200: #ace6ac;
--color-resplendent-growth-300: #85cc87;
--color-resplendent-growth-400: #65b460;
--color-resplendent-growth-500: #3d9e3a;
--color-resplendent-growth-600: #368632;
--color-resplendent-growth-700: #2b6b28;
--color-resplendent-growth-800: #214e18;
--color-resplendent-growth-900: #163710;
--color-resplendent-growth-950: #072103;
}SCSS
$resplendent-growth: #31872e;
$resplendent-growth-rgb: 49, 135, 46;
$resplendent-growth-light: mix(#fff, $resplendent-growth, 20%);
$resplendent-growth-dark: mix(#000, $resplendent-growth, 20%);
.element {
color: $resplendent-growth;
box-shadow: 0 0 0 2px rgba($resplendent-growth, 0.35);
}