Nearest named color · #1E7C3B
#1E7C3B
Nearest named color: Pharmaceutical Green
#1E7C3B (rgb(30 124 59), hsl(139 61% 30%), oklch(0.517 0.131 149.1)) is closest to the named color Pharmaceutical Green. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#1E7C3B
oklch(0.517 0.131 149.1)
Color conversions
- HEX
- #1e7c3b
- RGB
- rgb(30 124 59)
- HSL
- hsl(139 61% 30%)
- HWB
- hwb(139 12% 51%)
- OKLCH
- oklch(0.517 0.131 149.1)
- OKLab
- oklab(0.517 -0.113 0.067)
- CIE Lab
- lab(45.64 -39.26 27.21)
- LCH
- lch(45.64 47.77 145.3)
- CMYK
- cmyk(76% 0% 52% 51%)
Tints · Shades · Tones
Tints
- 3C894E
- 539661
- 69A374
- 7FB087
- 94BD9A
- A9CAAE
- BED7C2
- D4E4D6
- E9F2EA
Shades
- 196B32
- 135A29
- 0E4A21
- 093B19
- 052C11
- 031E09
- 011104
- 000501
- 000100
Tones
- 2F7D43
- 3B7D4A
- 467E51
- 507F58
- 597F5F
- 617F66
- 69806C
- 718073
- 79807A
Color harmonies
Complementary +180°
- 1E7C3B
Pharmaceutical Green
- 90498D
≈ Pickled Plum
Analogous -30° +30°
- 1E7C3B
Pharmaceutical Green
- 617100
≈ Brownish Green
- 007969
≈ Shady Glade
Triadic +120° +240°
- 1E7C3B
Pharmaceutical Green
- 4A62B3
≈ Kakitsubata Blue
- A64539
≈ Red Revival
Split-complementary +150° +210°
- 1E7C3B
Pharmaceutical Green
- 7454A8
≈ Royal Lavender
- A14266
≈ Ancient Fuchsia
Tetradic +90° +180° +270°
- 1E7C3B
Pharmaceutical Green
- 0070A3
≈ Cat’s Purr
- 90498D
≈ Pickled Plum
- 9A5300
≈ Charlie Brown
Contrast & accessibility
Ag
AAOn white
WCAG 5.24:1 · APCA Lc 76
Ag
FailOn black
WCAG 4.00:1 · APCA Lc 26
Best text color: #FFFFFF
WCAG 5.24:1 (AA) · APCA Lc 76
Contrast pairs
Code snippets
CSS
:root {
--pharmaceutical-green: #1e7c3b;
--pharmaceutical-green-rgb: 30 124 59;
--pharmaceutical-green-oklch: oklch(0.517 0.131 149.1);
}
.element {
color: var(--pharmaceutical-green);
background-color: hsl(139 61% 30%);
border-color: oklch(0.517 0.131 149.1);
}Tailwind CSS v4
@theme {
--color-pharmaceutical-green: #1e7c3b;
--color-pharmaceutical-green-50: #dbffe2;
--color-pharmaceutical-green-100: #c9f5d2;
--color-pharmaceutical-green-200: #abe5b8;
--color-pharmaceutical-green-300: #84cb95;
--color-pharmaceutical-green-400: #62b473;
--color-pharmaceutical-green-500: #389d53;
--color-pharmaceutical-green-600: #318547;
--color-pharmaceutical-green-700: #276b38;
--color-pharmaceutical-green-800: #1e4e26;
--color-pharmaceutical-green-900: #133619;
--color-pharmaceutical-green-950: #05210a;
}SCSS
$pharmaceutical-green: #1e7c3b;
$pharmaceutical-green-rgb: 30, 124, 59;
$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);
}