Nearest named color · #1B7C31
#1B7C31
Nearest named color: Pharmaceutical Green
#1B7C31 (rgb(27 124 49), hsl(134 64% 30%), oklch(0.515 0.141 146.7)) is closest to the named color Pharmaceutical Green. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#1B7C31
oklch(0.515 0.141 146.7)
Color conversions
- HEX
- #1b7c31
- RGB
- rgb(27 124 49)
- HSL
- hsl(134 64% 30%)
- HWB
- hwb(134 11% 51%)
- OKLCH
- oklch(0.515 0.141 146.7)
- OKLab
- oklab(0.515 -0.118 0.078)
- CIE Lab
- lab(45.47 -40.87 32.06)
- LCH
- lch(45.47 51.94 141.9)
- CMYK
- cmyk(78% 0% 60% 51%)
Tints · Shades · Tones
Tints
- 3A8946
- 52965A
- 68A36E
- 7EB082
- 93BD96
- A9CAAB
- BED7BF
- D3E4D4
- E9F2EA
Shades
- 166B29
- 115A22
- 0C4A1A
- 083B13
- 052C0C
- 021E06
- 011103
- 000501
- 000100
Tones
- 2D7D3A
- 3A7E43
- 457E4C
- 4F7F53
- 587F5B
- 608063
- 69806A
- 718072
- 788079
Color harmonies
Complementary +180°
- 1B7C31
Pharmaceutical Green
- 904691
≈ Dahlia
Analogous -30° +30°
- 1B7C31
Pharmaceutical Green
- 646F00
≈ Brownish Green
- 007966
≈ Shady Glade
Triadic +120° +240°
- 1B7C31
Pharmaceutical Green
- 4261B8
≈ Kakitsubata Blue
- AA3F39
≈ Rum Punch
Split-complementary +150° +210°
- 1B7C31
Pharmaceutical Green
- 7152AE
≈ Royal Lavender
- A33E69
≈ Valentine’s Day
Tetradic +90° +180° +270°
- 1B7C31
Pharmaceutical Green
- 00709F
≈ Cat’s Purr
- 904691
≈ Dahlia
- 9C5100
≈ Fresh Cinnamon
Contrast & accessibility
Ag
AAOn white
WCAG 5.28:1 · APCA Lc 76
Ag
FailOn black
WCAG 3.97:1 · APCA Lc 26
Best text color: #FFFFFF
WCAG 5.28:1 (AA) · APCA Lc 76
Contrast pairs
Code snippets
CSS
:root {
--pharmaceutical-green: #1b7c31;
--pharmaceutical-green-rgb: 27 124 49;
--pharmaceutical-green-oklch: oklch(0.515 0.141 146.7);
}
.element {
color: var(--pharmaceutical-green);
background-color: hsl(134 64% 30%);
border-color: oklch(0.515 0.141 146.7);
}Tailwind CSS v4
@theme {
--color-pharmaceutical-green: #1b7c31;
--color-pharmaceutical-green-50: #daffdf;
--color-pharmaceutical-green-100: #c8f6ce;
--color-pharmaceutical-green-200: #aae6b3;
--color-pharmaceutical-green-300: #83cc8f;
--color-pharmaceutical-green-400: #61b56b;
--color-pharmaceutical-green-500: #369e49;
--color-pharmaceutical-green-600: #30863f;
--color-pharmaceutical-green-700: #266b32;
--color-pharmaceutical-green-800: #1d4f20;
--color-pharmaceutical-green-900: #133715;
--color-pharmaceutical-green-950: #052107;
}SCSS
$pharmaceutical-green: #1b7c31;
$pharmaceutical-green-rgb: 27, 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);
}