Najbliższy nazwany kolor · #5A8021
#5A8021
Najbliższy nazwany kolor: Enchanted Forest
#5A8021 (rgb(90 128 33), hsl(84 59% 32%), oklch(0.552 0.129 129.1)) jest najbliższy nazwanemu kolorowi Enchanted Forest. Zobacz odcienie, harmonie, kontrast WCAG i APCA oraz kod CSS, Tailwind v4 i SCSS.
#5A8021
oklch(0.552 0.129 129.1)
Konwersje koloru
- HEX
- #5a8021
- RGB
- rgb(90 128 33)
- HSL
- hsl(84 59% 32%)
- HWB
- hwb(84 13% 50%)
- OKLCH
- oklch(0.552 0.129 129.1)
- OKLab
- oklab(0.552 -0.081 0.1)
- CIE Lab
- lab(49.3 -25.17 44.03)
- LCH
- lch(49.3 50.72 119.8)
- CMYK
- cmyk(30% 0% 74% 50%)
Odcienie jaśniejsze · Odcienie ciemniejsze · Tony
Odcienie jaśniejsze
- 698C3C
- 799953
- 89A569
- 99B27E
- A9BF93
- BACBA8
- CBD8BE
- DCE5D3
- EDF2E9
Odcienie ciemniejsze
- 4D6E1B
- 415D16
- 354D10
- 293D0B
- 1E2E06
- 131F03
- 091201
- 030600
- 000100
Tony
- 5E802F
- 62813B
- 668145
- 69814F
- 6D8158
- 718160
- 758168
- 788170
- 7C8078
Harmonie kolorów
Komplementarna +180°
- 5A8021
Enchanted Forest
- 885AAB
≈ Lusty Lavender
Analogowa -30° +30°
- 5A8021
Enchanted Forest
- 837200
≈ Sunlit Kelp Green
- 008856
≈ Vital Green
Triada +120° +240°
- 5A8021
Enchanted Forest
- 2876BA
≈ Bluish
- AF4D62
≈ Gala Pink
Komplementarna rozszczepiona +150° +210°
- 5A8021
Enchanted Forest
- 6368BC
≈ Bluish Purple Anemone
- A2518B
≈ Purple Zergling
Tetrada +90° +180° +270°
- 5A8021
Enchanted Forest
- 007F9A
≈ Amazing Sky
- 885AAB
≈ Lusty Lavender
- B05334
≈ Red Stage
Kontrast i dostępność
Ag
AANa bieli
WCAG 4.62:1 · APCA Lc 72
Ag
AANa czerni
WCAG 4.54:1 · APCA Lc 30
Najlepszy kolor tekstu: #FFFFFF
WCAG 4.62:1 (AA) · APCA Lc 72
Contrast pairs
Fragmenty kodu
CSS
:root {
--enchanted-forest: #5a8021;
--enchanted-forest-rgb: 90 128 33;
--enchanted-forest-oklch: oklch(0.552 0.129 129.1);
}
.element {
color: var(--enchanted-forest);
background-color: hsl(84 59% 32%);
border-color: oklch(0.552 0.129 129.1);
}Tailwind CSS v4
@theme {
--color-enchanted-forest: #5a8021;
--color-enchanted-forest-50: #e8fdd7;
--color-enchanted-forest-100: #d9f1c5;
--color-enchanted-forest-200: #c1e0a6;
--color-enchanted-forest-300: #a0c57f;
--color-enchanted-forest-400: #86ad57;
--color-enchanted-forest-500: #6b962c;
--color-enchanted-forest-600: #5b7f27;
--color-enchanted-forest-700: #48661f;
--color-enchanted-forest-800: #364a12;
--color-enchanted-forest-900: #25330b;
--color-enchanted-forest-950: #141f01;
}SCSS
$enchanted-forest: #5a8021;
$enchanted-forest-rgb: 90, 128, 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);
}