Nearest named color · #4F821C
#4F821C
Nearest named color: Enchanted Forest
#4F821C (rgb(79 130 28), hsl(90 65% 31%), oklch(0.55 0.141 133)) is closest to the named color Enchanted Forest. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#4F821C
oklch(0.55 0.141 133)
Color conversions
- HEX
- #4f821c
- RGB
- rgb(79 130 28)
- HSL
- hsl(90 65% 31%)
- HWB
- hwb(90 11% 49%)
- OKLCH
- oklch(0.55 0.141 133)
- OKLab
- oklab(0.55 -0.096 0.103)
- CIE Lab
- lab(49.27 -30.51 45.51)
- LCH
- lch(49.27 54.79 123.8)
- CMYK
- cmyk(39% 0% 78% 49%)
Tints · Shades · Tones
Tints
- 608E39
- 719B51
- 82A767
- 93B47C
- A4C092
- B6CDA7
- C8D9BD
- DAE6D3
- ECF2E9
Shades
- 447017
- 385F12
- 2E4E0D
- 233E08
- 192F05
- 102002
- 071201
- 020600
- 000100
Tones
- 54822C
- 5A8239
- 5F8244
- 64824D
- 698257
- 6D825F
- 728268
- 778170
- 7B8178
Color harmonies
Complementary +180°
- 4F821C
Enchanted Forest
- 8E55AB
≈ Vicious Violet
Analogous -30° +30°
- 4F821C
Enchanted Forest
- 7E7400
≈ Sunlit Kelp Green
- 00875D
≈ Primal Green
Triadic +120° +240°
- 4F821C
Enchanted Forest
- 2973C1
≈ Palace Blue
- B4485A
≈ Punky Pink
Split-complementary +150° +210°
- 4F821C
Enchanted Forest
- 6863C0
≈ Bluish Purple Anemone
- A74B87
≈ La la Lavender
Tetradic +90° +180° +270°
- 4F821C
Enchanted Forest
- 007E9D
≈ Amazing Sky
- 8E55AB
≈ Vicious Violet
- B35022
≈ Gold Flame
Contrast & accessibility
Ag
AAOn white
WCAG 4.62:1 · APCA Lc 72
Ag
AAOn black
WCAG 4.54:1 · APCA Lc 30
Best text color: #FFFFFF
WCAG 4.62:1 (AA) · APCA Lc 72
Contrast pairs
Code snippets
CSS
:root {
--enchanted-forest: #4f821c;
--enchanted-forest-rgb: 79 130 28;
--enchanted-forest-oklch: oklch(0.55 0.141 133);
}
.element {
color: var(--enchanted-forest);
background-color: hsl(90 65% 31%);
border-color: oklch(0.55 0.141 133);
}Tailwind CSS v4
@theme {
--color-enchanted-forest: #4f821c;
--color-enchanted-forest-50: #e4ffd7;
--color-enchanted-forest-100: #d4f3c4;
--color-enchanted-forest-200: #bbe2a5;
--color-enchanted-forest-300: #98c87e;
--color-enchanted-forest-400: #7db055;
--color-enchanted-forest-500: #5f9927;
--color-enchanted-forest-600: #518124;
--color-enchanted-forest-700: #40681d;
--color-enchanted-forest-800: #304c0f;
--color-enchanted-forest-900: #21350a;
--color-enchanted-forest-950: #102000;
}SCSS
$enchanted-forest: #4f821c;
$enchanted-forest-rgb: 79, 130, 28;
$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);
}