Warna bernama terdekat · #5F811F
#5F811F
Warna bernama terdekat: Enchanted Forest
#5F811F (rgb(95 129 31), hsl(81 61% 31%), oklch(0.558 0.129 127.1)) paling mendekati warna bernama Enchanted Forest. Lihat tint, shade, harmoni, kontras WCAG & APCA, serta kode CSS, Tailwind v4, dan SCSS.
#5F811F
oklch(0.558 0.129 127.1)
Konversi warna
- HEX
- #5f811f
- RGB
- rgb(95 129 31)
- HSL
- hsl(81 61% 31%)
- HWB
- hwb(81 12% 49%)
- OKLCH
- oklch(0.558 0.129 127.1)
- OKLab
- oklab(0.558 -0.078 0.103)
- CIE Lab
- lab(49.94 -23.69 45.5)
- LCH
- lch(49.94 51.3 117.5)
- CMYK
- cmyk(26% 0% 76% 49%)
Tint · Shade · Tone
Tint
- 6E8D3B
- 7D9A52
- 8CA668
- 9CB37E
- ACBF93
- BCCCA8
- CCD9BE
- DDE5D3
- EEF2E9
Shade
- 526F19
- 445E14
- 384E0F
- 2C3E0A
- 202E06
- 151F03
- 0A1201
- 030600
- 000100
Tone
- 62812E
- 66813A
- 698145
- 6C814F
- 6F8158
- 738160
- 768168
- 798170
- 7D8078
Harmoni warna
Komplementer +180°
- 5F811F
Enchanted Forest
- 885DAE
≈ Lusty Lavender
Analog -30° +30°
- 5F811F
Enchanted Forest
- 877300
≈ Soft Fig
- 0E8A54
≈ Center Field
Triadik +120° +240°
- 5F811F
Enchanted Forest
- 2478BB
≈ Bluish
- B14F67
≈ Extravagant Blush
Split-komplementer +150° +210°
- 5F811F
Enchanted Forest
- 626ABE
≈ Bluish Purple Anemone
- A2538F
≈ Purple Zergling
Tetradik +90° +180° +270°
- 5F811F
Enchanted Forest
- 00819A
≈ Decore Splash
- 885DAE
≈ Lusty Lavender
- B25439
≈ Crimson Warrior
Kontras & aksesibilitas
Ag
AADi atas putih
WCAG 4.51:1 · APCA Lc 71
Ag
AADi atas hitam
WCAG 4.64:1 · APCA Lc 30
Warna teks terbaik: #000000
WCAG 4.64:1 (AA) · APCA Lc 30
Contrast pairs
Cuplikan kode
CSS
:root {
--enchanted-forest: #5f811f;
--enchanted-forest-rgb: 95 129 31;
--enchanted-forest-oklch: oklch(0.558 0.129 127.1);
}
.element {
color: var(--enchanted-forest);
background-color: hsl(81 61% 31%);
border-color: oklch(0.558 0.129 127.1);
}Tailwind CSS v4
@theme {
--color-enchanted-forest: #5f811f;
--color-enchanted-forest-50: #eafdd6;
--color-enchanted-forest-100: #daf1c4;
--color-enchanted-forest-200: #c3e0a5;
--color-enchanted-forest-300: #a3c57d;
--color-enchanted-forest-400: #8aac54;
--color-enchanted-forest-500: #6f9527;
--color-enchanted-forest-600: #5e7e24;
--color-enchanted-forest-700: #4b651c;
--color-enchanted-forest-800: #384a10;
--color-enchanted-forest-900: #26330a;
--color-enchanted-forest-950: #151f00;
}SCSS
$enchanted-forest: #5f811f;
$enchanted-forest-rgb: 95, 129, 31;
$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);
}