最接近的命名颜色 · #54AE4A
#54AE4A
最接近的命名颜色: Matt Green
#54AE4A(rgb(84 174 74)、hsl(114 40% 49%)、oklch(0.673 0.163 141.7))最接近命名颜色 Matt Green。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#54AE4A
oklch(0.673 0.163 141.7)
颜色转换
- HEX
- #54ae4a
- RGB
- rgb(84 174 74)
- HSL
- hsl(114 40% 49%)
- HWB
- hwb(114 29% 32%)
- OKLCH
- oklch(0.673 0.163 141.7)
- OKLab
- oklab(0.673 -0.128 0.101)
- CIE Lab
- lab(63.94 -43.06 41.84)
- LCH
- lch(63.94 60.04 135.8)
- CMYK
- cmyk(52% 0% 57% 32%)
浅色调 · 深色调 · 灰色调
浅色调
- 67B65E
- 79BF71
- 8AC783
- 9BCF94
- ACD7A6
- BDDFB8
- CDE7CA
- DEEFDB
- EEF7ED
深色调
- 48973F
- 3C8035
- 316A2A
- 265520
- 1B4117
- 112E0E
- 081C06
- 020B02
- 000100
灰色调
- 5BAA52
- 60A558
- 66A15F
- 6A9C64
- 6F986A
- 73936F
- 778F73
- 7A8A78
- 7D857C
配色和谐
互补色 +180°
- 54AE4A
Matt Green
- C370D1
≈ Purple Kush
类似色 -30° +30°
- 54AE4A
Matt Green
- 9A9E00
≈ Papyrus
- 00AF8C
≈ Victorian Greenhouse
三角配色 +120° +240°
- 54AE4A
Matt Green
- 5C93F9
≈ Polar Glow
- E96668
≈ Coral Commander
分裂互补色 +150° +210°
- 54AE4A
Matt Green
- 9980F1
≈ Forgotten Purple
- DE66A1
≈ Cosmetologist’s Pink
四角配色 +90° +180° +270°
- 54AE4A
Matt Green
- 00A3DB
≈ Vanadyl Blue
- C370D1
≈ Purple Kush
- E2741F
≈ Autumn Landscape
对比度与无障碍
Ag
Fail白底
WCAG 2.78:1 · APCA Lc 53
Ag
AAA黑底
WCAG 7.53:1 · APCA Lc 48
最佳文字颜色: #000000
WCAG 7.53:1 (AAA) · APCA Lc 48
Contrast pairs
代码片段
CSS
:root {
--matt-green: #54ae4a;
--matt-green-rgb: 84 174 74;
--matt-green-oklch: oklch(0.673 0.163 141.7);
}
.element {
color: var(--matt-green);
background-color: hsl(114 40% 49%);
border-color: oklch(0.673 0.163 141.7);
}Tailwind CSS v4
@theme {
--color-matt-green: #54ae4a;
--color-matt-green-50: #daffd8;
--color-matt-green-100: #c8f7c6;
--color-matt-green-200: #aae7a8;
--color-matt-green-300: #82cd80;
--color-matt-green-400: #61b657;
--color-matt-green-500: #379f2c;
--color-matt-green-600: #318728;
--color-matt-green-700: #276c1f;
--color-matt-green-800: #1e4f11;
--color-matt-green-900: #14370b;
--color-matt-green-950: #052200;
}SCSS
$matt-green: #54ae4a;
$matt-green-rgb: 84, 174, 74;
$matt-green-light: mix(#fff, $matt-green, 20%);
$matt-green-dark: mix(#000, $matt-green, 20%);
.element {
color: $matt-green;
box-shadow: 0 0 0 2px rgba($matt-green, 0.35);
}