Nearest named color · #5C7F1E
#5C7F1E
Nearest named color: Enchanted Forest
#5C7F1E (rgb(92 127 30), hsl(82 62% 31%), oklch(0.551 0.129 127.7)) is closest to the named color Enchanted Forest. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#5C7F1E
oklch(0.551 0.129 127.7)
Color conversions
- HEX
- #5c7f1e
- RGB
- rgb(92 127 30)
- HSL
- hsl(82 62% 31%)
- HWB
- hwb(82 12% 50%)
- OKLCH
- oklch(0.551 0.129 127.7)
- OKLab
- oklab(0.551 -0.079 0.102)
- CIE Lab
- lab(49.1 -24.04 44.99)
- LCH
- lch(49.1 51.01 118.1)
- CMYK
- cmyk(28% 0% 76% 50%)
Tints · Shades · Tones
Tints
- 6B8C3A
- 7A9851
- 8AA567
- 9AB17D
- AABE92
- BBCBA8
- CBD8BD
- DCE5D3
- EEF2E9
Shades
- 4F6E19
- 425D13
- 364C0E
- 2A3C09
- 1F2D05
- 141F03
- 0A1101
- 030600
- 000100
Tones
- 607F2D
- 63803A
- 678044
- 6A804E
- 6E8057
- 728060
- 758068
- 798070
- 7C8078
Color harmonies
Complementary +180°
- 5C7F1E
Enchanted Forest
- 865BAB
≈ Lusty Lavender
Analogous -30° +30°
- 5C7F1E
Enchanted Forest
- 847100
≈ Sunlit Kelp Green
- 038753
≈ Pixel Nature
Triadic +120° +240°
- 5C7F1E
Enchanted Forest
- 2476B8
≈ Bluish
- AE4D64
≈ Gala Pink
Split-complementary +150° +210°
- 5C7F1E
Enchanted Forest
- 6168BB
≈ Bluish Purple Anemone
- A0518C
≈ Purple Zergling
Tetradic +90° +180° +270°
- 5C7F1E
Enchanted Forest
- 007F98
≈ Pacific Pleasure
- 865BAB
≈ Lusty Lavender
- AF5236
≈ Pico Earth
Contrast & accessibility
Ag
AAOn white
WCAG 4.65:1 · APCA Lc 72
Ag
AAOn black
WCAG 4.50:1 · APCA Lc 29
Best text color: #FFFFFF
WCAG 4.65:1 (AA) · APCA Lc 72
Contrast pairs
Code snippets
CSS
:root {
--enchanted-forest: #5c7f1e;
--enchanted-forest-rgb: 92 127 30;
--enchanted-forest-oklch: oklch(0.551 0.129 127.7);
}
.element {
color: var(--enchanted-forest);
background-color: hsl(82 62% 31%);
border-color: oklch(0.551 0.129 127.7);
}Tailwind CSS v4
@theme {
--color-enchanted-forest: #5c7f1e;
--color-enchanted-forest-50: #e9fdd7;
--color-enchanted-forest-100: #daf1c4;
--color-enchanted-forest-200: #c2e0a6;
--color-enchanted-forest-300: #a2c57e;
--color-enchanted-forest-400: #89ad56;
--color-enchanted-forest-500: #6e9529;
--color-enchanted-forest-600: #5d7e25;
--color-enchanted-forest-700: #4a651e;
--color-enchanted-forest-800: #374a11;
--color-enchanted-forest-900: #26330b;
--color-enchanted-forest-950: #141f01;
}SCSS
$enchanted-forest: #5c7f1e;
$enchanted-forest-rgb: 92, 127, 30;
$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);
}