Nearest named color · #8BA187
#8BA187
Nearest named color: Basil
#8BA187 (rgb(139 161 135), hsl(111 12% 58%), oklch(0.684 0.045 140.8)) is closest to the named color Basil. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#8BA187
oklch(0.684 0.045 140.8)
Color conversions
- HEX
- #8ba187
- RGB
- rgb(139 161 135)
- HSL
- hsl(111 12% 58%)
- HWB
- hwb(111 53% 37%)
- OKLCH
- oklch(0.684 0.045 140.8)
- OKLab
- oklab(0.684 -0.035 0.028)
- CIE Lab
- lab(63.97 -11.83 10.89)
- LCH
- lch(63.97 16.07 137.4)
- CMYK
- cmyk(14% 0% 16% 37%)
Tints · Shades · Tones
Tints
- 96AA92
- A1B39E
- ADBCAA
- B8C6B6
- C4CFC2
- CFD9CE
- DBE2DA
- E7ECE6
- F3F5F2
Shades
- 788B75
- 667663
- 546251
- 434E41
- 323C31
- 232A21
- 141913
- 070906
- 010101
Tones
- 8A9E86
- 899A86
- 889785
- 879484
- 869084
- 858D83
- 838A82
- 828782
- 818381
Color harmonies
Complementary +180°
- 8BA187
Basil
- A791AB
≈ Uptown Girl
Analogous -30° +30°
- 8BA187
Basil
- 9A9D7D
≈ Fennelly
- 7EA396
≈ Verdigreen
Triadic +120° +240°
- 8BA187
Basil
- 8A9BB6
≈ Forever Blue
- B48F8E
≈ Brandy Snaps
Split-complementary +150° +210°
- 8BA187
Basil
- 9995B4
≈ Tusi Grey
- B08F9D
≈ Mauve Shadows
Tetradic +90° +180° +270°
Contrast & accessibility
Ag
FailOn white
WCAG 2.78:1 · APCA Lc 54
Ag
AAAOn black
WCAG 7.54:1 · APCA Lc 48
Best text color: #000000
WCAG 7.54:1 (AAA) · APCA Lc 48
Contrast pairs
Code snippets
CSS
:root {
--basil: #8ba187;
--basil-rgb: 139 161 135;
--basil-oklch: oklch(0.684 0.045 140.8);
}
.element {
color: var(--basil);
background-color: hsl(111 12% 58%);
border-color: oklch(0.684 0.045 140.8);
}Tailwind CSS v4
@theme {
--color-basil: #8ba187;
--color-basil-50: #eef9ed;
--color-basil-100: #e0ecde;
--color-basil-200: #cadac8;
--color-basil-300: #abbea9;
--color-basil-400: #90a58d;
--color-basil-500: #768e72;
--color-basil-600: #647861;
--color-basil-700: #50604d;
--color-basil-800: #3b4637;
--color-basil-900: #283126;
--color-basil-950: #161d14;
}SCSS
$basil: #8ba187;
$basil-rgb: 139, 161, 135;
$basil-light: mix(#fff, $basil, 20%);
$basil-dark: mix(#000, $basil, 20%);
.element {
color: $basil;
box-shadow: 0 0 0 2px rgba($basil, 0.35);
}