Nearest named color · #5A8224
#5A8224
Nearest named color: Enchanted Forest
#5A8224 (rgb(90 130 36), hsl(86 57% 33%), oklch(0.557 0.13 129.9)) is closest to the named color Enchanted Forest. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#5A8224
oklch(0.557 0.13 129.9)
Color conversions
- HEX
- #5a8224
- RGB
- rgb(90 130 36)
- HSL
- hsl(86 57% 33%)
- HWB
- hwb(86 14% 49%)
- OKLCH
- oklch(0.557 0.13 129.9)
- OKLab
- oklab(0.557 -0.083 0.1)
- CIE Lab
- lab(49.96 -25.92 43.51)
- LCH
- lch(49.96 50.65 120.8)
- CMYK
- cmyk(31% 0% 72% 49%)
Tints · Shades · Tones
Tints
- 698E3E
- 799B55
- 89A76A
- 99B37F
- A9C094
- BACCA9
- CBD9BE
- DCE6D4
- EDF2E9
Shades
- 4D701E
- 415F18
- 354E12
- 293E0C
- 1E2F07
- 132004
- 091202
- 030600
- 000100
Tones
- 5E8232
- 62823D
- 668247
- 6A8250
- 6D8259
- 718261
- 758169
- 798171
- 7C8179
Color harmonies
Complementary +180°
- 5A8224
Enchanted Forest
- 8B5CAC
≈ Lusty Lavender
Analogous -30° +30°
- 5A8224
Enchanted Forest
- 847400
≈ Soft Fig
- 008A59
≈ Center Field
Triadic +120° +240°
- 5A8224
Enchanted Forest
- 2C77BC
≈ Bluish
- B24F62
≈ Holly Berry
Split-complementary +150° +210°
- 5A8224
Enchanted Forest
- 6669BE
≈ Bluish Purple Anemone
- A4528C
≈ Purple Zergling
Tetradic +90° +180° +270°
- 5A8224
Enchanted Forest
- 00819C
≈ Decore Splash
- 8B5CAC
≈ Lusty Lavender
- B15534
≈ Renga Brick
Contrast & accessibility
Ag
AAOn white
WCAG 4.51:1 · APCA Lc 71
Ag
AAOn black
WCAG 4.65:1 · APCA Lc 30
Best text color: #000000
WCAG 4.65:1 (AA) · APCA Lc 30
Contrast pairs
Code snippets
CSS
:root {
--enchanted-forest: #5a8224;
--enchanted-forest-rgb: 90 130 36;
--enchanted-forest-oklch: oklch(0.557 0.13 129.9);
}
.element {
color: var(--enchanted-forest);
background-color: hsl(86 57% 33%);
border-color: oklch(0.557 0.13 129.9);
}Tailwind CSS v4
@theme {
--color-enchanted-forest: #5a8224;
--color-enchanted-forest-50: #e8fed7;
--color-enchanted-forest-100: #d8f2c5;
--color-enchanted-forest-200: #c0e0a7;
--color-enchanted-forest-300: #9fc67f;
--color-enchanted-forest-400: #85ae58;
--color-enchanted-forest-500: #69962d;
--color-enchanted-forest-600: #597f28;
--color-enchanted-forest-700: #476620;
--color-enchanted-forest-800: #354a13;
--color-enchanted-forest-900: #24340c;
--color-enchanted-forest-950: #131f01;
}SCSS
$enchanted-forest: #5a8224;
$enchanted-forest-rgb: 90, 130, 36;
$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);
}