Nearest named color · #1D7C31
#1D7C31
Nearest named color: Pharmaceutical Green
#1D7C31 (rgb(29 124 49), hsl(133 62% 30%), oklch(0.516 0.141 146.5)) is closest to the named color Pharmaceutical Green. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#1D7C31
oklch(0.516 0.141 146.5)
Color conversions
- HEX
- #1d7c31
- RGB
- rgb(29 124 49)
- HSL
- hsl(133 62% 30%)
- HWB
- hwb(133 11% 51%)
- OKLCH
- oklch(0.516 0.141 146.5)
- OKLab
- oklab(0.516 -0.117 0.078)
- CIE Lab
- lab(45.51 -40.54 32.12)
- LCH
- lch(45.51 51.73 141.6)
- CMYK
- cmyk(77% 0% 60% 51%)
Tints · Shades · Tones
Tints
- 3B8946
- 53965A
- 69A36E
- 7EB082
- 94BD96
- A9CAAB
- BED7BF
- D4E4D4
- E9F2EA
Shades
- 186B29
- 135A22
- 0E4A1A
- 093B13
- 052C0C
- 031E06
- 011103
- 000501
- 000100
Tones
- 2E7D3A
- 3B7E43
- 457E4C
- 4F7F54
- 587F5B
- 618063
- 69806A
- 718072
- 798079
Color harmonies
Complementary +180°
- 1D7C31
Pharmaceutical Green
- 904692
≈ Murasaki Purple
Analogous -30° +30°
- 1D7C31
Pharmaceutical Green
- 646F00
≈ Brownish Green
- 007966
≈ Shady Glade
Triadic +120° +240°
- 1D7C31
Pharmaceutical Green
- 4262B8
≈ Kakitsubata Blue
- AA403A
≈ Rum Punch
Split-complementary +150° +210°
- 1D7C31
Pharmaceutical Green
- 7152AE
≈ Royal Lavender
- A33E6A
≈ Valentine’s Day
Tetradic +90° +180° +270°
- 1D7C31
Pharmaceutical Green
- 00709F
≈ Cat’s Purr
- 904692
≈ Murasaki Purple
- 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: #1d7c31;
--pharmaceutical-green-rgb: 29 124 49;
--pharmaceutical-green-oklch: oklch(0.516 0.141 146.5);
}
.element {
color: var(--pharmaceutical-green);
background-color: hsl(133 62% 30%);
border-color: oklch(0.516 0.141 146.5);
}Tailwind CSS v4
@theme {
--color-pharmaceutical-green: #1d7c31;
--color-pharmaceutical-green-50: #dbffdf;
--color-pharmaceutical-green-100: #c9f6ce;
--color-pharmaceutical-green-200: #abe5b3;
--color-pharmaceutical-green-300: #83cb8f;
--color-pharmaceutical-green-400: #61b46b;
--color-pharmaceutical-green-500: #379e49;
--color-pharmaceutical-green-600: #31863f;
--color-pharmaceutical-green-700: #276b32;
--color-pharmaceutical-green-800: #1e4e20;
--color-pharmaceutical-green-900: #143715;
--color-pharmaceutical-green-950: #052107;
}SCSS
$pharmaceutical-green: #1d7c31;
$pharmaceutical-green-rgb: 29, 124, 49;
$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);
}