最接近的命名颜色 · #2E8731
#2E8731
最接近的命名颜色: Resplendent Growth
#2E8731(rgb(46 135 49)、hsl(122 49% 35%)、oklch(0.551 0.149 143.7))最接近命名颜色 Resplendent Growth。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#2E8731
oklch(0.551 0.149 143.7)
颜色转换
- HEX
- #2e8731
- RGB
- rgb(46 135 49)
- HSL
- hsl(122 49% 35%)
- HWB
- hwb(122 18% 47%)
- OKLCH
- oklch(0.551 0.149 143.7)
- OKLab
- oklab(0.551 -0.12 0.088)
- CIE Lab
- lab(49.69 -40.95 36.95)
- LCH
- lch(49.69 55.15 137.9)
- CMYK
- cmyk(66% 0% 64% 47%)
浅色调 · 深色调 · 灰色调
浅色调
- 479347
- 5D9F5C
- 71AB70
- 86B784
- 9AC398
- AECFAC
- C2DBC1
- D6E7D5
- EAF3EA
深色调
- 277529
- 1F6322
- 18511A
- 124113
- 0B310C
- 062106
- 021303
- 010601
- 000100
灰色调
- 3A873B
- 458644
- 4E864D
- 568555
- 5E855D
- 658464
- 6C836B
- 738272
- 7A8179
配色和谐
互补色 +180°
- 2E8731
Resplendent Growth
- 9B4FA3
≈ Purpureus
类似色 -30° +30°
- 2E8731
Resplendent Growth
- 727900
≈ Portuguese Green
- 00856D
≈ Viridis
三角配色 +120° +240°
- 2E8731
Resplendent Growth
- 436DC8
≈ Han Blue
- B94646
≈ Snakebite
分裂互补色 +150° +210°
- 2E8731
Resplendent Growth
- 785DBF
≈ Fuchsia Blue
- B14678
≈ Valentino
四角配色 +90° +180° +270°
- 2E8731
Resplendent Growth
- 007CAA
≈ Benitoite
- 9B4FA3
≈ Purpureus
- AE5600
≈ Tijolo
对比度与无障碍
Ag
AA白底
WCAG 4.53:1 · APCA Lc 71
Ag
AA黑底
WCAG 4.62:1 · APCA Lc 31
最佳文字颜色: #000000
WCAG 4.62:1 (AA) · APCA Lc 31
Contrast pairs
代码片段
CSS
:root {
--resplendent-growth: #2e8731;
--resplendent-growth-rgb: 46 135 49;
--resplendent-growth-oklch: oklch(0.551 0.149 143.7);
}
.element {
color: var(--resplendent-growth);
background-color: hsl(122 49% 35%);
border-color: oklch(0.551 0.149 143.7);
}Tailwind CSS v4
@theme {
--color-resplendent-growth: #2e8731;
--color-resplendent-growth-50: #dbffdc;
--color-resplendent-growth-100: #c9f6ca;
--color-resplendent-growth-200: #abe6ae;
--color-resplendent-growth-300: #84cc88;
--color-resplendent-growth-400: #63b562;
--color-resplendent-growth-500: #3a9e3d;
--color-resplendent-growth-600: #338635;
--color-resplendent-growth-700: #296b2a;
--color-resplendent-growth-800: #1f4f1a;
--color-resplendent-growth-900: #153711;
--color-resplendent-growth-950: #062104;
}SCSS
$resplendent-growth: #2e8731;
$resplendent-growth-rgb: 46, 135, 49;
$resplendent-growth-light: mix(#fff, $resplendent-growth, 20%);
$resplendent-growth-dark: mix(#000, $resplendent-growth, 20%);
.element {
color: $resplendent-growth;
box-shadow: 0 0 0 2px rgba($resplendent-growth, 0.35);
}