最接近的命名颜色 · #507400
#507400
最接近的命名颜色: Over the Hills
#507400(rgb(80 116 0)、hsl(79 100% 23%)、oklch(0.512 0.134 128))最接近命名颜色 Over the Hills。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#507400
oklch(0.512 0.134 128)
颜色转换
- HEX
- #507400
- RGB
- rgb(80 116 0)
- HSL
- hsl(79 100% 23%)
- HWB
- hwb(79 0% 55%)
- OKLCH
- oklch(0.512 0.134 128)
- OKLab
- oklab(0.512 -0.082 0.106)
- CIE Lab
- lab(44.67 -24.84 48.64)
- LCH
- lch(44.67 54.62 117.1)
- CMYK
- cmyk(31% 0% 100% 55%)
浅色调 · 深色调 · 灰色调
浅色调
- 60822B
- 708F46
- 819D5D
- 92AB74
- A4B88B
- B5C6A2
- C7D4B9
- DAE3D0
- ECF1E7
深色调
- 446400
- 395400
- 2E4500
- 243700
- 1A2900
- 101B00
- 070F00
- 020500
- 000100
灰色调
- 55761D
- 5A772D
- 5E783A
- 637A46
- 687B50
- 6D7C5A
- 727D64
- 767E6D
- 7B7F77
配色和谐
互补色 +180°
- 507400
Over the Hills
- 7C4EA1
≈ Royal Lavender
类似色 -30° +30°
- 507400
Over the Hills
- 776600
≈ Arousing Alligator
- 007B4B
≈ Woodland Soul
三角配色 +120° +240°
- 507400
Over the Hills
- 0A6AAF
≈ Daphne
- A33F58
≈ Night Shadz
分裂互补色 +150° +210°
- 507400
Over the Hills
- 565CB1
≈ Yuè Guāng Lán Moonlight
- 964481
≈ Willowherb
四角配色 +90° +180° +270°
- 507400
Over the Hills
- 00738A
≈ Glamour Green
- 7C4EA1
≈ Royal Lavender
- A44527
≈ Potter’s Clay
对比度与无障碍
Ag
AA白底
WCAG 5.46:1 · APCA Lc 77
Ag
Fail黑底
WCAG 3.83:1 · APCA Lc 25
最佳文字颜色: #FFFFFF
WCAG 5.46:1 (AA) · APCA Lc 77
Contrast pairs
代码片段
CSS
:root {
--over-the-hills: #507400;
--over-the-hills-rgb: 80 116 0;
--over-the-hills-oklch: oklch(0.512 0.134 128);
}
.element {
color: var(--over-the-hills);
background-color: hsl(79 100% 23%);
border-color: oklch(0.512 0.134 128);
}Tailwind CSS v4
@theme {
--color-over-the-hills: #507400;
--color-over-the-hills-50: #e9fed5;
--color-over-the-hills-100: #d9f2c3;
--color-over-the-hills-200: #c1e0a4;
--color-over-the-hills-300: #a1c57b;
--color-over-the-hills-400: #87ad52;
--color-over-the-hills-500: #6c9622;
--color-over-the-hills-600: #5c7f20;
--color-over-the-hills-700: #49661a;
--color-over-the-hills-800: #374a0d;
--color-over-the-hills-900: #253308;
--color-over-the-hills-950: #141f00;
}SCSS
$over-the-hills: #507400;
$over-the-hills-rgb: 80, 116, 0;
$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);
}