Najbliższy nazwany kolor · #5A8017
#5A8017
Najbliższy nazwany kolor: Enchanted Forest
#5A8017 (rgb(90 128 23), hsl(82 70% 30%), oklch(0.551 0.135 128.3)) jest najbliższy nazwanemu kolorowi Enchanted Forest. Zobacz odcienie, harmonie, kontrast WCAG i APCA oraz kod CSS, Tailwind v4 i SCSS.
#5A8017
oklch(0.551 0.135 128.3)
Konwersje koloru
- HEX
- #5a8017
- RGB
- rgb(90 128 23)
- HSL
- hsl(82 70% 30%)
- HWB
- hwb(82 9% 50%)
- OKLCH
- oklch(0.551 0.135 128.3)
- OKLab
- oklab(0.551 -0.084 0.106)
- CIE Lab
- lab(49.25 -25.58 47.38)
- LCH
- lch(49.25 53.84 118.4)
- CMYK
- cmyk(30% 0% 82% 50%)
Odcienie jaśniejsze · Odcienie ciemniejsze · Tony
Odcienie jaśniejsze
- 698C36
- 79994F
- 89A665
- 99B27B
- A9BF91
- BACCA7
- CBD8BC
- DCE5D2
- EDF2E9
Odcienie ciemniejsze
- 4D6E12
- 415D0E
- 354D0A
- 293D06
- 1E2E04
- 131F02
- 091201
- 030600
- 000100
Tony
- 5E8029
- 628137
- 668142
- 69814C
- 6D8156
- 71815F
- 758167
- 788170
- 7C8078
Harmonie kolorów
Komplementarna +180°
- 5A8017
Enchanted Forest
- 8859AE
≈ Lusty Lavender
Analogowa -30° +30°
- 5A8017
Enchanted Forest
- 847200
≈ Sunlit Kelp Green
- 008855
≈ Pixel Nature
Triada +120° +240°
- 5A8017
Enchanted Forest
- 1F76BC
≈ Bluish
- B14B62
≈ Gala Pink
Komplementarna rozszczepiona +150° +210°
- 5A8017
Enchanted Forest
- 6167BF
≈ Bluish Purple Anemone
- A34F8D
≈ La la Lavender
Tetrada +90° +180° +270°
- 5A8017
Enchanted Forest
- 007F99
≈ Amazing Sky
- 8859AE
≈ Lusty Lavender
- B25131
≈ Renga Brick
Kontrast i dostępność
Ag
AANa bieli
WCAG 4.63:1 · APCA Lc 72
Ag
AANa czerni
WCAG 4.53:1 · APCA Lc 30
Najlepszy kolor tekstu: #FFFFFF
WCAG 4.63:1 (AA) · APCA Lc 72
Contrast pairs
Fragmenty kodu
CSS
:root {
--enchanted-forest: #5a8017;
--enchanted-forest-rgb: 90 128 23;
--enchanted-forest-oklch: oklch(0.551 0.135 128.3);
}
.element {
color: var(--enchanted-forest);
background-color: hsl(82 70% 30%);
border-color: oklch(0.551 0.135 128.3);
}Tailwind CSS v4
@theme {
--color-enchanted-forest: #5a8017;
--color-enchanted-forest-50: #e8fed5;
--color-enchanted-forest-100: #d9f2c3;
--color-enchanted-forest-200: #c1e0a4;
--color-enchanted-forest-300: #a0c67b;
--color-enchanted-forest-400: #87ad52;
--color-enchanted-forest-500: #6b9622;
--color-enchanted-forest-600: #5b7f20;
--color-enchanted-forest-700: #486619;
--color-enchanted-forest-800: #364a0d;
--color-enchanted-forest-900: #253408;
--color-enchanted-forest-950: #141f00;
}SCSS
$enchanted-forest: #5a8017;
$enchanted-forest-rgb: 90, 128, 23;
$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);
}