最接近的命名颜色 · #287A4D
#287A4D
最接近的命名颜色: Woodland Soul
#287A4D(rgb(40 122 77)、hsl(147 51% 32%)、oklch(0.518 0.107 155.5))最接近命名颜色 Woodland Soul。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#287A4D
oklch(0.518 0.107 155.5)
颜色转换
- HEX
- #287a4d
- RGB
- rgb(40 122 77)
- HSL
- hsl(147 51% 32%)
- HWB
- hwb(147 16% 52%)
- OKLCH
- oklch(0.518 0.107 155.5)
- OKLab
- oklab(0.518 -0.097 0.044)
- CIE Lab
- lab(45.46 -34.13 17.18)
- LCH
- lch(45.46 38.21 153.3)
- CMYK
- cmyk(67% 0% 37% 52%)
浅色调 · 深色调 · 灰色调
浅色调
- 42875E
- 58946E
- 6DA17F
- 82AE91
- 96BBA2
- ABC9B4
- C0D6C7
- D5E4D9
- EAF1EC
深色调
- 216942
- 1B5937
- 15492C
- 0F3A22
- 092B18
- 041D0F
- 021007
- 010502
- 000100
灰色调
- 357B52
- 407C57
- 4A7C5D
- 537D62
- 5B7E67
- 637E6C
- 6A7F71
- 727F76
- 79807B
配色和谐
互补色 +180°
- 287A4D
Woodland Soul
- 8D4F80
≈ Razzmic Berry
类似色 -30° +30°
- 287A4D
Woodland Soul
- 5A7327
≈ Fern Frond
- 007970
≈ Pond Moss
三角配色 +120° +240°
- 287A4D
Woodland Soul
- 5762A5
≈ Submarine Base
- 9C4F3C
≈ Boynton Canyon
分裂互补色 +150° +210°
- 287A4D
Woodland Soul
- 775799
≈ Juneberry
- 9A4C5F
≈ Baby Berries
四角配色 +90° +180° +270°
- 287A4D
Woodland Soul
- 2A6DA1
≈ Deep Water
- 8D4F80
≈ Razzmic Berry
- 915A16
≈ Afghan Carpet
对比度与无障碍
Ag
AA白底
WCAG 5.27:1 · APCA Lc 76
Ag
Fail黑底
WCAG 3.98:1 · APCA Lc 26
最佳文字颜色: #FFFFFF
WCAG 5.27:1 (AA) · APCA Lc 76
Contrast pairs
代码片段
CSS
:root {
--woodland-soul: #287a4d;
--woodland-soul-rgb: 40 122 77;
--woodland-soul-oklch: oklch(0.518 0.107 155.5);
}
.element {
color: var(--woodland-soul);
background-color: hsl(147 51% 32%);
border-color: oklch(0.518 0.107 155.5);
}Tailwind CSS v4
@theme {
--color-woodland-soul: #287a4d;
--color-woodland-soul-50: #ddffe9;
--color-woodland-soul-100: #ccf3da;
--color-woodland-soul-200: #afe3c3;
--color-woodland-soul-300: #89c8a2;
--color-woodland-soul-400: #67b183;
--color-woodland-soul-500: #419b67;
--color-woodland-soul-600: #388357;
--color-woodland-soul-700: #2d6946;
--color-woodland-soul-800: #214d31;
--color-woodland-soul-900: #163521;
--color-woodland-soul-950: #062110;
}SCSS
$woodland-soul: #287a4d;
$woodland-soul-rgb: 40, 122, 77;
$woodland-soul-light: mix(#fff, $woodland-soul, 20%);
$woodland-soul-dark: mix(#000, $woodland-soul, 20%);
.element {
color: $woodland-soul;
box-shadow: 0 0 0 2px rgba($woodland-soul, 0.35);
}