Nearest named color · #1C7C32
#1C7C32
Nearest named color: Pharmaceutical Green
#1C7C32 (rgb(28 124 50), hsl(134 63% 30%), oklch(0.516 0.14 146.8)) is closest to the named color Pharmaceutical Green. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#1C7C32
oklch(0.516 0.14 146.8)
Color conversions
- HEX
- #1c7c32
- RGB
- rgb(28 124 50)
- HSL
- hsl(134 63% 30%)
- HWB
- hwb(134 11% 51%)
- OKLCH
- oklch(0.516 0.14 146.8)
- OKLab
- oklab(0.516 -0.117 0.077)
- CIE Lab
- lab(45.5 -40.6 31.61)
- LCH
- lch(45.5 51.46 142.1)
- CMYK
- cmyk(77% 0% 60% 51%)
Tints · Shades · Tones
Tints
- 3A8947
- 52965B
- 69A36F
- 7EB083
- 94BD97
- A9CAAB
- BED7C0
- D4E4D4
- E9F2EA
Shades
- 176B2A
- 125A22
- 0D4A1B
- 083B14
- 052C0D
- 021E07
- 011103
- 000501
- 000100
Tones
- 2D7D3B
- 3A7E44
- 457E4C
- 4F7F54
- 587F5C
- 618063
- 69806A
- 718072
- 788079
Color harmonies
Complementary +180°
- 1C7C32
Pharmaceutical Green
- 904691
≈ Dahlia
Analogous -30° +30°
- 1C7C32
Pharmaceutical Green
- 647000
≈ Brownish Green
- 007966
≈ Shady Glade
Triadic +120° +240°
- 1C7C32
Pharmaceutical Green
- 4361B7
≈ Kakitsubata Blue
- A94039
≈ Rum Punch
Split-complementary +150° +210°
- 1C7C32
Pharmaceutical Green
- 7152AD
≈ Royal Lavender
- A33E69
≈ Valentine’s Day
Tetradic +90° +180° +270°
- 1C7C32
Pharmaceutical Green
- 00709F
≈ Cat’s Purr
- 904691
≈ Dahlia
- 9C5100
≈ Fresh Cinnamon
Contrast & accessibility
Ag
AAOn white
WCAG 5.27:1 · APCA Lc 76
Ag
FailOn black
WCAG 3.97:1 · APCA Lc 26
Best text color: #FFFFFF
WCAG 5.27:1 (AA) · APCA Lc 76
Contrast pairs
Code snippets
CSS
:root {
--pharmaceutical-green: #1c7c32;
--pharmaceutical-green-rgb: 28 124 50;
--pharmaceutical-green-oklch: oklch(0.516 0.14 146.8);
}
.element {
color: var(--pharmaceutical-green);
background-color: hsl(134 63% 30%);
border-color: oklch(0.516 0.14 146.8);
}Tailwind CSS v4
@theme {
--color-pharmaceutical-green: #1c7c32;
--color-pharmaceutical-green-50: #dbffe0;
--color-pharmaceutical-green-100: #c8f6cf;
--color-pharmaceutical-green-200: #abe5b4;
--color-pharmaceutical-green-300: #83cb90;
--color-pharmaceutical-green-400: #61b46c;
--color-pharmaceutical-green-500: #379e4a;
--color-pharmaceutical-green-600: #308640;
--color-pharmaceutical-green-700: #266b32;
--color-pharmaceutical-green-800: #1d4f21;
--color-pharmaceutical-green-900: #133716;
--color-pharmaceutical-green-950: #052107;
}SCSS
$pharmaceutical-green: #1c7c32;
$pharmaceutical-green-rgb: 28, 124, 50;
$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);
}