最接近的命名颜色 · #5A751C
#5A751C
最接近的命名颜色: Over the Hills
#5A751C(rgb(90 117 28)、hsl(78 61% 28%)、oklch(0.523 0.118 125.2))最接近命名颜色 Over the Hills。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#5A751C
oklch(0.523 0.118 125.2)
颜色转换
- HEX
- #5a751c
- RGB
- rgb(90 117 28)
- HSL
- hsl(78 61% 28%)
- HWB
- hwb(78 11% 54%)
- OKLCH
- oklch(0.523 0.118 125.2)
- OKLab
- oklab(0.523 -0.068 0.096)
- CIE Lab
- lab(45.77 -20.3 42.54)
- LCH
- lch(45.77 47.13 115.5)
- CMYK
- cmyk(23% 0% 76% 54%)
浅色调 · 深色调 · 灰色调
浅色调
- 698238
- 78904F
- 889D65
- 98AB7A
- A9B990
- B9C7A6
- CAD4BC
- DCE3D2
- EDF1E8
深色调
- 4D6517
- 415512
- 35460D
- 293708
- 1E2905
- 131C02
- 090F01
- 030500
- 000100
灰色调
- 5E762B
- 617837
- 657942
- 697A4C
- 6D7B55
- 717C5E
- 747D67
- 787E6F
- 7C7F78
配色和谐
互补色 +180°
- 5A751C
Over the Hills
- 7A56A0
≈ Juneberry
类似色 -30° +30°
- 5A751C
Over the Hills
- 7D6800
≈ Arousing Alligator
- 1C7D4B
≈ Salem
三角配色 +120° +240°
- 5A751C
Over the Hills
- 1F6FA9
≈ Planetarium
- A04960
≈ Baby Berries
分裂互补色 +150° +210°
- 5A751C
Over the Hills
- 5762AD
≈ Submarine Base
- 924D84
≈ Striking Purple
四角配色 +90° +180° +270°
- 5A751C
Over the Hills
- 00778B
≈ Enamel Blue
- 7A56A0
≈ Juneberry
- A24D38
≈ Rodeo Red
对比度与无障碍
Ag
AA白底
WCAG 5.25:1 · APCA Lc 76
Ag
Fail黑底
WCAG 3.99:1 · APCA Lc 26
最佳文字颜色: #FFFFFF
WCAG 5.25:1 (AA) · APCA Lc 76
Contrast pairs
代码片段
CSS
:root {
--over-the-hills: #5a751c;
--over-the-hills-rgb: 90 117 28;
--over-the-hills-oklch: oklch(0.523 0.118 125.2);
}
.element {
color: var(--over-the-hills);
background-color: hsl(78 61% 28%);
border-color: oklch(0.523 0.118 125.2);
}Tailwind CSS v4
@theme {
--color-over-the-hills: #5a751c;
--color-over-the-hills-50: #ecfcd8;
--color-over-the-hills-100: #ddf0c6;
--color-over-the-hills-200: #c6dea8;
--color-over-the-hills-300: #a7c381;
--color-over-the-hills-400: #8eab5a;
--color-over-the-hills-500: #749332;
--color-over-the-hills-600: #627d2c;
--color-over-the-hills-700: #4e6423;
--color-over-the-hills-800: #3b4915;
--color-over-the-hills-900: #28320e;
--color-over-the-hills-950: #161e02;
}SCSS
$over-the-hills: #5a751c;
$over-the-hills-rgb: 90, 117, 28;
$over-the-hills-light: mix(#fff, $over-the-hills, 20%);
$over-the-hills-dark: mix(#000, $over-the-hills, 20%);
.element {
color: $over-the-hills;
box-shadow: 0 0 0 2px rgba($over-the-hills, 0.35);
}