Najbliższy nazwany kolor · #5F811E
#5F811E
Najbliższy nazwany kolor: Enchanted Forest
#5F811E (rgb(95 129 30), hsl(81 62% 31%), oklch(0.558 0.13 127.1)) jest najbliższy nazwanemu kolorowi Enchanted Forest. Zobacz odcienie, harmonie, kontrast WCAG i APCA oraz kod CSS, Tailwind v4 i SCSS.
#5F811E
oklch(0.558 0.13 127.1)
Konwersje koloru
- HEX
- #5f811e
- RGB
- rgb(95 129 30)
- HSL
- hsl(81 62% 31%)
- HWB
- hwb(81 12% 49%)
- OKLCH
- oklch(0.558 0.13 127.1)
- OKLab
- oklab(0.558 -0.078 0.103)
- CIE Lab
- lab(49.93 -23.73 45.85)
- LCH
- lch(49.93 51.63 117.4)
- CMYK
- cmyk(26% 0% 77% 49%)
Odcienie jaśniejsze · Odcienie ciemniejsze · Tony
Odcienie jaśniejsze
- 6E8D3A
- 7D9A52
- 8CA668
- 9CB37D
- ACBF93
- BCCCA8
- CCD9BD
- DDE5D3
- EEF2E9
Odcienie ciemniejsze
- 526F19
- 445E13
- 384E0E
- 2C3E09
- 202E05
- 151F03
- 0A1201
- 030600
- 000100
Tony
- 62812E
- 66813A
- 698145
- 6C814E
- 6F8157
- 738160
- 768168
- 798170
- 7D8078
Harmonie kolorów
Komplementarna +180°
- 5F811E
Enchanted Forest
- 885DAE
≈ Lusty Lavender
Analogowa -30° +30°
- 5F811E
Enchanted Forest
- 877300
≈ Soft Fig
- 0C8A54
≈ Center Field
Triada +120° +240°
- 5F811E
Enchanted Forest
- 2378BB
≈ Bluish
- B14F67
≈ Extravagant Blush
Komplementarna rozszczepiona +150° +210°
- 5F811E
Enchanted Forest
- 626ABE
≈ Bluish Purple Anemone
- A2538F
≈ Purple Zergling
Tetrada +90° +180° +270°
- 5F811E
Enchanted Forest
- 00819A
≈ Decore Splash
- 885DAE
≈ Lusty Lavender
- B25438
≈ Crimson Warrior
Kontrast i dostępność
Ag
AANa bieli
WCAG 4.52:1 · APCA Lc 71
Ag
AANa czerni
WCAG 4.64:1 · APCA Lc 30
Najlepszy kolor tekstu: #000000
WCAG 4.64:1 (AA) · APCA Lc 30
Contrast pairs
Fragmenty kodu
CSS
:root {
--enchanted-forest: #5f811e;
--enchanted-forest-rgb: 95 129 30;
--enchanted-forest-oklch: oklch(0.558 0.13 127.1);
}
.element {
color: var(--enchanted-forest);
background-color: hsl(81 62% 31%);
border-color: oklch(0.558 0.13 127.1);
}Tailwind CSS v4
@theme {
--color-enchanted-forest: #5f811e;
--color-enchanted-forest-50: #eafdd6;
--color-enchanted-forest-100: #daf1c3;
--color-enchanted-forest-200: #c3e0a5;
--color-enchanted-forest-300: #a3c57c;
--color-enchanted-forest-400: #8aac54;
--color-enchanted-forest-500: #6f9526;
--color-enchanted-forest-600: #5e7e23;
--color-enchanted-forest-700: #4b651c;
--color-enchanted-forest-800: #384a0f;
--color-enchanted-forest-900: #26330a;
--color-enchanted-forest-950: #151f00;
}SCSS
$enchanted-forest: #5f811e;
$enchanted-forest-rgb: 95, 129, 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);
}