最接近的命名颜色 · #52823F
#52823F
最接近的命名颜色: Shepherd’s Green
#52823F(rgb(82 130 63)、hsl(103 35% 38%)、oklch(0.556 0.11 137.5))最接近命名颜色 Shepherd’s Green。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#52823F
oklch(0.556 0.11 137.5)
颜色转换
- HEX
- #52823f
- RGB
- rgb(82 130 63)
- HSL
- hsl(103 35% 38%)
- HWB
- hwb(103 25% 49%)
- OKLCH
- oklch(0.556 0.11 137.5)
- OKLab
- oklab(0.556 -0.081 0.075)
- CIE Lab
- lab(49.72 -26.96 30.6)
- LCH
- lch(49.72 40.78 131.4)
- CMYK
- cmyk(37% 0% 52% 49%)
浅色调 · 深色调 · 灰色调
浅色调
- 638E52
- 739A65
- 84A778
- 95B38A
- A6C09D
- B8CCB0
- C9D9C4
- DBE5D7
- EDF2EB
深色调
- 467035
- 3B5F2C
- 2F4E23
- 253E1B
- 1A2F12
- 11200A
- 081204
- 020601
- 000100
灰色调
- 578247
- 5C824E
- 618255
- 66825B
- 6A8262
- 6F8168
- 73816E
- 778174
- 7C807A
配色和谐
互补色 +180°
- 52823F
Shepherd’s Green
- 8D5D9D
≈ Wisteria Purple
类似色 -30° +30°
- 52823F
Shepherd’s Green
- 7A7719
≈ Crocodile Eye
- 0D8766
≈ Spectral Green
三角配色 +120° +240°
- 52823F
Shepherd’s Green
- 4874B3
≈ Sinatra
- AA565B
≈ Lingonberry Punch
分裂互补色 +150° +210°
- 52823F
Shepherd’s Green
- 7068B0
≈ Clear Mauve
- A1567F
≈ Feminism
四角配色 +90° +180° +270°
- 52823F
Shepherd’s Green
- 007FA4
≈ Kingfisher Sheen
- 8D5D9D
≈ Wisteria Purple
- A75D35
≈ Earthen Jug
对比度与无障碍
Ag
AA白底
WCAG 4.54:1 · APCA Lc 71
Ag
AA黑底
WCAG 4.62:1 · APCA Lc 30
最佳文字颜色: #000000
WCAG 4.62:1 (AA) · APCA Lc 30
Contrast pairs
代码片段
CSS
:root {
--shepherd-s-green: #52823f;
--shepherd-s-green-rgb: 82 130 63;
--shepherd-s-green-oklch: oklch(0.556 0.11 137.5);
}
.element {
color: var(--shepherd-s-green);
background-color: hsl(103 35% 38%);
border-color: oklch(0.556 0.11 137.5);
}Tailwind CSS v4
@theme {
--color-shepherd-s-green: #52823f;
--color-shepherd-s-green-50: #e5fddf;
--color-shepherd-s-green-100: #d5f2cf;
--color-shepherd-s-green-200: #bce0b3;
--color-shepherd-s-green-300: #9ac68f;
--color-shepherd-s-green-400: #7eae6d;
--color-shepherd-s-green-500: #61974b;
--color-shepherd-s-green-600: #528041;
--color-shepherd-s-green-700: #426633;
--color-shepherd-s-green-800: #314b22;
--color-shepherd-s-green-900: #213417;
--color-shepherd-s-green-950: #101f08;
}SCSS
$shepherd-s-green: #52823f;
$shepherd-s-green-rgb: 82, 130, 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);
}