Najbliższy nazwany kolor · #5A8221
#5A8221
Najbliższy nazwany kolor: Enchanted Forest
#5A8221 (rgb(90 130 33), hsl(85 60% 32%), oklch(0.557 0.132 129.6)) jest najbliższy nazwanemu kolorowi Enchanted Forest. Zobacz odcienie, harmonie, kontrast WCAG i APCA oraz kod CSS, Tailwind v4 i SCSS.
#5A8221
oklch(0.557 0.132 129.6)
Konwersje koloru
- HEX
- #5a8221
- RGB
- rgb(90 130 33)
- HSL
- hsl(85 60% 32%)
- HWB
- hwb(85 13% 49%)
- OKLCH
- oklch(0.557 0.132 129.6)
- OKLab
- oklab(0.557 -0.084 0.102)
- CIE Lab
- lab(49.94 -26.07 44.64)
- LCH
- lch(49.94 51.7 120.3)
- CMYK
- cmyk(31% 0% 75% 49%)
Odcienie jaśniejsze · Odcienie ciemniejsze · Tony
Odcienie jaśniejsze
- 698E3C
- 799B53
- 89A769
- 99B37E
- A9C093
- BACCA9
- CBD9BE
- DCE6D3
- EDF2E9
Odcienie ciemniejsze
- 4D701B
- 415F16
- 354E10
- 293E0B
- 1E2F06
- 132003
- 091201
- 030600
- 000100
Tony
- 5E8230
- 62823B
- 668246
- 69824F
- 6D8258
- 718261
- 758169
- 798171
- 7C8178
Harmonie kolorów
Komplementarna +180°
- 5A8221
Enchanted Forest
- 8B5BAD
≈ Lusty Lavender
Analogowa -30° +30°
- 5A8221
Enchanted Forest
- 847400
≈ Soft Fig
- 008A58
≈ Center Field
Triada +120° +240°
- 5A8221
Enchanted Forest
- 2977BD
≈ Bluish
- B24E62
≈ Holly Berry
Komplementarna rozszczepiona +150° +210°
- 5A8221
Enchanted Forest
- 6568BF
≈ Bluish Purple Anemone
- A5518C
≈ Purple Zergling
Tetrada +90° +180° +270°
- 5A8221
Enchanted Forest
- 00819C
≈ Decore Splash
- 8B5BAD
≈ Lusty Lavender
- B25433
≈ Renga Brick
Kontrast i dostępność
Ag
AANa bieli
WCAG 4.51: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: #5a8221;
--enchanted-forest-rgb: 90 130 33;
--enchanted-forest-oklch: oklch(0.557 0.132 129.6);
}
.element {
color: var(--enchanted-forest);
background-color: hsl(85 60% 32%);
border-color: oklch(0.557 0.132 129.6);
}Tailwind CSS v4
@theme {
--color-enchanted-forest: #5a8221;
--color-enchanted-forest-50: #e8fed7;
--color-enchanted-forest-100: #d8f2c4;
--color-enchanted-forest-200: #c0e1a6;
--color-enchanted-forest-300: #9fc67e;
--color-enchanted-forest-400: #85ae56;
--color-enchanted-forest-500: #69962a;
--color-enchanted-forest-600: #597f26;
--color-enchanted-forest-700: #47661e;
--color-enchanted-forest-800: #354a11;
--color-enchanted-forest-900: #24340b;
--color-enchanted-forest-950: #131f01;
}SCSS
$enchanted-forest: #5a8221;
$enchanted-forest-rgb: 90, 130, 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);
}