Couleur nommée la plus proche · #5A8017
#5A8017
Couleur nommée la plus proche: Enchanted Forest
#5A8017 (rgb(90 128 23), hsl(82 70% 30%), oklch(0.551 0.135 128.3)) est la plus proche de la couleur nommée Enchanted Forest. Teintes, ombres, harmonies, contraste WCAG et APCA, et code CSS, Tailwind v4 et SCSS.
#5A8017
oklch(0.551 0.135 128.3)
Conversions de couleur
- 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%)
Teintes · Ombres · Tons
Teintes
- 698C36
- 79994F
- 89A665
- 99B27B
- A9BF91
- BACCA7
- CBD8BC
- DCE5D2
- EDF2E9
Ombres
- 4D6E12
- 415D0E
- 354D0A
- 293D06
- 1E2E04
- 131F02
- 091201
- 030600
- 000100
Tons
- 5E8029
- 628137
- 668142
- 69814C
- 6D8156
- 71815F
- 758167
- 788170
- 7C8078
Harmonies de couleurs
Complémentaire +180°
- 5A8017
Enchanted Forest
- 8859AE
≈ Lusty Lavender
Analogue -30° +30°
- 5A8017
Enchanted Forest
- 847200
≈ Sunlit Kelp Green
- 008855
≈ Pixel Nature
Triadique +120° +240°
- 5A8017
Enchanted Forest
- 1F76BC
≈ Bluish
- B14B62
≈ Gala Pink
Complémentaire divisée +150° +210°
- 5A8017
Enchanted Forest
- 6167BF
≈ Bluish Purple Anemone
- A34F8D
≈ La la Lavender
Tétradique +90° +180° +270°
- 5A8017
Enchanted Forest
- 007F99
≈ Amazing Sky
- 8859AE
≈ Lusty Lavender
- B25131
≈ Renga Brick
Contraste et accessibilité
Ag
AASur blanc
WCAG 4.63:1 · APCA Lc 72
Ag
AASur noir
WCAG 4.53:1 · APCA Lc 30
Meilleure couleur de texte: #FFFFFF
WCAG 4.63:1 (AA) · APCA Lc 72
Contrast pairs
Extraits de code
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);
}