Nearest named color · #1B7C34
#1B7C34
Nearest named color: Pharmaceutical Green
#1B7C34 (rgb(27 124 52), hsl(135 64% 30%), oklch(0.516 0.139 147.4)) is closest to the named color Pharmaceutical Green. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#1B7C34
oklch(0.516 0.139 147.4)
Color conversions
- HEX
- #1b7c34
- RGB
- rgb(27 124 52)
- HSL
- hsl(135 64% 30%)
- HWB
- hwb(135 11% 51%)
- OKLCH
- oklch(0.516 0.139 147.4)
- OKLab
- oklab(0.516 -0.117 0.075)
- CIE Lab
- lab(45.5 -40.55 30.61)
- LCH
- lch(45.5 50.81 142.9)
- CMYK
- cmyk(78% 0% 58% 51%)
Tints · Shades · Tones
Tints
- 3A8948
- 52965C
- 68A370
- 7EB084
- 93BD97
- A9CAAC
- BED7C0
- D4E4D5
- E9F2EA
Shades
- 166B2C
- 115A24
- 0C4A1C
- 083B15
- 052C0E
- 021E07
- 011103
- 000501
- 000100
Tones
- 2D7D3D
- 3A7E45
- 457E4D
- 4F7F55
- 587F5C
- 618064
- 69806B
- 718072
- 788079
Color harmonies
Complementary +180°
- 1B7C34
Pharmaceutical Green
- 904690
≈ Plum Pie
Analogous -30° +30°
- 1B7C34
Pharmaceutical Green
- 637000
≈ Brownish Green
- 007967
≈ Shady Glade
Triadic +120° +240°
- 1B7C34
Pharmaceutical Green
- 4561B7
≈ Kakitsubata Blue
- A94139
≈ Rum Punch
Split-complementary +150° +210°
- 1B7C34
Pharmaceutical Green
- 7252AC
≈ Royal Lavender
- A33F68
≈ Valentine’s Day
Tetradic +90° +180° +270°
- 1B7C34
Pharmaceutical Green
- 0070A0
≈ Cat’s Purr
- 904690
≈ Plum Pie
- 9B5200
≈ Charlie Brown
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: #1b7c34;
--pharmaceutical-green-rgb: 27 124 52;
--pharmaceutical-green-oklch: oklch(0.516 0.139 147.4);
}
.element {
color: var(--pharmaceutical-green);
background-color: hsl(135 64% 30%);
border-color: oklch(0.516 0.139 147.4);
}Tailwind CSS v4
@theme {
--color-pharmaceutical-green: #1b7c34;
--color-pharmaceutical-green-50: #daffe0;
--color-pharmaceutical-green-100: #c8f6cf;
--color-pharmaceutical-green-200: #aae5b5;
--color-pharmaceutical-green-300: #83cb91;
--color-pharmaceutical-green-400: #60b46d;
--color-pharmaceutical-green-500: #369e4c;
--color-pharmaceutical-green-600: #308641;
--color-pharmaceutical-green-700: #266b34;
--color-pharmaceutical-green-800: #1d4f22;
--color-pharmaceutical-green-900: #133717;
--color-pharmaceutical-green-950: #052108;
}SCSS
$pharmaceutical-green: #1b7c34;
$pharmaceutical-green-rgb: 27, 124, 52;
$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);
}