最接近的命名颜色 · #5A7517
#5A7517
最接近的命名颜色: Over the Hills
#5A7517(rgb(90 117 23)、hsl(77 67% 27%)、oklch(0.523 0.121 124.9))最接近命名颜色 Over the Hills。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#5A7517
oklch(0.523 0.121 124.9)
颜色转换
- HEX
- #5a7517
- RGB
- rgb(90 117 23)
- HSL
- hsl(77 67% 27%)
- HWB
- hwb(77 9% 54%)
- OKLCH
- oklch(0.523 0.121 124.9)
- OKLab
- oklab(0.523 -0.069 0.099)
- CIE Lab
- lab(45.74 -20.5 44.26)
- LCH
- lch(45.74 48.78 114.9)
- CMYK
- cmyk(23% 0% 80% 54%)
浅色调 · 深色调 · 灰色调
浅色调
- 698235
- 78904D
- 889D63
- 98AB79
- A9B98F
- B9C7A5
- CAD5BB
- DCE3D1
- EDF1E8
深色调
- 4D6512
- 41550E
- 35460A
- 293706
- 1E2904
- 131C02
- 090F01
- 030500
- 000100
灰色调
- 5E7628
- 617835
- 657940
- 697A4A
- 6D7B54
- 707C5D
- 747D66
- 787E6F
- 7C7F78
配色和谐
互补色 +180°
- 5A7517
Over the Hills
- 7A55A1
≈ Sumire Violet
类似色 -30° +30°
- 5A7517
Over the Hills
- 7D6800
≈ Arousing Alligator
- 187D49
≈ Picture Book Green
三角配色 +120° +240°
- 5A7517
Over the Hills
- 196FAA
≈ Planetarium
- A14860
≈ Glazed Raspberry
分裂互补色 +150° +210°
- 5A7517
Over the Hills
- 5662AE
≈ Submarine Base
- 934C85
≈ Striking Purple
四角配色 +90° +180° +270°
- 5A7517
Over the Hills
- 00778B
≈ Enamel Blue
- 7A55A1
≈ Sumire Violet
- A34C37
≈ Rodeo Red
对比度与无障碍
Ag
AA白底
WCAG 5.26:1 · APCA Lc 76
Ag
Fail黑底
WCAG 3.99:1 · APCA Lc 26
最佳文字颜色: #FFFFFF
WCAG 5.26:1 (AA) · APCA Lc 76
Contrast pairs
代码片段
CSS
:root {
--over-the-hills: #5a7517;
--over-the-hills-rgb: 90 117 23;
--over-the-hills-oklch: oklch(0.523 0.121 124.9);
}
.element {
color: var(--over-the-hills);
background-color: hsl(77 67% 27%);
border-color: oklch(0.523 0.121 124.9);
}Tailwind CSS v4
@theme {
--color-over-the-hills: #5a7517;
--color-over-the-hills-50: #ecfcd7;
--color-over-the-hills-100: #ddf0c5;
--color-over-the-hills-200: #c6dea7;
--color-over-the-hills-300: #a7c37f;
--color-over-the-hills-400: #8eab58;
--color-over-the-hills-500: #74932d;
--color-over-the-hills-600: #627d29;
--color-over-the-hills-700: #4f6420;
--color-over-the-hills-800: #3b4913;
--color-over-the-hills-900: #28330c;
--color-over-the-hills-950: #161e01;
}SCSS
$over-the-hills: #5a7517;
$over-the-hills-rgb: 90, 117, 23;
$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);
}