Nearest named color · #217C3E
#217C3E
Nearest named color: Pharmaceutical Green
#217C3E (rgb(33 124 62), hsl(139 58% 31%), oklch(0.519 0.127 149.7)) is closest to the named color Pharmaceutical Green. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#217C3E
oklch(0.519 0.127 149.7)
Color conversions
- HEX
- #217c3e
- RGB
- rgb(33 124 62)
- HSL
- hsl(139 58% 31%)
- HWB
- hwb(139 13% 51%)
- OKLCH
- oklch(0.519 0.127 149.7)
- OKLab
- oklab(0.519 -0.11 0.064)
- CIE Lab
- lab(45.74 -38.37 25.77)
- LCH
- lch(45.74 46.22 146.1)
- CMYK
- cmyk(73% 0% 50% 51%)
Tints · Shades · Tones
Tints
- 3D8951
- 559663
- 6BA376
- 80B089
- 95BD9C
- AACAAF
- BFD7C3
- D4E4D6
- E9F2EB
Shades
- 1B6B35
- 165A2B
- 104A23
- 0B3B1A
- 062C12
- 031E0A
- 011104
- 000501
- 000100
Tones
- 307D45
- 3D7D4C
- 477E53
- 507F5A
- 597F60
- 627F67
- 6A806D
- 718073
- 79807A
Color harmonies
Complementary +180°
- 217C3E
Pharmaceutical Green
- 904A8B
≈ Pickled Plum
Analogous -30° +30°
- 217C3E
Pharmaceutical Green
- 607200
≈ Topiary Green
- 007A6A
≈ Shady Glade
Triadic +120° +240°
- 217C3E
Pharmaceutical Green
- 4C62B1
≈ Kakitsubata Blue
- A5473A
≈ Rusty Sword
Split-complementary +150° +210°
- 217C3E
Pharmaceutical Green
- 7455A6
≈ Prophet Violet
- A14466
≈ Ancient Fuchsia
Tetradic +90° +180° +270°
- 217C3E
Pharmaceutical Green
- 0070A5
≈ Quarterdeck
- 904A8B
≈ Pickled Plum
- 9A5400
≈ Charlie Brown
Contrast & accessibility
Ag
AAOn white
WCAG 5.22:1 · APCA Lc 76
Ag
FailOn black
WCAG 4.01:1 · APCA Lc 26
Best text color: #FFFFFF
WCAG 5.22:1 (AA) · APCA Lc 76
Contrast pairs
Code snippets
CSS
:root {
--pharmaceutical-green: #217c3e;
--pharmaceutical-green-rgb: 33 124 62;
--pharmaceutical-green-oklch: oklch(0.519 0.127 149.7);
}
.element {
color: var(--pharmaceutical-green);
background-color: hsl(139 58% 31%);
border-color: oklch(0.519 0.127 149.7);
}Tailwind CSS v4
@theme {
--color-pharmaceutical-green: #217c3e;
--color-pharmaceutical-green-50: #dbffe3;
--color-pharmaceutical-green-100: #c9f5d3;
--color-pharmaceutical-green-200: #ace4b9;
--color-pharmaceutical-green-300: #85ca97;
--color-pharmaceutical-green-400: #63b375;
--color-pharmaceutical-green-500: #3a9d56;
--color-pharmaceutical-green-600: #338549;
--color-pharmaceutical-green-700: #286a3a;
--color-pharmaceutical-green-800: #1e4e27;
--color-pharmaceutical-green-900: #14361a;
--color-pharmaceutical-green-950: #05210b;
}SCSS
$pharmaceutical-green: #217c3e;
$pharmaceutical-green-rgb: 33, 124, 62;
$pharmaceutical-green-light: mix(#fff, $pharmaceutical-green, 20%);
$pharmaceutical-green-dark: mix(#000, $pharmaceutical-green, 20%);
.element {
color: $pharmaceutical-green;
box-shadow: 0 0 0 2px rgba($pharmaceutical-green, 0.35);
}