Nearest named color · #40AC89
#40AC89
Nearest named color: Herbal
#40AC89 (rgb(64 172 137), hsl(161 46% 46%), oklch(0.673 0.112 168.1)) is closest to the named color Herbal. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#40AC89
oklch(0.673 0.112 168.1)
Color conversions
- HEX
- #40ac89
- RGB
- rgb(64 172 137)
- HSL
- hsl(161 46% 46%)
- HWB
- hwb(161 25% 33%)
- OKLCH
- oklch(0.673 0.112 168.1)
- OKLab
- oklab(0.673 -0.11 0.023)
- CIE Lab
- lab(63.53 -38.67 8.52)
- LCH
- lch(63.53 39.6 167.6)
- CMYK
- cmyk(63% 0% 20% 33%)
Tints · Shades · Tones
Tints
- 59B494
- 6EBDA0
- 82C5AB
- 94CDB7
- A7D6C2
- B8DECE
- CAE6DA
- DCEEE6
- EDF7F3
Shades
- 369576
- 2D7F64
- 246953
- 1B5442
- 134031
- 0B2D22
- 051B14
- 010B07
- 000101
Tones
- 4BA888
- 54A387
- 5C9F86
- 639B86
- 699685
- 6F9284
- 748E83
- 788982
- 7C8581
Color harmonies
Complementary +180°
- 40AC89
Herbal
- C979A2
≈ Heartbreaker
Analogous -30° +30°
- 40AC89
Herbal
- 73A661
≈ Dull Green
- 12ABAF
≈ Greenland Green
Triadic +120° +240°
- 40AC89
Herbal
- 938AD7
≈ Perrywinkle
- CE8056
≈ Apricot Brown
Split-complementary +150° +210°
- 40AC89
Herbal
- B37FC3
≈ Wisteria
- D2787C
≈ Red Cedar
Tetradic +90° +180° +270°
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 {
--herbal: #40ac89;
--herbal-rgb: 64 172 137;
--herbal-oklch: oklch(0.673 0.112 168.1);
}
.element {
color: var(--herbal);
background-color: hsl(161 46% 46%);
border-color: oklch(0.673 0.112 168.1);
}Tailwind CSS v4
@theme {
--color-herbal: #40ac89;
--color-herbal-50: #d7fff0;
--color-herbal-100: #c4f5e2;
--color-herbal-200: #a4e4cd;
--color-herbal-300: #79caaf;
--color-herbal-400: #51b492;
--color-herbal-500: #0c9d78;
--color-herbal-600: #138566;
--color-herbal-700: #116b51;
--color-herbal-800: #0d4e39;
--color-herbal-900: #083727;
--color-herbal-950: #002115;
}SCSS
$herbal: #40ac89;
$herbal-rgb: 64, 172, 137;
$herbal-light: mix(#fff, $herbal, 20%);
$herbal-dark: mix(#000, $herbal, 20%);
.element {
color: $herbal;
box-shadow: 0 0 0 2px rgba($herbal, 0.35);
}