Nearest named color · #5D8126
#5D8126
Nearest named color: Enchanted Forest
#5D8126 (rgb(93 129 38), hsl(84 54% 33%), oklch(0.557 0.125 128.6)) is closest to the named color Enchanted Forest. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#5D8126
oklch(0.557 0.125 128.6)
Color conversions
- HEX
- #5d8126
- RGB
- rgb(93 129 38)
- HSL
- hsl(84 54% 33%)
- HWB
- hwb(84 15% 49%)
- OKLCH
- oklch(0.557 0.125 128.6)
- OKLab
- oklab(0.557 -0.078 0.098)
- CIE Lab
- lab(49.85 -24.16 42.68)
- LCH
- lch(49.85 49.05 119.5)
- CMYK
- cmyk(28% 0% 71% 49%)
Tints · Shades · Tones
Tints
- 6C8D3F
- 7B9A56
- 8BA66B
- 9BB380
- ABBF95
- BBCCAA
- CCD9BF
- DDE5D4
- EEF2E9
Shades
- 506F20
- 435E19
- 374E13
- 2A3E0D
- 1F2E08
- 141F04
- 0A1202
- 030601
- 000100
Tones
- 618133
- 64813E
- 688148
- 6B8151
- 6F8159
- 728161
- 768169
- 798171
- 7D8079
Color harmonies
Complementary +180°
- 5D8126
Enchanted Forest
- 895DAB
≈ Lusty Lavender
Analogous -30° +30°
- 5D8126
Enchanted Forest
- 857400
≈ Soft Fig
- 0F8957
≈ Vital Green
Triadic +120° +240°
- 5D8126
Enchanted Forest
- 2C78B9
≈ Haddock’s Sweater
- AF5065
≈ Kissed by a Zombies
Split-complementary +150° +210°
- 5D8126
Enchanted Forest
- 646ABB
≈ Bluish Purple Anemone
- A2548C
≈ Purple Zergling
Tetradic +90° +180° +270°
- 5D8126
Enchanted Forest
- 00819B
≈ Decore Splash
- 895DAB
≈ Lusty Lavender
- B05638
≈ Brown Rust
Contrast & accessibility
Ag
AAOn white
WCAG 4.53:1 · APCA Lc 71
Ag
AAOn black
WCAG 4.63:1 · APCA Lc 30
Best text color: #000000
WCAG 4.63:1 (AA) · APCA Lc 30
Contrast pairs
Code snippets
CSS
:root {
--enchanted-forest: #5d8126;
--enchanted-forest-rgb: 93 129 38;
--enchanted-forest-oklch: oklch(0.557 0.125 128.6);
}
.element {
color: var(--enchanted-forest);
background-color: hsl(84 54% 33%);
border-color: oklch(0.557 0.125 128.6);
}Tailwind CSS v4
@theme {
--color-enchanted-forest: #5d8126;
--color-enchanted-forest-50: #e9fdd8;
--color-enchanted-forest-100: #daf1c5;
--color-enchanted-forest-200: #c2e0a7;
--color-enchanted-forest-300: #a1c580;
--color-enchanted-forest-400: #88ad59;
--color-enchanted-forest-500: #6d952f;
--color-enchanted-forest-600: #5c7e2a;
--color-enchanted-forest-700: #4a6521;
--color-enchanted-forest-800: #374a14;
--color-enchanted-forest-900: #26330d;
--color-enchanted-forest-950: #141f01;
}SCSS
$enchanted-forest: #5d8126;
$enchanted-forest-rgb: 93, 129, 38;
$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);
}