Nearest named color · #5B821C
#5B821C
Nearest named color: Enchanted Forest
#5B821C (rgb(91 130 28), hsl(83 65% 31%), oklch(0.558 0.134 128.8)) is closest to the named color Enchanted Forest. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#5B821C
oklch(0.558 0.134 128.8)
Color conversions
- HEX
- #5b821c
- RGB
- rgb(91 130 28)
- HSL
- hsl(83 65% 31%)
- HWB
- hwb(83 11% 49%)
- OKLCH
- oklch(0.558 0.134 128.8)
- OKLab
- oklab(0.558 -0.084 0.105)
- CIE Lab
- lab(49.98 -25.89 46.47)
- LCH
- lch(49.98 53.2 119.1)
- CMYK
- cmyk(30% 0% 78% 49%)
Tints · Shades · Tones
Tints
- 6A8E39
- 7A9B51
- 8AA767
- 9AB37D
- AAC092
- BACCA8
- CBD9BD
- DCE6D3
- EEF2E9
Shades
- 4E7017
- 415F12
- 354E0D
- 293E08
- 1E2F05
- 132002
- 091201
- 030600
- 000100
Tones
- 5F822C
- 638239
- 668244
- 6A824E
- 6E8257
- 718260
- 758168
- 798170
- 7C8178
Color harmonies
Complementary +180°
- 5B821C
Enchanted Forest
- 8A5BAF
≈ Lusty Lavender
Analogous -30° +30°
- 5B821C
Enchanted Forest
- 857400
≈ Soft Fig
- 008A57
≈ Center Field
Triadic +120° +240°
- 5B821C
Enchanted Forest
- 2477BE
≈ Bluish
- B34D63
≈ Gala Pink
Split-complementary +150° +210°
- 5B821C
Enchanted Forest
- 6469C0
≈ Bluish Purple Anemone
- A5518E
≈ Plum Dust
Tetradic +90° +180° +270°
- 5B821C
Enchanted Forest
- 00819B
≈ Decore Splash
- 8A5BAF
≈ Lusty Lavender
- B45332
≈ Renga Brick
Contrast & accessibility
Ag
AAOn white
WCAG 4.51: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: #5b821c;
--enchanted-forest-rgb: 91 130 28;
--enchanted-forest-oklch: oklch(0.558 0.134 128.8);
}
.element {
color: var(--enchanted-forest);
background-color: hsl(83 65% 31%);
border-color: oklch(0.558 0.134 128.8);
}Tailwind CSS v4
@theme {
--color-enchanted-forest: #5b821c;
--color-enchanted-forest-50: #e8fed6;
--color-enchanted-forest-100: #d9f2c3;
--color-enchanted-forest-200: #c0e1a4;
--color-enchanted-forest-300: #9fc67c;
--color-enchanted-forest-400: #86ae53;
--color-enchanted-forest-500: #6a9624;
--color-enchanted-forest-600: #5a7f21;
--color-enchanted-forest-700: #48661b;
--color-enchanted-forest-800: #364a0e;
--color-enchanted-forest-900: #253409;
--color-enchanted-forest-950: #131f00;
}SCSS
$enchanted-forest: #5b821c;
$enchanted-forest-rgb: 91, 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);
}