Nearest named color · #A6988B
#A6988B
Nearest named color: Earl Grey
#A6988B (rgb(166 152 139), hsl(29 13% 60%), oklch(0.688 0.025 65.3)) is closest to the named color Earl Grey. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#A6988B
oklch(0.688 0.025 65.3)
Color conversions
- HEX
- #a6988b
- RGB
- rgb(166 152 139)
- HSL
- hsl(29 13% 60%)
- HWB
- hwb(29 55% 35%)
- OKLCH
- oklch(0.688 0.025 65.3)
- OKLab
- oklab(0.688 0.01 0.023)
- CIE Lab
- lab(63.8 3.68 8.83)
- LCH
- lch(63.8 9.57 67.4)
- CMYK
- cmyk(0% 8% 16% 35%)
Tints · Shades · Tones
Tints
- AFA296
- B7ACA1
- C0B6AD
- C9C0B8
- D2CAC4
- DBD5CF
- E4DFDB
- EDEAE7
- F6F4F3
Shades
- 908478
- 7A7066
- 655C54
- 514A43
- 3E3832
- 2B2723
- 1A1714
- 0A0807
- 010101
Tones
- A2968A
- 9E9389
- 9A9188
- 978E87
- 938C86
- 8F8A84
- 8B8783
- 888582
- 848281
Color harmonies
Complementary +180°
- A6988B
Earl Grey
- 8E9DAA
≈ Lost at Sea
Analogous -30° +30°
- A6988B
Earl Grey
- AA9690
≈ Smoky Sunrise
- 9F9B8A
≈ Milk Thistle
Triadic +120° +240°
- A6988B
Earl Grey
- 8AA09D
≈ Aqua Smoke
- 9E97A8
≈ Lavender Aura
Split-complementary +150° +210°
- A6988B
Earl Grey
- 8A9FA5
≈ Aqua Grey
- 969AAB
≈ Bright Manatee
Tetradic +90° +180° +270°
- A6988B
Earl Grey
- 8FA094
≈ Pewter
- 8E9DAA
≈ Lost at Sea
- A595A1
≈ Romantic Holiday
Contrast & accessibility
Ag
FailOn white
WCAG 2.80:1 · APCA Lc 54
Ag
AAAOn black
WCAG 7.48:1 · APCA Lc 48
Best text color: #000000
WCAG 7.48:1 (AAA) · APCA Lc 48
Contrast pairs
Code snippets
CSS
:root {
--earl-grey: #a6988b;
--earl-grey-rgb: 166 152 139;
--earl-grey-oklch: oklch(0.688 0.025 65.3);
}
.element {
color: var(--earl-grey);
background-color: hsl(29 13% 60%);
border-color: oklch(0.688 0.025 65.3);
}Tailwind CSS v4
@theme {
--color-earl-grey: #a6988b;
--color-earl-grey-50: #faf4ee;
--color-earl-grey-100: #eee6df;
--color-earl-grey-200: #dcd2c9;
--color-earl-grey-300: #c0b5aa;
--color-earl-grey-400: #a99c8f;
--color-earl-grey-500: #928375;
--color-earl-grey-600: #7c6f63;
--color-earl-grey-700: #63594f;
--color-earl-grey-800: #49413a;
--color-earl-grey-900: #322d27;
--color-earl-grey-950: #1e1a16;
}SCSS
$earl-grey: #a6988b;
$earl-grey-rgb: 166, 152, 139;
$earl-grey-light: mix(#fff, $earl-grey, 20%);
$earl-grey-dark: mix(#000, $earl-grey, 20%);
.element {
color: $earl-grey;
box-shadow: 0 0 0 2px rgba($earl-grey, 0.35);
}