最接近的命名颜色 · #5A751B
#5A751B
最接近的命名颜色: Over the Hills
#5A751B(rgb(90 117 27)、hsl(78 63% 28%)、oklch(0.523 0.118 125.2))最接近命名颜色 Over the Hills。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#5A751B
oklch(0.523 0.118 125.2)
颜色转换
- HEX
- #5a751b
- RGB
- rgb(90 117 27)
- HSL
- hsl(78 63% 28%)
- HWB
- hwb(78 11% 54%)
- OKLCH
- oklch(0.523 0.118 125.2)
- OKLab
- oklab(0.523 -0.068 0.097)
- CIE Lab
- lab(45.76 -20.34 42.9)
- LCH
- lch(45.76 47.48 115.4)
- CMYK
- cmyk(23% 0% 77% 54%)
浅色调 · 深色调 · 灰色调
浅色调
- 698237
- 78904E
- 889D64
- 98AB7A
- A9B990
- B9C7A6
- CAD4BC
- DCE3D2
- EDF1E8
深色调
- 4D6516
- 415511
- 35460C
- 293708
- 1E2905
- 131C02
- 090F01
- 030500
- 000100
灰色调
- 5E762B
- 617837
- 657942
- 697A4B
- 6D7B55
- 707C5E
- 747D67
- 787E6F
- 7C7F78
配色和谐
互补色 +180°
- 5A751B
Over the Hills
- 7A56A0
≈ Juneberry
类似色 -30° +30°
- 5A751B
Over the Hills
- 7D6800
≈ Arousing Alligator
- 1B7D4B
≈ Salem
三角配色 +120° +240°
- 5A751B
Over the Hills
- 1E6FA9
≈ Planetarium
- A04960
≈ Baby Berries
分裂互补色 +150° +210°
- 5A751B
Over the Hills
- 5762AD
≈ Submarine Base
- 924D84
≈ Striking Purple
四角配色 +90° +180° +270°
- 5A751B
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: #5a751b;
--over-the-hills-rgb: 90 117 27;
--over-the-hills-oklch: oklch(0.523 0.118 125.2);
}
.element {
color: var(--over-the-hills);
background-color: hsl(78 63% 28%);
border-color: oklch(0.523 0.118 125.2);
}Tailwind CSS v4
@theme {
--color-over-the-hills: #5a751b;
--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: #749331;
--color-over-the-hills-600: #627d2b;
--color-over-the-hills-700: #4e6422;
--color-over-the-hills-800: #3b4915;
--color-over-the-hills-900: #28320d;
--color-over-the-hills-950: #161e02;
}SCSS
$over-the-hills: #5a751b;
$over-the-hills-rgb: 90, 117, 27;
$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);
}