Nearest named color · #A8997F
#A8997F
Nearest named color: Mohalla
#A8997F (rgb(168 153 127), hsl(38 19% 58%), oklch(0.689 0.041 81.4)) is closest to the named color Mohalla. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#A8997F
oklch(0.689 0.041 81.4)
Color conversions
- HEX
- #a8997f
- RGB
- rgb(168 153 127)
- HSL
- hsl(38 19% 58%)
- HWB
- hwb(38 50% 34%)
- OKLCH
- oklch(0.689 0.041 81.4)
- OKLab
- oklab(0.689 0.006 0.04)
- CIE Lab
- lab(64.03 2.59 15.84)
- LCH
- lch(64.03 16.05 80.7)
- CMYK
- cmyk(0% 9% 24% 34%)
Tints · Shades · Tones
Tints
- B0A38B
- B9AD98
- C1B7A4
- CAC1B1
- D3CBBD
- DBD5CA
- E4E0D7
- EDEAE4
- F6F4F2
Shades
- 92846E
- 7C705D
- 675D4C
- 524A3C
- 3F382D
- 2C271F
- 1A1711
- 0A0806
- 010101
Tones
- A4977F
- A0947F
- 9C9280
- 988F80
- 948D80
- 908A80
- 8C8880
- 888580
- 848380
Color harmonies
Complementary +180°
- A8997F
Mohalla
- 8D9CB5
≈ Periwinkle Dusk
Analogous -30° +30°
- A8997F
Mohalla
- B09485
≈ Sandrift
- 9B9E81
≈ Fennelly
Triadic +120° +240°
- A8997F
Mohalla
- 7EA3A6
≈ Tourmaline
- A793AB
≈ Garden Flower
Split-complementary +150° +210°
- A8997F
Mohalla
- 82A0B0
≈ Lake Winnipeg
- 9B97B3
≈ Heirloom Lilac
Tetradic +90° +180° +270°
Contrast & accessibility
Ag
FailOn white
WCAG 2.78:1 · APCA Lc 54
Ag
AAAOn black
WCAG 7.52:1 · APCA Lc 48
Best text color: #000000
WCAG 7.52:1 (AAA) · APCA Lc 48
Contrast pairs
Code snippets
CSS
:root {
--mohalla: #a8997f;
--mohalla-rgb: 168 153 127;
--mohalla-oklch: oklch(0.689 0.041 81.4);
}
.element {
color: var(--mohalla);
background-color: hsl(38 19% 58%);
border-color: oklch(0.689 0.041 81.4);
}Tailwind CSS v4
@theme {
--color-mohalla: #a8997f;
--color-mohalla-50: #fbf4e8;
--color-mohalla-100: #eee7d9;
--color-mohalla-200: #ddd3c1;
--color-mohalla-300: #c1b6a0;
--color-mohalla-400: #ab9c84;
--color-mohalla-500: #948468;
--color-mohalla-600: #7d7058;
--color-mohalla-700: #645946;
--color-mohalla-800: #4a4133;
--color-mohalla-900: #332d22;
--color-mohalla-950: #1f1a11;
}SCSS
$mohalla: #a8997f;
$mohalla-rgb: 168, 153, 127;
$mohalla-light: mix(#fff, $mohalla, 20%);
$mohalla-dark: mix(#000, $mohalla, 20%);
.element {
color: $mohalla;
box-shadow: 0 0 0 2px rgba($mohalla, 0.35);
}