Nearest named color · #217C35
#217C35
Nearest named color: Pharmaceutical Green
#217C35 (rgb(33 124 53), hsl(133 58% 31%), oklch(0.517 0.136 147)) is closest to the named color Pharmaceutical Green. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#217C35
oklch(0.517 0.136 147)
Color conversions
- HEX
- #217c35
- RGB
- rgb(33 124 53)
- HSL
- hsl(133 58% 31%)
- HWB
- hwb(133 13% 51%)
- OKLCH
- oklch(0.517 0.136 147)
- OKLab
- oklab(0.517 -0.114 0.074)
- CIE Lab
- lab(45.64 -39.43 30.32)
- LCH
- lch(45.64 49.73 142.4)
- CMYK
- cmyk(73% 0% 57% 51%)
Tints · Shades · Tones
Tints
- 3D8949
- 55965D
- 6AA370
- 80B084
- 95BD98
- AACAAC
- BFD7C0
- D4E4D5
- E9F2EA
Shades
- 1B6B2D
- 165A25
- 104A1D
- 0B3B15
- 062C0E
- 031E08
- 011103
- 000501
- 000100
Tones
- 307D3E
- 3C7D46
- 477E4E
- 507F55
- 597F5D
- 617F64
- 69806B
- 718072
- 798079
Color harmonies
Complementary +180°
- 217C35
Pharmaceutical Green
- 904890
≈ Cosmic Berry
Analogous -30° +30°
- 217C35
Pharmaceutical Green
- 647000
≈ Brownish Green
- 007A67
≈ Ultramarine Green
Triadic +120° +240°
- 217C35
Pharmaceutical Green
- 4562B5
≈ Kakitsubata Blue
- A8423B
≈ Rum Punch
Split-complementary +150° +210°
- 217C35
Pharmaceutical Green
- 7154AC
≈ Royal Lavender
- A24169
≈ Ancient Fuchsia
Tetradic +90° +180° +270°
- 217C35
Pharmaceutical Green
- 0070A0
≈ Cat’s Purr
- 904890
≈ Cosmic Berry
- 9C5200
≈ Fresh Cinnamon
Contrast & accessibility
Ag
AAOn white
WCAG 5.25:1 · APCA Lc 76
Ag
FailOn black
WCAG 3.99:1 · APCA Lc 26
Best text color: #FFFFFF
WCAG 5.25:1 (AA) · APCA Lc 76
Contrast pairs
Code snippets
CSS
:root {
--pharmaceutical-green: #217c35;
--pharmaceutical-green-rgb: 33 124 53;
--pharmaceutical-green-oklch: oklch(0.517 0.136 147);
}
.element {
color: var(--pharmaceutical-green);
background-color: hsl(133 58% 31%);
border-color: oklch(0.517 0.136 147);
}Tailwind CSS v4
@theme {
--color-pharmaceutical-green: #217c35;
--color-pharmaceutical-green-50: #dbffe0;
--color-pharmaceutical-green-100: #c9f5d0;
--color-pharmaceutical-green-200: #ace5b5;
--color-pharmaceutical-green-300: #85cb91;
--color-pharmaceutical-green-400: #63b46e;
--color-pharmaceutical-green-500: #3a9d4d;
--color-pharmaceutical-green-600: #338542;
--color-pharmaceutical-green-700: #296b34;
--color-pharmaceutical-green-800: #1f4e22;
--color-pharmaceutical-green-900: #143617;
--color-pharmaceutical-green-950: #052108;
}SCSS
$pharmaceutical-green: #217c35;
$pharmaceutical-green-rgb: 33, 124, 53;
$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);
}