Warna bernama terdekat · #5F8121
#5F8121
Warna bernama terdekat: Enchanted Forest
#5F8121 (rgb(95 129 33), hsl(81 59% 32%), oklch(0.558 0.128 127.3)) paling mendekati warna bernama Enchanted Forest. Lihat tint, shade, harmoni, kontras WCAG & APCA, serta kode CSS, Tailwind v4, dan SCSS.
#5F8121
oklch(0.558 0.128 127.3)
Konversi warna
- HEX
- #5f8121
- RGB
- rgb(95 129 33)
- HSL
- hsl(81 59% 32%)
- HWB
- hwb(81 13% 49%)
- OKLCH
- oklch(0.558 0.128 127.3)
- OKLab
- oklab(0.558 -0.077 0.102)
- CIE Lab
- lab(49.95 -23.6 44.78)
- LCH
- lch(49.95 50.62 117.8)
- CMYK
- cmyk(26% 0% 74% 49%)
Tint · Shade · Tone
Tint
- 6E8D3C
- 7D9A53
- 8CA669
- 9CB37E
- ACBF93
- BCCCA9
- CCD9BE
- DDE5D3
- EEF2E9
Shade
- 526F1B
- 445E16
- 384E10
- 2C3E0B
- 202E06
- 151F03
- 0A1201
- 030600
- 000100
Tone
- 628130
- 66813B
- 698146
- 6C814F
- 708158
- 738161
- 768169
- 798171
- 7D8078
Harmoni warna
Komplementer +180°
- 5F8121
Enchanted Forest
- 885DAE
≈ Lusty Lavender
Analog -30° +30°
- 5F8121
Enchanted Forest
- 877300
≈ Soft Fig
- 118A55
≈ Center Field
Triadik +120° +240°
- 5F8121
Enchanted Forest
- 2678BA
≈ Haddock’s Sweater
- B04F66
≈ Gala Pink
Split-komplementer +150° +210°
- 5F8121
Enchanted Forest
- 626ABD
≈ Bluish Purple Anemone
- A2538F
≈ Purple Zergling
Tetradik +90° +180° +270°
- 5F8121
Enchanted Forest
- 00829A
≈ Decore Splash
- 885DAE
≈ Lusty Lavender
- B15539
≈ Autumn Glaze
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: #5f8121;
--enchanted-forest-rgb: 95 129 33;
--enchanted-forest-oklch: oklch(0.558 0.128 127.3);
}
.element {
color: var(--enchanted-forest);
background-color: hsl(81 59% 32%);
border-color: oklch(0.558 0.128 127.3);
}Tailwind CSS v4
@theme {
--color-enchanted-forest: #5f8121;
--color-enchanted-forest-50: #eafdd7;
--color-enchanted-forest-100: #daf1c4;
--color-enchanted-forest-200: #c3e0a6;
--color-enchanted-forest-300: #a3c57e;
--color-enchanted-forest-400: #8aac56;
--color-enchanted-forest-500: #6f9529;
--color-enchanted-forest-600: #5e7e25;
--color-enchanted-forest-700: #4b651e;
--color-enchanted-forest-800: #384a11;
--color-enchanted-forest-900: #26330b;
--color-enchanted-forest-950: #151f01;
}SCSS
$enchanted-forest: #5f8121;
$enchanted-forest-rgb: 95, 129, 33;
$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);
}