最接近的命名颜色 · #5A7516
#5A7516
最接近的命名颜色: Over the Hills
#5A7516(rgb(90 117 22)、hsl(77 68% 27%)、oklch(0.523 0.121 124.9))最接近命名颜色 Over the Hills。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#5A7516
oklch(0.523 0.121 124.9)
颜色转换
- HEX
- #5a7516
- RGB
- rgb(90 117 22)
- HSL
- hsl(77 68% 27%)
- HWB
- hwb(77 9% 54%)
- OKLCH
- oklch(0.523 0.121 124.9)
- OKLab
- oklab(0.523 -0.069 0.1)
- CIE Lab
- lab(45.74 -20.54 44.58)
- LCH
- lch(45.74 49.08 114.7)
- CMYK
- cmyk(23% 0% 81% 54%)
浅色调 · 深色调 · 灰色调
浅色调
- 698234
- 78904C
- 889D63
- 98AB79
- A9B98F
- B9C7A5
- CAD5BB
- DCE3D1
- EDF1E8
深色调
- 4D6512
- 41550D
- 354609
- 293706
- 1E2903
- 131C02
- 090F01
- 030500
- 000100
灰色调
- 5E7627
- 617835
- 657940
- 697A4A
- 6D7B54
- 707C5D
- 747D66
- 787E6F
- 7C7F77
配色和谐
互补色 +180°
- 5A7516
Over the Hills
- 7A55A1
≈ Sumire Violet
类似色 -30° +30°
- 5A7516
Over the Hills
- 7D6800
≈ Arousing Alligator
- 177D49
≈ Picture Book Green
三角配色 +120° +240°
- 5A7516
Over the Hills
- 186FAA
≈ Planetarium
- A14860
≈ Glazed Raspberry
分裂互补色 +150° +210°
- 5A7516
Over the Hills
- 5662AF
≈ Submarine Base
- 934C85
≈ Striking Purple
四角配色 +90° +180° +270°
- 5A7516
Over the Hills
- 00778B
≈ Enamel Blue
- 7A55A1
≈ Sumire Violet
- A34C36
≈ 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: #5a7516;
--over-the-hills-rgb: 90 117 22;
--over-the-hills-oklch: oklch(0.523 0.121 124.9);
}
.element {
color: var(--over-the-hills);
background-color: hsl(77 68% 27%);
border-color: oklch(0.523 0.121 124.9);
}Tailwind CSS v4
@theme {
--color-over-the-hills: #5a7516;
--color-over-the-hills-50: #ecfcd7;
--color-over-the-hills-100: #ddf0c5;
--color-over-the-hills-200: #c6dea6;
--color-over-the-hills-300: #a7c37f;
--color-over-the-hills-400: #8eab57;
--color-over-the-hills-500: #74932d;
--color-over-the-hills-600: #627d28;
--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: #5a7516;
$over-the-hills-rgb: 90, 117, 22;
$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);
}