最接近的命名颜色 · #287960
#287960
最接近的命名颜色: Tropical Rainforest
#287960(rgb(40 121 96)、hsl(161 50% 32%)、oklch(0.52 0.088 168.9))最接近命名颜色 Tropical Rainforest。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#287960
oklch(0.52 0.088 168.9)
颜色转换
- HEX
- #287960
- RGB
- rgb(40 121 96)
- HSL
- hsl(161 50% 32%)
- HWB
- hwb(161 16% 53%)
- OKLCH
- oklch(0.52 0.088 168.9)
- OKLab
- oklab(0.52 -0.086 0.017)
- CIE Lab
- lab(45.48 -30.38 6.24)
- LCH
- lch(45.48 31.02 168.4)
- CMYK
- cmyk(67% 0% 21% 53%)
浅色调 · 深色调 · 灰色调
浅色调
- 42866F
- 58937E
- 6DA08D
- 82AD9C
- 97BBAC
- ABC8BC
- C0D6CD
- D5E3DD
- EAF1EE
深色调
- 216852
- 1B5845
- 154838
- 0F392C
- 092B20
- 041D15
- 02100A
- 010503
- 000100
灰色调
- 357A63
- 407B66
- 4A7C6A
- 537C6D
- 5B7D70
- 637E73
- 6B7E76
- 727F7A
- 79807D
配色和谐
互补色 +180°
- 287960
Tropical Rainforest
- 8E5371
≈ Indian Silk
类似色 -30° +30°
- 287960
Tropical Rainforest
- 4E7543
≈ Artichoke Green
- 03787C
≈ Hypnotic Sea
三角配色 +120° +240°
- 287960
Tropical Rainforest
- 676098
≈ Corsican Blue
- 925939
≈ Chōjicha Brown
分裂互补色 +150° +210°
- 287960
Tropical Rainforest
- 7F5889
≈ Purple Mystery
- 955355
≈ Mesa Red
四角配色 +90° +180° +270°
- 287960
Tropical Rainforest
- 49699B
≈ Blue Odyssey
- 8E5371
≈ Indian Silk
- 846227
≈ Kumera
对比度与无障碍
Ag
AA白底
WCAG 5.25:1 · APCA Lc 76
Ag
Fail黑底
WCAG 3.99:1 · APCA Lc 26
最佳文字颜色: #FFFFFF
WCAG 5.25:1 (AA) · APCA Lc 76
Contrast pairs
代码片段
CSS
:root {
--tropical-rainforest: #287960;
--tropical-rainforest-rgb: 40 121 96;
--tropical-rainforest-oklch: oklch(0.52 0.088 168.9);
}
.element {
color: var(--tropical-rainforest);
background-color: hsl(161 50% 32%);
border-color: oklch(0.52 0.088 168.9);
}Tailwind CSS v4
@theme {
--color-tropical-rainforest: #287960;
--color-tropical-rainforest-50: #ddfef2;
--color-tropical-rainforest-100: #ccf2e4;
--color-tropical-rainforest-200: #afe1cf;
--color-tropical-rainforest-300: #89c6b1;
--color-tropical-rainforest-400: #67af95;
--color-tropical-rainforest-500: #40997c;
--color-tropical-rainforest-600: #388169;
--color-tropical-rainforest-700: #2c6754;
--color-tropical-rainforest-800: #204c3c;
--color-tropical-rainforest-900: #153529;
--color-tropical-rainforest-950: #062017;
}SCSS
$tropical-rainforest: #287960;
$tropical-rainforest-rgb: 40, 121, 96;
$tropical-rainforest-light: mix(#fff, $tropical-rainforest, 20%);
$tropical-rainforest-dark: mix(#000, $tropical-rainforest, 20%);
.element {
color: $tropical-rainforest;
box-shadow: 0 0 0 2px rgba($tropical-rainforest, 0.35);
}