最接近的命名颜色 · #50803F
#50803F
最接近的命名颜色: Shepherd’s Green
#50803F(rgb(80 128 63)、hsl(104 34% 37%)、oklch(0.549 0.108 138.1))最接近命名颜色 Shepherd’s Green。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#50803F
oklch(0.549 0.108 138.1)
颜色转换
- HEX
- #50803f
- RGB
- rgb(80 128 63)
- HSL
- hsl(104 34% 37%)
- HWB
- hwb(104 25% 50%)
- OKLCH
- oklch(0.549 0.108 138.1)
- OKLab
- oklab(0.549 -0.081 0.072)
- CIE Lab
- lab(48.96 -26.79 29.66)
- LCH
- lch(48.96 39.97 132.1)
- CMYK
- cmyk(38% 0% 51% 50%)
浅色调 · 深色调 · 灰色调
浅色调
- 618C52
- 729965
- 83A577
- 94B28A
- A5BE9D
- B7CBB0
- C8D8C3
- DAE5D7
- EDF2EB
深色调
- 446E35
- 395D2C
- 2E4D23
- 243D1B
- 1A2E12
- 101F0A
- 071204
- 020601
- 000100
灰色调
- 558047
- 5A804E
- 5F8154
- 64815B
- 698161
- 6E8168
- 72816E
- 778074
- 7C807A
配色和谐
互补色 +180°
- 50803F
Shepherd’s Green
- 8C5C9A
≈ Wisteria Purple
类似色 -30° +30°
- 50803F
Shepherd’s Green
- 78761A
≈ Crocodile Eye
- 0D8565
≈ Spectral Green
三角配色 +120° +240°
- 50803F
Shepherd’s Green
- 4872B0
≈ Croquet Blue
- A75559
≈ The Ego Has Landed
分裂互补色 +150° +210°
- 50803F
Shepherd’s Green
- 6F66AD
≈ Genestealer Purple
- 9F557C
≈ Feminism
四角配色 +90° +180° +270°
- 50803F
Shepherd’s Green
- 007DA2
≈ Bleu Ciel
- 8C5C9A
≈ Wisteria Purple
- A45C34
≈ Copper Creek
对比度与无障碍
Ag
AA白底
WCAG 4.66:1 · APCA Lc 72
Ag
AA黑底
WCAG 4.50:1 · APCA Lc 29
最佳文字颜色: #FFFFFF
WCAG 4.66:1 (AA) · APCA Lc 72
Contrast pairs
代码片段
CSS
:root {
--shepherd-s-green: #50803f;
--shepherd-s-green-rgb: 80 128 63;
--shepherd-s-green-oklch: oklch(0.549 0.108 138.1);
}
.element {
color: var(--shepherd-s-green);
background-color: hsl(104 34% 37%);
border-color: oklch(0.549 0.108 138.1);
}Tailwind CSS v4
@theme {
--color-shepherd-s-green: #50803f;
--color-shepherd-s-green-50: #e5fde0;
--color-shepherd-s-green-100: #d5f1cf;
--color-shepherd-s-green-200: #bce0b4;
--color-shepherd-s-green-300: #9ac591;
--color-shepherd-s-green-400: #7eae6e;
--color-shepherd-s-green-500: #61974d;
--color-shepherd-s-green-600: #528042;
--color-shepherd-s-green-700: #416635;
--color-shepherd-s-green-800: #314b23;
--color-shepherd-s-green-900: #213418;
--color-shepherd-s-green-950: #101f08;
}SCSS
$shepherd-s-green: #50803f;
$shepherd-s-green-rgb: 80, 128, 63;
$shepherd-s-green-light: mix(#fff, $shepherd-s-green, 20%);
$shepherd-s-green-dark: mix(#000, $shepherd-s-green, 20%);
.element {
color: $shepherd-s-green;
box-shadow: 0 0 0 2px rgba($shepherd-s-green, 0.35);
}