Màu có tên gần nhất · #5B8225
#5B8225
Màu có tên gần nhất: Enchanted Forest
#5B8225 (rgb(91 130 37), hsl(85 56% 33%), oklch(0.558 0.129 129.6)) 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.
#5B8225
oklch(0.558 0.129 129.6)
Chuyển đổi màu
- HEX
- #5b8225
- RGB
- rgb(91 130 37)
- HSL
- hsl(85 56% 33%)
- HWB
- hwb(85 15% 49%)
- OKLCH
- oklch(0.558 0.129 129.6)
- OKLab
- oklab(0.558 -0.082 0.099)
- CIE Lab
- lab(50.03 -25.47 43.21)
- LCH
- lch(50.03 50.16 120.5)
- CMYK
- cmyk(30% 0% 72% 49%)
Sắc nhạt · Sắc đậm · Sắc xám
Sắc nhạt
- 6A8E3F
- 7A9B55
- 8AA76B
- 9AB380
- AAC094
- BACCA9
- CBD9BE
- DCE6D4
- EEF2E9
Sắc đậm
- 4E701F
- 415F19
- 354E13
- 293E0D
- 1E2F08
- 132004
- 091202
- 030600
- 000100
Sắc xám
- 5F8232
- 63823E
- 668247
- 6A8251
- 6E8259
- 718261
- 758169
- 798171
- 7C8179
Hòa sắc
Bổ túc +180°
- 5B8225
Enchanted Forest
- 8A5CAC
≈ Lusty Lavender
Tương đồng -30° +30°
- 5B8225
Enchanted Forest
- 857400
≈ Soft Fig
- 008A59
≈ Center Field
Bộ ba +120° +240°
- 5B8225
Enchanted Forest
- 2D77BC
≈ Bluish
- B14F63
≈ Kissed by a Zombies
Bổ túc chia +150° +210°
- 5B8225
Enchanted Forest
- 6669BD
≈ Bluish Purple Anemone
- A4538C
≈ Purple Zergling
Bộ bốn +90° +180° +270°
- 5B8225
Enchanted Forest
- 00819C
≈ Decore Splash
- 8A5CAC
≈ Lusty Lavender
- B15535
≈ Renga Brick
Tương phản và khả năng tiếp cận
Ag
AATrên nền trắng
WCAG 4.50:1 · APCA Lc 71
Ag
AATrên nền đen
WCAG 4.66:1 · APCA Lc 31
Màu chữ tốt nhất: #000000
WCAG 4.66:1 (AA) · APCA Lc 31
Contrast pairs
Đoạn mã
CSS
:root {
--enchanted-forest: #5b8225;
--enchanted-forest-rgb: 91 130 37;
--enchanted-forest-oklch: oklch(0.558 0.129 129.6);
}
.element {
color: var(--enchanted-forest);
background-color: hsl(85 56% 33%);
border-color: oklch(0.558 0.129 129.6);
}Tailwind CSS v4
@theme {
--color-enchanted-forest: #5b8225;
--color-enchanted-forest-50: #e8fed8;
--color-enchanted-forest-100: #d9f2c5;
--color-enchanted-forest-200: #c1e0a7;
--color-enchanted-forest-300: #a0c580;
--color-enchanted-forest-400: #86ad58;
--color-enchanted-forest-500: #6a962e;
--color-enchanted-forest-600: #5a7f29;
--color-enchanted-forest-700: #486620;
--color-enchanted-forest-800: #364a13;
--color-enchanted-forest-900: #25340c;
--color-enchanted-forest-950: #131f01;
}SCSS
$enchanted-forest: #5b8225;
$enchanted-forest-rgb: 91, 130, 37;
$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);
}