Màu có tên gần nhất · #5F810F
#5F810F
Màu có tên gần nhất: Enchanted Forest
#5F810F (rgb(95 129 15), hsl(78 79% 28%), oklch(0.557 0.137 126.3)) 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.
#5F810F
oklch(0.557 0.137 126.3)
Chuyển đổi màu
- HEX
- #5f810f
- RGB
- rgb(95 129 15)
- HSL
- hsl(78 79% 28%)
- HWB
- hwb(78 6% 49%)
- OKLCH
- oklch(0.557 0.137 126.3)
- OKLab
- oklab(0.557 -0.081 0.11)
- CIE Lab
- lab(49.87 -24.23 50.15)
- LCH
- lch(49.87 55.69 115.8)
- CMYK
- cmyk(26% 0% 88% 49%)
Sắc nhạt · Sắc đậm · Sắc xám
Sắc nhạt
- 6E8D33
- 7D9A4D
- 8CA664
- 9CB37A
- ACBF90
- BCCCA6
- CCD9BC
- DDE5D2
- EEF2E8
Sắc đậm
- 526F0B
- 445E08
- 384E05
- 2C3E03
- 202E02
- 151F01
- 0A1200
- 030600
- 000100
Sắc xám
- 628126
- 668134
- 698240
- 6C824B
- 6F8155
- 73815E
- 768167
- 79816F
- 7D8078
Hòa sắc
Bổ túc +180°
- 5F810F
Enchanted Forest
- 885BB2
≈ Lusty Lavender
Tương đồng -30° +30°
- 5F810F
Enchanted Forest
- 877200
≈ Vermin Brown
- 008A51
≈ Later Gator
Bộ ba +120° +240°
- 5F810F
Enchanted Forest
- 1478BE
≈ Roller Coaster Chariot
- B34C67
≈ Gala Pink
Bổ túc chia +150° +210°
- 5F810F
Enchanted Forest
- 6069C2
≈ Bluish Purple Anemone
- A45091
≈ Plum Dust
Bộ bốn +90° +180° +270°
- 5F810F
Enchanted Forest
- 008199
≈ Decore Splash
- 885BB2
≈ Lusty Lavender
- B55135
≈ Renga Brick
Tương phản và khả năng tiếp cận
Ag
AATrên nền trắng
WCAG 4.53:1 · APCA Lc 71
Ag
AATrên nền đen
WCAG 4.63:1 · APCA Lc 30
Màu chữ tốt nhất: #000000
WCAG 4.63:1 (AA) · APCA Lc 30
Contrast pairs
Đoạn mã
CSS
:root {
--enchanted-forest: #5f810f;
--enchanted-forest-rgb: 95 129 15;
--enchanted-forest-oklch: oklch(0.557 0.137 126.3);
}
.element {
color: var(--enchanted-forest);
background-color: hsl(78 79% 28%);
border-color: oklch(0.557 0.137 126.3);
}Tailwind CSS v4
@theme {
--color-enchanted-forest: #5f810f;
--color-enchanted-forest-50: #eafdd4;
--color-enchanted-forest-100: #daf1c1;
--color-enchanted-forest-200: #c3e0a1;
--color-enchanted-forest-300: #a3c578;
--color-enchanted-forest-400: #8aad4d;
--color-enchanted-forest-500: #6f9517;
--color-enchanted-forest-600: #5e7e18;
--color-enchanted-forest-700: #4b6514;
--color-enchanted-forest-800: #384a08;
--color-enchanted-forest-900: #263306;
--color-enchanted-forest-950: #151f00;
}SCSS
$enchanted-forest: #5f810f;
$enchanted-forest-rgb: 95, 129, 15;
$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);
}