Couleur nommée la plus proche · #5A8222
#5A8222
Couleur nommée la plus proche: Enchanted Forest
#5A8222 (rgb(90 130 34), hsl(85 59% 32%), oklch(0.557 0.131 129.7)) 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.
#5A8222
oklch(0.557 0.131 129.7)
Conversions de couleur
- HEX
- #5a8222
- RGB
- rgb(90 130 34)
- HSL
- hsl(85 59% 32%)
- HWB
- hwb(85 13% 49%)
- OKLCH
- oklch(0.557 0.131 129.7)
- OKLab
- oklab(0.557 -0.084 0.101)
- CIE Lab
- lab(49.95 -26.02 44.27)
- LCH
- lch(49.95 51.35 120.4)
- CMYK
- cmyk(31% 0% 74% 49%)
Teintes · Ombres · Tons
Teintes
- 698E3D
- 799B54
- 89A769
- 99B37F
- A9C094
- BACCA9
- CBD9BE
- DCE6D3
- EDF2E9
Ombres
- 4D701C
- 415F16
- 354E11
- 293E0B
- 1E2F07
- 132003
- 091201
- 030600
- 000100
Tons
- 5E8230
- 62823C
- 668246
- 6A8250
- 6D8258
- 718261
- 758169
- 798171
- 7C8178
Harmonies de couleurs
Complémentaire +180°
- 5A8222
Enchanted Forest
- 8B5BAD
≈ Lusty Lavender
Analogue -30° +30°
- 5A8222
Enchanted Forest
- 847400
≈ Soft Fig
- 008A59
≈ Center Field
Triadique +120° +240°
- 5A8222
Enchanted Forest
- 2A77BD
≈ Bluish
- B24E62
≈ Holly Berry
Complémentaire divisée +150° +210°
- 5A8222
Enchanted Forest
- 6569BE
≈ Bluish Purple Anemone
- A4518C
≈ Purple Zergling
Tétradique +90° +180° +270°
- 5A8222
Enchanted Forest
- 00819C
≈ Decore Splash
- 8B5BAD
≈ Lusty Lavender
- B25433
≈ Renga Brick
Contraste et accessibilité
Ag
AASur blanc
WCAG 4.51:1 · APCA Lc 71
Ag
AASur noir
WCAG 4.65:1 · APCA Lc 30
Meilleure couleur de texte: #000000
WCAG 4.65:1 (AA) · APCA Lc 30
Contrast pairs
Extraits de code
CSS
:root {
--enchanted-forest: #5a8222;
--enchanted-forest-rgb: 90 130 34;
--enchanted-forest-oklch: oklch(0.557 0.131 129.7);
}
.element {
color: var(--enchanted-forest);
background-color: hsl(85 59% 32%);
border-color: oklch(0.557 0.131 129.7);
}Tailwind CSS v4
@theme {
--color-enchanted-forest: #5a8222;
--color-enchanted-forest-50: #e8fed7;
--color-enchanted-forest-100: #d8f2c5;
--color-enchanted-forest-200: #c0e1a6;
--color-enchanted-forest-300: #9fc67e;
--color-enchanted-forest-400: #85ae56;
--color-enchanted-forest-500: #69962b;
--color-enchanted-forest-600: #597f26;
--color-enchanted-forest-700: #47661f;
--color-enchanted-forest-800: #354a11;
--color-enchanted-forest-900: #24340b;
--color-enchanted-forest-950: #131f01;
}SCSS
$enchanted-forest: #5a8222;
$enchanted-forest-rgb: 90, 130, 34;
$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);
}