Nearest named color · #56831D
#56831D
Nearest named color: Enchanted Forest
#56831D (rgb(86 131 29), hsl(86 64% 31%), oklch(0.557 0.138 130.9)) is closest to the named color Enchanted Forest. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#56831D
oklch(0.557 0.138 130.9)
Color conversions
- HEX
- #56831d
- RGB
- rgb(86 131 29)
- HSL
- hsl(86 64% 31%)
- HWB
- hwb(86 11% 49%)
- OKLCH
- oklch(0.557 0.138 130.9)
- OKLab
- oklab(0.557 -0.09 0.104)
- CIE Lab
- lab(50 -28.25 46.02)
- LCH
- lch(50 54 121.5)
- CMYK
- cmyk(34% 0% 78% 49%)
Tints · Shades · Tones
Tints
- 668F3A
- 769B52
- 86A868
- 97B47D
- A8C092
- B9CDA8
- CAD9BD
- DBE6D3
- EDF2E9
Shades
- 4A7118
- 3E6013
- 324F0E
- 273F09
- 1C2F05
- 122003
- 081201
- 020600
- 000100
Tones
- 5A832D
- 5F833A
- 638344
- 67834E
- 6C8257
- 708260
- 748268
- 788170
- 7C8178
Color harmonies
Complementary +180°
- 56831D
Enchanted Forest
- 8D59AE
≈ Lusty Lavender
Analogous -30° +30°
- 56831D
Enchanted Forest
- 837500
≈ Soft Fig
- 00895B
≈ Vital Green
Triadic +120° +240°
- 56831D
Enchanted Forest
- 2876C1
≈ Bluish
- B54B5F
≈ Dark Rose
Split-complementary +150° +210°
- 56831D
Enchanted Forest
- 6767C2
≈ Bluish Purple Anemone
- A74F8B
≈ Plum Dust
Tetradic +90° +180° +270°
- 56831D
Enchanted Forest
- 00819D
≈ Decore Splash
- 8D59AE
≈ Lusty Lavender
- B4522C
≈ Renga Brick
Contrast & accessibility
Ag
AAOn white
WCAG 4.50:1 · APCA Lc 71
Ag
AAOn black
WCAG 4.65:1 · APCA Lc 31
Best text color: #000000
WCAG 4.65:1 (AA) · APCA Lc 31
Contrast pairs
Code snippets
CSS
:root {
--enchanted-forest: #56831d;
--enchanted-forest-rgb: 86 131 29;
--enchanted-forest-oklch: oklch(0.557 0.138 130.9);
}
.element {
color: var(--enchanted-forest);
background-color: hsl(86 64% 31%);
border-color: oklch(0.557 0.138 130.9);
}Tailwind CSS v4
@theme {
--color-enchanted-forest: #56831d;
--color-enchanted-forest-50: #e6fed6;
--color-enchanted-forest-100: #d6f2c3;
--color-enchanted-forest-200: #bde1a5;
--color-enchanted-forest-300: #9cc77d;
--color-enchanted-forest-400: #81af54;
--color-enchanted-forest-500: #659825;
--color-enchanted-forest-600: #568022;
--color-enchanted-forest-700: #44671b;
--color-enchanted-forest-800: #334b0f;
--color-enchanted-forest-900: #233409;
--color-enchanted-forest-950: #121f00;
}SCSS
$enchanted-forest: #56831d;
$enchanted-forest-rgb: 86, 131, 29;
$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);
}