Najbliższy nazwany kolor · #5C812A
#5C812A
Najbliższy nazwany kolor: Enchanted Forest
#5C812A (rgb(92 129 42), hsl(86 51% 34%), oklch(0.557 0.123 129.4)) jest najbliższy nazwanemu kolorowi Enchanted Forest. Zobacz odcienie, harmonie, kontrast WCAG i APCA oraz kod CSS, Tailwind v4 i SCSS.
#5C812A
oklch(0.557 0.123 129.4)
Konwersje koloru
- HEX
- #5c812a
- RGB
- rgb(92 129 42)
- HSL
- hsl(86 51% 34%)
- HWB
- hwb(86 16% 49%)
- OKLCH
- oklch(0.557 0.123 129.4)
- OKLab
- oklab(0.557 -0.078 0.095)
- CIE Lab
- lab(49.81 -24.34 40.94)
- LCH
- lch(49.81 47.63 120.7)
- CMYK
- cmyk(29% 0% 67% 49%)
Odcienie jaśniejsze · Odcienie ciemniejsze · Tony
Odcienie jaśniejsze
- 6B8D42
- 7B9A58
- 8AA66D
- 9AB381
- AABF96
- BBCCAA
- CCD8BF
- DCE5D4
- EEF2EA
Odcienie ciemniejsze
- 4F6F23
- 425E1C
- 364E16
- 2A3E10
- 1F2E0A
- 141F05
- 0A1202
- 030601
- 000100
Tony
- 608136
- 638140
- 67814A
- 6B8152
- 6E815A
- 728162
- 75816A
- 798171
- 7C8079
Harmonie kolorów
Komplementarna +180°
- 5C812A
Enchanted Forest
- 895DA9
≈ Chive Blossom
Analogowa -30° +30°
- 5C812A
Enchanted Forest
- 847400
≈ Soft Fig
- 118959
≈ Vital Green
Triada +120° +240°
- 5C812A
Enchanted Forest
- 3177B8
≈ North Atlantic Breeze
- AE5164
≈ Kissed by a Zombies
Komplementarna rozszczepiona +150° +210°
- 5C812A
Enchanted Forest
- 666ABA
≈ Bluish Purple Anemone
- A1548B
≈ Purple Zergling
Tetrada +90° +180° +270°
- 5C812A
Enchanted Forest
- 00819C
≈ Decore Splash
- 895DA9
≈ Chive Blossom
- AE5739
≈ Brown Rust
Kontrast i dostępność
Ag
AANa bieli
WCAG 4.53:1 · APCA Lc 71
Ag
AANa czerni
WCAG 4.62:1 · APCA Lc 30
Najlepszy kolor tekstu: #000000
WCAG 4.62:1 (AA) · APCA Lc 30
Contrast pairs
Fragmenty kodu
CSS
:root {
--enchanted-forest: #5c812a;
--enchanted-forest-rgb: 92 129 42;
--enchanted-forest-oklch: oklch(0.557 0.123 129.4);
}
.element {
color: var(--enchanted-forest);
background-color: hsl(86 51% 34%);
border-color: oklch(0.557 0.123 129.4);
}Tailwind CSS v4
@theme {
--color-enchanted-forest: #5c812a;
--color-enchanted-forest-50: #e9fdd9;
--color-enchanted-forest-100: #d9f1c7;
--color-enchanted-forest-200: #c2e0a9;
--color-enchanted-forest-300: #a1c582;
--color-enchanted-forest-400: #87ad5c;
--color-enchanted-forest-500: #6c9534;
--color-enchanted-forest-600: #5b7e2d;
--color-enchanted-forest-700: #496524;
--color-enchanted-forest-800: #364a16;
--color-enchanted-forest-900: #25330e;
--color-enchanted-forest-950: #141f02;
}SCSS
$enchanted-forest: #5c812a;
$enchanted-forest-rgb: 92, 129, 42;
$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);
}