最接近的命名颜色 · #D8E7C8
#D8E7C8
最接近的命名颜色: Breath of Celery
#D8E7C8(rgb(216 231 200)、hsl(89 39% 85%)、oklch(0.908 0.044 128.4))最接近命名颜色 Breath of Celery。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#D8E7C8
oklch(0.908 0.044 128.4)
颜色转换
- HEX
- #d8e7c8
- RGB
- rgb(216 231 200)
- HSL
- hsl(89 39% 85%)
- HWB
- hwb(89 78% 9%)
- OKLCH
- oklch(0.908 0.044 128.4)
- OKLab
- oklab(0.908 -0.028 0.035)
- CIE Lab
- lab(89.89 -9.24 13.37)
- LCH
- lch(89.89 16.25 124.6)
- CMYK
- cmyk(6% 0% 13% 9%)
浅色调 · 深色调 · 灰色调
浅色调
- DCE9CD
- E0ECD3
- E4EED8
- E7F1DE
- EBF3E3
- EFF5E9
- F3F8EE
- F7FAF4
- FBFDF9
深色调
- BCC9AE
- A0AB94
- 858F7B
- 6B7363
- 53594C
- 3B4036
- 252821
- 11130F
- 020302
灰色调
- CFDCC1
- C6D2B9
- BDC7B2
- B4BDAB
- ABB2A3
- A2A89C
- 9A9E95
- 91948E
- 888A87
配色和谐
互补色 +180°
- D8E7C8
Breath of Celery
- E9D9F8
≈ Pouty Purple
类似色 -30° +30°
- D8E7C8
Breath of Celery
- E8E2C1
≈ Spring Fever
- C9EAD6
≈ Glacial Water Green
三角配色 +120° +240°
- D8E7C8
Breath of Celery
- CBE4FE
≈ Fresh Water
- FCD5DB
≈ Pink Fluorite
分裂互补色 +150° +210°
- D8E7C8
Breath of Celery
- D9DFFF
≈ Contrail
- F6D6EB
≈ Jacaranda
四角配色 +90° +180° +270°
- D8E7C8
Breath of Celery
- C1E9F5
≈ Niagara Mist
- E9D9F8
≈ Pouty Purple
- FCD7CC
≈ Cinderella
对比度与无障碍
Ag
Fail白底
WCAG 1.29:1 · APCA Lc 15
Ag
AAA黑底
WCAG 16.18:1 · APCA Lc 89
最佳文字颜色: #000000
WCAG 16.18:1 (AAA) · APCA Lc 89
Contrast pairs
代码片段
CSS
:root {
--breath-of-celery: #d8e7c8;
--breath-of-celery-rgb: 216 231 200;
--breath-of-celery-oklch: oklch(0.908 0.044 128.4);
}
.element {
color: var(--breath-of-celery);
background-color: hsl(89 39% 85%);
border-color: oklch(0.908 0.044 128.4);
}Tailwind CSS v4
@theme {
--color-breath-of-celery: #d8e7c8;
--color-breath-of-celery-50: #f1f8eb;
--color-breath-of-celery-100: #e3ebdc;
--color-breath-of-celery-200: #ced8c5;
--color-breath-of-celery-300: #b0bca5;
--color-breath-of-celery-400: #97a488;
--color-breath-of-celery-500: #7d8c6d;
--color-breath-of-celery-600: #6a775c;
--color-breath-of-celery-700: #555f4a;
--color-breath-of-celery-800: #3e4535;
--color-breath-of-celery-900: #2b3024;
--color-breath-of-celery-950: #181c13;
}SCSS
$breath-of-celery: #d8e7c8;
$breath-of-celery-rgb: 216, 231, 200;
$breath-of-celery-light: mix(#fff, $breath-of-celery, 20%);
$breath-of-celery-dark: mix(#000, $breath-of-celery, 20%);
.element {
color: $breath-of-celery;
box-shadow: 0 0 0 2px rgba($breath-of-celery, 0.35);
}