最接近的命名颜色 · #008052
#008052
最接近的命名颜色: Woodland Soul
#008052(rgb(0 128 82)、hsl(158 100% 25%)、oklch(0.529 0.121 159.6))最接近命名颜色 Woodland Soul。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#008052
oklch(0.529 0.121 159.6)
颜色转换
- HEX
- #008052
- RGB
- rgb(0 128 82)
- HSL
- hsl(158 100% 25%)
- HWB
- hwb(158 0% 50%)
- OKLCH
- oklch(0.529 0.121 159.6)
- OKLab
- oklab(0.529 -0.113 0.042)
- CIE Lab
- lab(46.96 -40.27 16.2)
- LCH
- lch(46.96 43.4 158.1)
- CMYK
- cmyk(100% 0% 36% 50%)
浅色调 · 深色调 · 灰色调
浅色调
- 328C62
- 4D9972
- 65A683
- 7CB294
- 92BFA5
- A8CCB7
- BDD8C8
- D3E5DA
- E9F2ED
深色调
- 006E46
- 005D3B
- 004D2F
- 003D25
- 002E1A
- 001F11
- 001208
- 000602
- 000100
灰色调
- 238057
- 34815B
- 418160
- 4C8165
- 568169
- 5F816E
- 688172
- 708177
- 78807B
配色和谐
互补色 +180°
- 008052
Woodland Soul
- 984D82
≈ Plum Passion
类似色 -30° +30°
- 008052
Woodland Soul
- 547923
≈ Master Chief
- 007C77
≈ Wizards Orb
三角配色 +120° +240°
- 008052
Woodland Soul
- 5E62AF
≈ Bellflower
- A44F32
≈ Texas Heatwave
分裂互补色 +150° +210°
- 008052
Woodland Soul
- 80569F
≈ Royal Lilac
- A44A5C
≈ Rose Laffy Taffy
四角配色 +90° +180° +270°
- 008052
Woodland Soul
- 2A6FAE
≈ In the Nick
- 984D82
≈ Plum Passion
- 955D00
≈ Raw Sienna
对比度与无障碍
Ag
AA白底
WCAG 4.98:1 · APCA Lc 74
Ag
Fail黑底
WCAG 4.20:1 · APCA Lc 28
最佳文字颜色: #FFFFFF
WCAG 4.98:1 (AA) · APCA Lc 74
Contrast pairs
代码片段
CSS
:root {
--woodland-soul: #008052;
--woodland-soul-rgb: 0 128 82;
--woodland-soul-oklch: oklch(0.529 0.121 159.6);
}
.element {
color: var(--woodland-soul);
background-color: hsl(158 100% 25%);
border-color: oklch(0.529 0.121 159.6);
}Tailwind CSS v4
@theme {
--color-woodland-soul: #008052;
--color-woodland-soul-50: #d8ffea;
--color-woodland-soul-100: #c5f5db;
--color-woodland-soul-200: #a6e5c4;
--color-woodland-soul-300: #7ccba4;
--color-woodland-soul-400: #56b485;
--color-woodland-soul-500: #1f9e69;
--color-woodland-soul-600: #1f8559;
--color-woodland-soul-700: #196b47;
--color-woodland-soul-800: #134f32;
--color-woodland-soul-900: #0c3722;
--color-woodland-soul-950: #002111;
}SCSS
$woodland-soul: #008052;
$woodland-soul-rgb: 0, 128, 82;
$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);
}