最接近的命名颜色 · #508251
#508251
最接近的命名颜色: Beanpole
#508251(rgb(80 130 81)、hsl(121 24% 41%)、oklch(0.558 0.092 144.7))最接近命名颜色 Beanpole。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#508251
oklch(0.558 0.092 144.7)
颜色转换
- HEX
- #508251
- RGB
- rgb(80 130 81)
- HSL
- hsl(121 24% 41%)
- HWB
- hwb(121 31% 49%)
- OKLCH
- oklch(0.558 0.092 144.7)
- OKLab
- oklab(0.558 -0.075 0.053)
- CIE Lab
- lab(49.84 -25.64 21.05)
- LCH
- lch(49.84 33.18 140.6)
- CMYK
- cmyk(38% 0% 38% 49%)
浅色调 · 深色调 · 灰色调
浅色调
- 618E61
- 729A72
- 83A683
- 94B394
- A6BFA5
- B7CCB7
- C9D8C8
- DBE5DA
- EDF2ED
深色调
- 447045
- 395F3A
- 2E4E2F
- 243E24
- 1A2F1A
- 102010
- 071207
- 020602
- 000100
灰色调
- 558256
- 5B825B
- 608260
- 658265
- 6A8269
- 6E816E
- 738172
- 778177
- 7C807C
配色和谐
互补色 +180°
- 508251
Beanpole
- 8F6092
≈ Chakra
类似色 -30° +30°
- 508251
Beanpole
- 727A36
≈ Hot Dog Relish
- 288570
≈ Dream Green
三角配色 +120° +240°
- 508251
Beanpole
- 5973AA
≈ Dormitory
- A35D58
≈ Cheek Red
分裂互补色 +150° +210°
- 508251
Beanpole
- 7769A4
≈ Reign Over Me
- 9E5C77
≈ Rose Wine
四角配色 +90° +180° +270°
- 508251
Beanpole
- 347CA2
≈ Prominent Blue
- 8F6092
≈ Chakra
- 9D643C
≈ Mocha Bisque
对比度与无障碍
Ag
AA白底
WCAG 4.51:1 · APCA Lc 71
Ag
AA黑底
WCAG 4.65:1 · APCA Lc 30
最佳文字颜色: #000000
WCAG 4.65:1 (AA) · APCA Lc 30
Contrast pairs
代码片段
CSS
:root {
--beanpole: #508251;
--beanpole-rgb: 80 130 81;
--beanpole-oklch: oklch(0.558 0.092 144.7);
}
.element {
color: var(--beanpole);
background-color: hsl(121 24% 41%);
border-color: oklch(0.558 0.092 144.7);
}Tailwind CSS v4
@theme {
--color-beanpole: #508251;
--color-beanpole-50: #e5fde6;
--color-beanpole-100: #d5f1d6;
--color-beanpole-200: #bbe0be;
--color-beanpole-300: #99c59c;
--color-beanpole-400: #7cad7c;
--color-beanpole-500: #5e965f;
--color-beanpole-600: #507f51;
--color-beanpole-700: #406640;
--color-beanpole-800: #2f4b2d;
--color-beanpole-900: #20341e;
--color-beanpole-950: #0f1f0e;
}SCSS
$beanpole: #508251;
$beanpole-rgb: 80, 130, 81;
$beanpole-light: mix(#fff, $beanpole, 20%);
$beanpole-dark: mix(#000, $beanpole, 20%);
.element {
color: $beanpole;
box-shadow: 0 0 0 2px rgba($beanpole, 0.35);
}