Nearest named color · #5E8126
#5E8126
Nearest named color: Enchanted Forest
#5E8126 (rgb(94 129 38), hsl(83 54% 33%), oklch(0.558 0.125 128.1)) is closest to the named color Enchanted Forest. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#5E8126
oklch(0.558 0.125 128.1)
Color conversions
- HEX
- #5e8126
- RGB
- rgb(94 129 38)
- HSL
- hsl(83 54% 33%)
- HWB
- hwb(83 15% 49%)
- OKLCH
- oklch(0.558 0.125 128.1)
- OKLab
- oklab(0.558 -0.077 0.098)
- CIE Lab
- lab(49.91 -23.76 42.77)
- LCH
- lch(49.91 48.93 119)
- CMYK
- cmyk(27% 0% 71% 49%)
Tints · Shades · Tones
Tints
- 6D8D3F
- 7C9A56
- 8CA66B
- 9BB380
- ABBF95
- BCCCAA
- CCD9BF
- DDE5D4
- EEF2E9
Shades
- 516F20
- 445E19
- 374E13
- 2B3E0D
- 1F2E08
- 141F04
- 0A1202
- 030601
- 000100
Tones
- 618133
- 65813E
- 688148
- 6C8151
- 6F8159
- 728161
- 768169
- 798171
- 7D8079
Color harmonies
Complementary +180°
- 5E8126
Enchanted Forest
- 885DAB
≈ Lusty Lavender
Analogous -30° +30°
- 5E8126
Enchanted Forest
- 867400
≈ Soft Fig
- 138957
≈ Vital Green
Triadic +120° +240°
- 5E8126
Enchanted Forest
- 2C78B9
≈ Haddock’s Sweater
- AF5166
≈ Sombre Roses
Split-complementary +150° +210°
- 5E8126
Enchanted Forest
- 646ABB
≈ Bluish Purple Anemone
- A1548D
≈ Purple Zergling
Tetradic +90° +180° +270°
- 5E8126
Enchanted Forest
- 00819B
≈ Decore Splash
- 885DAB
≈ Lusty Lavender
- B0563A
≈ Brown Rust
Contrast & accessibility
Ag
AAOn white
WCAG 4.52:1 · APCA Lc 71
Ag
AAOn black
WCAG 4.64:1 · APCA Lc 30
Best text color: #000000
WCAG 4.64:1 (AA) · APCA Lc 30
Contrast pairs
Code snippets
CSS
:root {
--enchanted-forest: #5e8126;
--enchanted-forest-rgb: 94 129 38;
--enchanted-forest-oklch: oklch(0.558 0.125 128.1);
}
.element {
color: var(--enchanted-forest);
background-color: hsl(83 54% 33%);
border-color: oklch(0.558 0.125 128.1);
}Tailwind CSS v4
@theme {
--color-enchanted-forest: #5e8126;
--color-enchanted-forest-50: #e9fdd8;
--color-enchanted-forest-100: #daf1c5;
--color-enchanted-forest-200: #c3e0a7;
--color-enchanted-forest-300: #a2c580;
--color-enchanted-forest-400: #89ac59;
--color-enchanted-forest-500: #6e952f;
--color-enchanted-forest-600: #5d7e2a;
--color-enchanted-forest-700: #4a6521;
--color-enchanted-forest-800: #374a14;
--color-enchanted-forest-900: #26330d;
--color-enchanted-forest-950: #141f01;
}SCSS
$enchanted-forest: #5e8126;
$enchanted-forest-rgb: 94, 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);
}