Nearest named color · #54831B
#54831B
Nearest named color: Enchanted Forest
#54831B (rgb(84 131 27), hsl(87 66% 31%), oklch(0.556 0.14 131.5)) is closest to the named color Enchanted Forest. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#54831B
oklch(0.556 0.14 131.5)
Color conversions
- HEX
- #54831b
- RGB
- rgb(84 131 27)
- HSL
- hsl(87 66% 31%)
- HWB
- hwb(87 11% 49%)
- OKLCH
- oklch(0.556 0.14 131.5)
- OKLab
- oklab(0.556 -0.093 0.105)
- CIE Lab
- lab(49.87 -29.1 46.51)
- LCH
- lch(49.87 54.87 122)
- CMYK
- cmyk(36% 0% 79% 49%)
Tints · Shades · Tones
Tints
- 648F39
- 759C51
- 85A867
- 96B47C
- A7C192
- B8CDA7
- C9D9BD
- DBE6D3
- EDF2E9
Shades
- 487116
- 3C6011
- 314F0C
- 263F08
- 1B2F05
- 112002
- 081201
- 020600
- 000100
Tones
- 59832C
- 5D8339
- 628344
- 66834D
- 6B8357
- 6F825F
- 738268
- 788170
- 7C8178
Color harmonies
Complementary +180°
- 54831B
Enchanted Forest
- 8E58AE
≈ Lusty Lavender
Analogous -30° +30°
- 54831B
Enchanted Forest
- 827500
≈ Tool Green
- 00895C
≈ Vital Green
Triadic +120° +240°
- 54831B
Enchanted Forest
- 2775C2
≈ Bluish
- B54A5E
≈ Dark Rose
Split-complementary +150° +210°
- 54831B
Enchanted Forest
- 6766C2
≈ Bluish Purple Anemone
- A84D8B
≈ Plum Dust
Tetradic +90° +180° +270°
- 54831B
Enchanted Forest
- 00809D
≈ Amazing Sky
- 8E58AE
≈ Lusty Lavender
- B55128
≈ Gold Flame
Contrast & accessibility
Ag
AAOn white
WCAG 4.52:1 · APCA Lc 71
Ag
AAOn black
WCAG 4.63:1 · APCA Lc 30
Best text color: #000000
WCAG 4.63:1 (AA) · APCA Lc 30
Contrast pairs
Code snippets
CSS
:root {
--enchanted-forest: #54831b;
--enchanted-forest-rgb: 84 131 27;
--enchanted-forest-oklch: oklch(0.556 0.14 131.5);
}
.element {
color: var(--enchanted-forest);
background-color: hsl(87 66% 31%);
border-color: oklch(0.556 0.14 131.5);
}Tailwind CSS v4
@theme {
--color-enchanted-forest: #54831b;
--color-enchanted-forest-50: #e5ffd6;
--color-enchanted-forest-100: #d6f3c3;
--color-enchanted-forest-200: #bce2a4;
--color-enchanted-forest-300: #9ac77c;
--color-enchanted-forest-400: #80af53;
--color-enchanted-forest-500: #639824;
--color-enchanted-forest-600: #548121;
--color-enchanted-forest-700: #43671b;
--color-enchanted-forest-800: #324b0e;
--color-enchanted-forest-900: #223409;
--color-enchanted-forest-950: #112000;
}SCSS
$enchanted-forest: #54831b;
$enchanted-forest-rgb: 84, 131, 27;
$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);
}