最接近的命名颜色 · #54761C
#54761C
最接近的命名颜色: Over the Hills
#54761C(rgb(84 118 28)、hsl(83 62% 29%)、oklch(0.521 0.122 128.3))最接近命名颜色 Over the Hills。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#54761C
oklch(0.521 0.122 128.3)
颜色转换
- HEX
- #54761c
- RGB
- rgb(84 118 28)
- HSL
- hsl(83 62% 29%)
- HWB
- hwb(83 11% 54%)
- OKLCH
- oklch(0.521 0.122 128.3)
- OKLab
- oklab(0.521 -0.076 0.096)
- CIE Lab
- lab(45.68 -23.28 42.28)
- LCH
- lch(45.68 48.26 118.8)
- CMYK
- cmyk(29% 0% 76% 54%)
浅色调 · 深色调 · 灰色调
浅色调
- 648338
- 74914F
- 849E65
- 95AC7A
- A6B990
- B7C7A6
- C9D5BC
- DBE3D2
- EDF1E8
深色调
- 486617
- 3C5612
- 31470D
- 263808
- 1B2905
- 111C02
- 080F01
- 020500
- 000100
灰色调
- 58772B
- 5D7937
- 617A42
- 667B4C
- 6A7C55
- 6E7D5E
- 737E67
- 777F6F
- 7C7F78
配色和谐
互补色 +180°
- 54761C
Over the Hills
- 7D539F
≈ Royal Lilac
类似色 -30° +30°
- 54761C
Over the Hills
- 7A6900
≈ Arousing Alligator
- 007E4E
≈ Picture Book Green
三角配色 +120° +240°
- 54761C
Over the Hills
- 226DAC
≈ In the Nick
- A2475B
≈ Drisheen
分裂互补色 +150° +210°
- 54761C
Over the Hills
- 5A60AE
≈ Yuè Guāng Lán Moonlight
- 954A81
≈ Striking Purple
四角配色 +90° +180° +270°
- 54761C
Over the Hills
- 00768D
≈ Enamel Blue
- 7D539F
≈ Royal Lilac
- A34C30
≈ Texas Heatwave
对比度与无障碍
Ag
AA白底
WCAG 5.26:1 · APCA Lc 76
Ag
Fail黑底
WCAG 3.98:1 · APCA Lc 26
最佳文字颜色: #FFFFFF
WCAG 5.26:1 (AA) · APCA Lc 76
Contrast pairs
代码片段
CSS
:root {
--over-the-hills: #54761c;
--over-the-hills-rgb: 84 118 28;
--over-the-hills-oklch: oklch(0.521 0.122 128.3);
}
.element {
color: var(--over-the-hills);
background-color: hsl(83 62% 29%);
border-color: oklch(0.521 0.122 128.3);
}Tailwind CSS v4
@theme {
--color-over-the-hills: #54761c;
--color-over-the-hills-50: #e9fdd8;
--color-over-the-hills-100: #daf1c6;
--color-over-the-hills-200: #c3dfa9;
--color-over-the-hills-300: #a2c482;
--color-over-the-hills-400: #89ac5b;
--color-over-the-hills-500: #6e9532;
--color-over-the-hills-600: #5d7e2c;
--color-over-the-hills-700: #4a6523;
--color-over-the-hills-800: #374a15;
--color-over-the-hills-900: #26330e;
--color-over-the-hills-950: #141f02;
}SCSS
$over-the-hills: #54761c;
$over-the-hills-rgb: 84, 118, 28;
$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);
}