Nearest named color · #5C7F19
#5C7F19
Nearest named color: Enchanted Forest
#5C7F19 (rgb(92 127 25), hsl(81 67% 30%), oklch(0.55 0.132 127.4)) is closest to the named color Enchanted Forest. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#5C7F19
oklch(0.55 0.132 127.4)
Color conversions
- HEX
- #5c7f19
- RGB
- rgb(92 127 25)
- HSL
- hsl(81 67% 30%)
- HWB
- hwb(81 10% 50%)
- OKLCH
- oklch(0.55 0.132 127.4)
- OKLab
- oklab(0.55 -0.08 0.105)
- CIE Lab
- lab(49.07 -24.25 46.66)
- LCH
- lch(49.07 52.58 117.5)
- CMYK
- cmyk(28% 0% 80% 50%)
Tints · Shades · Tones
Tints
- 6B8C37
- 7A984F
- 8AA566
- 9AB17C
- AABE91
- BBCBA7
- CBD8BD
- DCE5D2
- EEF2E9
Shades
- 4F6E14
- 425D10
- 364C0B
- 2A3C07
- 1F2D04
- 141F02
- 0A1101
- 030600
- 000100
Tones
- 607F2A
- 638037
- 678042
- 6A804D
- 6E8056
- 72815F
- 758167
- 798070
- 7C8078
Color harmonies
Complementary +180°
- 5C7F19
Enchanted Forest
- 865AAD
≈ Lusty Lavender
Analogous -30° +30°
- 5C7F19
Enchanted Forest
- 847100
≈ Sunlit Kelp Green
- 008752
≈ Pixel Nature
Triadic +120° +240°
- 5C7F19
Enchanted Forest
- 1F76BA
≈ Bluish
- AF4C64
≈ Gala Pink
Split-complementary +150° +210°
- 5C7F19
Enchanted Forest
- 6067BD
≈ Bluish Purple Anemone
- A1508D
≈ La la Lavender
Tetradic +90° +180° +270°
- 5C7F19
Enchanted Forest
- 007F97
≈ Pagoda
- 865AAD
≈ Lusty Lavender
- B05135
≈ Crimson Warrior
Contrast & accessibility
Ag
AAOn white
WCAG 4.66:1 · APCA Lc 72
Ag
AAOn black
WCAG 4.50:1 · APCA Lc 29
Best text color: #FFFFFF
WCAG 4.66:1 (AA) · APCA Lc 72
Contrast pairs
Code snippets
CSS
:root {
--enchanted-forest: #5c7f19;
--enchanted-forest-rgb: 92 127 25;
--enchanted-forest-oklch: oklch(0.55 0.132 127.4);
}
.element {
color: var(--enchanted-forest);
background-color: hsl(81 67% 30%);
border-color: oklch(0.55 0.132 127.4);
}Tailwind CSS v4
@theme {
--color-enchanted-forest: #5c7f19;
--color-enchanted-forest-50: #e9fdd6;
--color-enchanted-forest-100: #daf1c3;
--color-enchanted-forest-200: #c2e0a4;
--color-enchanted-forest-300: #a2c57c;
--color-enchanted-forest-400: #89ad53;
--color-enchanted-forest-500: #6e9524;
--color-enchanted-forest-600: #5d7e22;
--color-enchanted-forest-700: #4a651b;
--color-enchanted-forest-800: #384a0e;
--color-enchanted-forest-900: #263309;
--color-enchanted-forest-950: #141f00;
}SCSS
$enchanted-forest: #5c7f19;
$enchanted-forest-rgb: 92, 127, 25;
$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);
}