最接近的命名颜色 · #507708
#507708
最接近的命名颜色: Over the Hills
#507708(rgb(80 119 8)、hsl(81 87% 25%)、oklch(0.52 0.135 129.1))最接近命名颜色 Over the Hills。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#507708
oklch(0.52 0.135 129.1)
颜色转换
- HEX
- #507708
- RGB
- rgb(80 119 8)
- HSL
- hsl(81 87% 25%)
- HWB
- hwb(81 3% 53%)
- OKLCH
- oklch(0.52 0.135 129.1)
- OKLab
- oklab(0.52 -0.085 0.105)
- CIE Lab
- lab(45.67 -26.01 47.72)
- LCH
- lch(45.67 54.34 118.6)
- CMYK
- cmyk(33% 0% 93% 53%)
浅色调 · 深色调 · 灰色调
浅色调
- 60842F
- 719248
- 819F5F
- 92AD76
- A4BA8D
- B6C8A3
- C7D5BA
- DAE3D1
- ECF1E8
深色调
- 446706
- 395704
- 2E4703
- 243802
- 1A2A01
- 101C01
- 071000
- 020500
- 000100
灰色调
- 557821
- 5A7930
- 5F7B3C
- 637C47
- 687D52
- 6D7D5B
- 727E65
- 767F6E
- 7B7F77
配色和谐
互补色 +180°
- 507708
Over the Hills
- 8050A3
≈ Royal Lavender
类似色 -30° +30°
- 507708
Over the Hills
- 796900
≈ Arousing Alligator
- 007D4F
≈ Salem
三角配色 +120° +240°
- 507708
Over the Hills
- 146CB2
≈ Daphne
- A74158
≈ Speaking of the Devil
分裂互补色 +150° +210°
- 507708
Over the Hills
- 5A5DB4
≈ Yuè Guāng Lán Moonlight
- 994582
≈ Grape Riot
四角配色 +90° +180° +270°
- 507708
Over the Hills
- 00758E
≈ Enamel Blue
- 8050A3
≈ Royal Lavender
- A74826
≈ Potter’s Clay
对比度与无障碍
Ag
AA白底
WCAG 5.27:1 · APCA Lc 76
Ag
Fail黑底
WCAG 3.98:1 · APCA Lc 26
最佳文字颜色: #FFFFFF
WCAG 5.27:1 (AA) · APCA Lc 76
Contrast pairs
代码片段
CSS
:root {
--over-the-hills: #507708;
--over-the-hills-rgb: 80 119 8;
--over-the-hills-oklch: oklch(0.52 0.135 129.1);
}
.element {
color: var(--over-the-hills);
background-color: hsl(81 87% 25%);
border-color: oklch(0.52 0.135 129.1);
}Tailwind CSS v4
@theme {
--color-over-the-hills: #507708;
--color-over-the-hills-50: #e8fed6;
--color-over-the-hills-100: #d8f2c3;
--color-over-the-hills-200: #c0e1a4;
--color-over-the-hills-300: #9fc67c;
--color-over-the-hills-400: #85ae53;
--color-over-the-hills-500: #6a9624;
--color-over-the-hills-600: #5a7f21;
--color-over-the-hills-700: #47661b;
--color-over-the-hills-800: #364a0e;
--color-over-the-hills-900: #253409;
--color-over-the-hills-950: #131f00;
}SCSS
$over-the-hills: #507708;
$over-the-hills-rgb: 80, 119, 8;
$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);
}