Nearest named color · #217C3A
#217C3A
Nearest named color: Pharmaceutical Green
#217C3A (rgb(33 124 58), hsl(136 58% 31%), oklch(0.518 0.131 148.4)) is closest to the named color Pharmaceutical Green. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#217C3A
oklch(0.518 0.131 148.4)
Color conversions
- HEX
- #217c3a
- RGB
- rgb(33 124 58)
- HSL
- hsl(136 58% 31%)
- HWB
- hwb(136 13% 51%)
- OKLCH
- oklch(0.518 0.131 148.4)
- OKLab
- oklab(0.518 -0.112 0.069)
- CIE Lab
- lab(45.69 -38.86 27.82)
- LCH
- lch(45.69 47.79 144.4)
- CMYK
- cmyk(73% 0% 53% 51%)
Tints · Shades · Tones
Tints
- 3D894D
- 559660
- 6AA373
- 80B086
- 95BD9A
- AACAAE
- BFD7C2
- D4E4D6
- E9F2EA
Shades
- 1B6B31
- 165A28
- 104A20
- 0B3B18
- 062C10
- 031E09
- 011104
- 000501
- 000100
Tones
- 307D42
- 3C7D49
- 477E51
- 507F58
- 597F5F
- 627F65
- 69806C
- 718073
- 798079
Color harmonies
Complementary +180°
- 217C3A
Pharmaceutical Green
- 90498D
≈ Pickled Plum
Analogous -30° +30°
- 217C3A
Pharmaceutical Green
- 627100
≈ Brownish Green
- 007A69
≈ Shady Glade
Triadic +120° +240°
- 217C3A
Pharmaceutical Green
- 4962B3
≈ Kakitsubata Blue
- A6453B
≈ Red Revival
Split-complementary +150° +210°
- 217C3A
Pharmaceutical Green
- 7354A9
≈ Royal Lavender
- A14367
≈ Ancient Fuchsia
Tetradic +90° +180° +270°
- 217C3A
Pharmaceutical Green
- 0070A3
≈ Cat’s Purr
- 90498D
≈ Pickled Plum
- 9B5300
≈ Charlie Brown
Contrast & accessibility
Ag
AAOn white
WCAG 5.23:1 · APCA Lc 76
Ag
FailOn black
WCAG 4.00:1 · APCA Lc 26
Best text color: #FFFFFF
WCAG 5.23:1 (AA) · APCA Lc 76
Contrast pairs
Code snippets
CSS
:root {
--pharmaceutical-green: #217c3a;
--pharmaceutical-green-rgb: 33 124 58;
--pharmaceutical-green-oklch: oklch(0.518 0.131 148.4);
}
.element {
color: var(--pharmaceutical-green);
background-color: hsl(136 58% 31%);
border-color: oklch(0.518 0.131 148.4);
}Tailwind CSS v4
@theme {
--color-pharmaceutical-green: #217c3a;
--color-pharmaceutical-green-50: #dbffe2;
--color-pharmaceutical-green-100: #c9f5d2;
--color-pharmaceutical-green-200: #ace5b7;
--color-pharmaceutical-green-300: #85cb94;
--color-pharmaceutical-green-400: #63b472;
--color-pharmaceutical-green-500: #3a9d52;
--color-pharmaceutical-green-600: #338546;
--color-pharmaceutical-green-700: #296a38;
--color-pharmaceutical-green-800: #1f4e25;
--color-pharmaceutical-green-900: #143619;
--color-pharmaceutical-green-950: #052109;
}SCSS
$pharmaceutical-green: #217c3a;
$pharmaceutical-green-rgb: 33, 124, 58;
$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);
}