Màu có tên gần nhất · #54831E
#54831E
Màu có tên gần nhất: Enchanted Forest
#54831E (rgb(84 131 30), hsl(88 63% 32%), oklch(0.556 0.138 131.7)) gần nhất với màu có tên Enchanted Forest. Xem sắc nhạt, sắc đậm, hòa sắc, tương phản WCAG và APCA, cùng mã CSS, Tailwind v4 và SCSS.
#54831E
oklch(0.556 0.138 131.7)
Chuyển đổi màu
- HEX
- #54831e
- RGB
- rgb(84 131 30)
- HSL
- hsl(88 63% 32%)
- HWB
- hwb(88 12% 49%)
- OKLCH
- oklch(0.556 0.138 131.7)
- OKLab
- oklab(0.556 -0.092 0.103)
- CIE Lab
- lab(49.88 -28.97 45.52)
- LCH
- lch(49.88 53.96 122.5)
- CMYK
- cmyk(36% 0% 77% 49%)
Sắc nhạt · Sắc đậm · Sắc xám
Sắc nhạt
- 648F3A
- 759B52
- 85A868
- 96B47D
- A7C093
- B8CDA8
- C9D9BD
- DBE6D3
- EDF2E9
Sắc đậm
- 487119
- 3C6013
- 314F0E
- 263F09
- 1B2F05
- 112003
- 081201
- 020600
- 000100
Sắc xám
- 59832E
- 5D833A
- 628345
- 66834E
- 6B8357
- 6F8260
- 738268
- 788170
- 7C8178
Hòa sắc
Bổ túc +180°
- 54831E
Enchanted Forest
- 8E58AD
≈ Lusty Lavender
Tương đồng -30° +30°
- 54831E
Enchanted Forest
- 827500
≈ Tool Green
- 00895C
≈ Vital Green
Bộ ba +120° +240°
- 54831E
Enchanted Forest
- 2975C1
≈ Bluish
- B54B5E
≈ Dark Rose
Bổ túc chia +150° +210°
- 54831E
Enchanted Forest
- 6866C1
≈ Bluish Purple Anemone
- A84E8A
≈ Purple Orchid
Bộ bốn +90° +180° +270°
- 54831E
Enchanted Forest
- 00809E
≈ Best of Both Worlds
- 8E58AD
≈ Lusty Lavender
- B45229
≈ Gold Flame
Tương phản và khả năng tiếp cận
Ag
AATrên nền trắng
WCAG 4.52:1 · APCA Lc 71
Ag
AATrên nền đen
WCAG 4.64:1 · APCA Lc 30
Màu chữ tốt nhất: #000000
WCAG 4.64:1 (AA) · APCA Lc 30
Contrast pairs
Đoạn mã
CSS
:root {
--enchanted-forest: #54831e;
--enchanted-forest-rgb: 84 131 30;
--enchanted-forest-oklch: oklch(0.556 0.138 131.7);
}
.element {
color: var(--enchanted-forest);
background-color: hsl(88 63% 32%);
border-color: oklch(0.556 0.138 131.7);
}Tailwind CSS v4
@theme {
--color-enchanted-forest: #54831e;
--color-enchanted-forest-50: #e5ffd6;
--color-enchanted-forest-100: #d6f3c4;
--color-enchanted-forest-200: #bde2a5;
--color-enchanted-forest-300: #9ac77d;
--color-enchanted-forest-400: #80af54;
--color-enchanted-forest-500: #639827;
--color-enchanted-forest-600: #548124;
--color-enchanted-forest-700: #43671c;
--color-enchanted-forest-800: #324b0f;
--color-enchanted-forest-900: #22340a;
--color-enchanted-forest-950: #112000;
}SCSS
$enchanted-forest: #54831e;
$enchanted-forest-rgb: 84, 131, 30;
$enchanted-forest-light: mix(#fff, $enchanted-forest, 20%);
$enchanted-forest-dark: mix(#000, $enchanted-forest, 20%);
.element {
color: $enchanted-forest;
box-shadow: 0 0 0 2px rgba($enchanted-forest, 0.35);
}