Nearest named color · #1B7C35
#1B7C35
Nearest named color: Pharmaceutical Green
#1B7C35 (rgb(27 124 53), hsl(136 64% 30%), oklch(0.516 0.138 147.7)) is closest to the named color Pharmaceutical Green. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#1B7C35
oklch(0.516 0.138 147.7)
Color conversions
- HEX
- #1b7c35
- RGB
- rgb(27 124 53)
- HSL
- hsl(136 64% 30%)
- HWB
- hwb(136 11% 51%)
- OKLCH
- oklch(0.516 0.138 147.7)
- OKLab
- oklab(0.516 -0.116 0.074)
- CIE Lab
- lab(45.51 -40.44 30.12)
- LCH
- lch(45.51 50.43 143.3)
- CMYK
- cmyk(78% 0% 57% 51%)
Tints · Shades · Tones
Tints
- 3A8949
- 52965D
- 68A370
- 7EB084
- 93BD98
- A9CAAC
- BED7C0
- D4E4D5
- E9F2EA
Shades
- 166B2D
- 115A25
- 0C4A1D
- 083B15
- 052C0E
- 021E08
- 011103
- 000501
- 000100
Tones
- 2D7D3E
- 3A7E46
- 457E4E
- 4F7F55
- 587F5D
- 618064
- 69806B
- 718072
- 788079
Color harmonies
Complementary +180°
- 1B7C35
Pharmaceutical Green
- 90478F
≈ Plum Pie
Analogous -30° +30°
- 1B7C35
Pharmaceutical Green
- 637000
≈ Brownish Green
- 007967
≈ Shady Glade
Triadic +120° +240°
- 1B7C35
Pharmaceutical Green
- 4561B6
≈ Kakitsubata Blue
- A84139
≈ Cherry Race
Split-complementary +150° +210°
- 1B7C35
Pharmaceutical Green
- 7253AC
≈ Royal Lavender
- A33F68
≈ Valentine’s Day
Tetradic +90° +180° +270°
- 1B7C35
Pharmaceutical Green
- 0070A1
≈ Cat’s Purr
- 90478F
≈ Plum Pie
- 9B5200
≈ Charlie Brown
Contrast & accessibility
Ag
AAOn white
WCAG 5.27:1 · APCA Lc 76
Ag
FailOn black
WCAG 3.98:1 · APCA Lc 26
Best text color: #FFFFFF
WCAG 5.27:1 (AA) · APCA Lc 76
Contrast pairs
Code snippets
CSS
:root {
--pharmaceutical-green: #1b7c35;
--pharmaceutical-green-rgb: 27 124 53;
--pharmaceutical-green-oklch: oklch(0.516 0.138 147.7);
}
.element {
color: var(--pharmaceutical-green);
background-color: hsl(136 64% 30%);
border-color: oklch(0.516 0.138 147.7);
}Tailwind CSS v4
@theme {
--color-pharmaceutical-green: #1b7c35;
--color-pharmaceutical-green-50: #daffe1;
--color-pharmaceutical-green-100: #c8f6d0;
--color-pharmaceutical-green-200: #aae5b5;
--color-pharmaceutical-green-300: #83cb91;
--color-pharmaceutical-green-400: #60b46e;
--color-pharmaceutical-green-500: #369e4d;
--color-pharmaceutical-green-600: #308642;
--color-pharmaceutical-green-700: #266b34;
--color-pharmaceutical-green-800: #1d4e23;
--color-pharmaceutical-green-900: #133717;
--color-pharmaceutical-green-950: #052108;
}SCSS
$pharmaceutical-green: #1b7c35;
$pharmaceutical-green-rgb: 27, 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);
}