最接近的命名颜色 · #2E786B
#2E786B
最接近的命名颜色: Pearl Green
#2E786B(rgb(46 120 107)、hsl(169 45% 33%)、oklch(0.523 0.076 179.7))最接近命名颜色 Pearl Green。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#2E786B
oklch(0.523 0.076 179.7)
颜色转换
- HEX
- #2e786b
- RGB
- rgb(46 120 107)
- HSL
- hsl(169 45% 33%)
- HWB
- hwb(169 18% 53%)
- OKLCH
- oklch(0.523 0.076 179.7)
- OKLab
- oklab(0.523 -0.076 0)
- CIE Lab
- lab(45.58 -26.47 -0.04)
- LCH
- lch(45.58 26.47 180.1)
- CMYK
- cmyk(62% 0% 11% 53%)
浅色调 · 深色调 · 灰色调
浅色调
- 468579
- 5B9287
- 709F95
- 84ACA3
- 98BAB2
- ACC7C1
- C1D5D0
- D5E3E0
- EAF1EF
深色调
- 27675C
- 1F574E
- 18483F
- 123932
- 0B2A25
- 061D18
- 02100D
- 010504
- 000100
灰色调
- 3A796D
- 437A6F
- 4C7B71
- 557C73
- 5D7C75
- 647D78
- 6B7E7A
- 727F7C
- 797F7E
配色和谐
互补色 +180°
- 2E786B
Pearl Green
- 8E5768
≈ Pink Peppercorn
类似色 -30° +30°
- 2E786B
Pearl Green
- 497652
≈ Killarney
- 287682
≈ Blue Kelp
三角配色 +120° +240°
- 2E786B
Pearl Green
- 70608F
≈ Super Violet
- 8A5F3B
≈ Quiver
分裂互补色 +150° +210°
- 2E786B
Pearl Green
- 82597F
≈ Dull Purple
- 905950
≈ Rich Brocade
四角配色 +90° +180° +270°
- 2E786B
Pearl Green
- 586896
≈ UCLA Blue
- 8E5768
≈ Pink Peppercorn
- 7B6832
≈ Racoon Eyes
对比度与无障碍
Ag
AA白底
WCAG 5.23:1 · APCA Lc 76
Ag
Fail黑底
WCAG 4.01:1 · APCA Lc 26
最佳文字颜色: #FFFFFF
WCAG 5.23:1 (AA) · APCA Lc 76
Contrast pairs
代码片段
CSS
:root {
--pearl-green: #2e786b;
--pearl-green-rgb: 46 120 107;
--pearl-green-oklch: oklch(0.523 0.076 179.7);
}
.element {
color: var(--pearl-green);
background-color: hsl(169 45% 33%);
border-color: oklch(0.523 0.076 179.7);
}Tailwind CSS v4
@theme {
--color-pearl-green: #2e786b;
--color-pearl-green-50: #dffdf6;
--color-pearl-green-100: #cdf1e9;
--color-pearl-green-200: #b1dfd6;
--color-pearl-green-300: #8cc5ba;
--color-pearl-green-400: #6aada0;
--color-pearl-green-500: #459788;
--color-pearl-green-600: #3b7f73;
--color-pearl-green-700: #2f665c;
--color-pearl-green-800: #214b42;
--color-pearl-green-900: #16342e;
--color-pearl-green-950: #071f1a;
}SCSS
$pearl-green: #2e786b;
$pearl-green-rgb: 46, 120, 107;
$pearl-green-light: mix(#fff, $pearl-green, 20%);
$pearl-green-dark: mix(#000, $pearl-green, 20%);
.element {
color: $pearl-green;
box-shadow: 0 0 0 2px rgba($pearl-green, 0.35);
}