Nearest named color · #1A7C3D
#1A7C3D
Nearest named color: Pharmaceutical Green
#1A7C3D (rgb(26 124 61), hsl(141 65% 29%), oklch(0.517 0.13 150.2)) is closest to the named color Pharmaceutical Green. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#1A7C3D
oklch(0.517 0.13 150.2)
Color conversions
- HEX
- #1a7c3d
- RGB
- rgb(26 124 61)
- HSL
- hsl(141 65% 29%)
- HWB
- hwb(141 10% 51%)
- OKLCH
- oklch(0.517 0.13 150.2)
- OKLab
- oklab(0.517 -0.113 0.065)
- CIE Lab
- lab(45.58 -39.64 26.06)
- LCH
- lch(45.58 47.44 146.7)
- CMYK
- cmyk(79% 0% 51% 51%)
Tints · Shades · Tones
Tints
- 3A8950
- 529662
- 68A375
- 7EB088
- 93BD9B
- A9CAAF
- BED7C2
- D4E4D6
- E9F2EA
Shades
- 156B34
- 105A2B
- 0C4A22
- 073B1A
- 042C12
- 021E0A
- 011104
- 000501
- 000100
Tones
- 2C7D44
- 397D4C
- 457E52
- 4F7F59
- 587F60
- 617F66
- 69806D
- 718073
- 78807A
Color harmonies
Complementary +180°
- 1A7C3D
Pharmaceutical Green
- 91488B
≈ Pickled Plum
Analogous -30° +30°
- 1A7C3D
Pharmaceutical Green
- 5F7200
≈ Topiary Green
- 00796A
≈ Shady Glade
Triadic +120° +240°
- 1A7C3D
Pharmaceutical Green
- 4C61B2
≈ Chinese Bellflower
- A64538
≈ Red Revival
Split-complementary +150° +210°
- 1A7C3D
Pharmaceutical Green
- 7553A7
≈ Royal Lavender
- A14265
≈ Gooseberry
Tetradic +90° +180° +270°
- 1A7C3D
Pharmaceutical Green
- 006FA5
≈ Bowen Blue
- 91488B
≈ Pickled Plum
- 995400
≈ Charlie Brown
Contrast & accessibility
Ag
AAOn white
WCAG 5.25:1 · APCA Lc 76
Ag
FailOn black
WCAG 3.99:1 · APCA Lc 26
Best text color: #FFFFFF
WCAG 5.25:1 (AA) · APCA Lc 76
Contrast pairs
Code snippets
CSS
:root {
--pharmaceutical-green: #1a7c3d;
--pharmaceutical-green-rgb: 26 124 61;
--pharmaceutical-green-oklch: oklch(0.517 0.13 150.2);
}
.element {
color: var(--pharmaceutical-green);
background-color: hsl(141 65% 29%);
border-color: oklch(0.517 0.13 150.2);
}Tailwind CSS v4
@theme {
--color-pharmaceutical-green: #1a7c3d;
--color-pharmaceutical-green-50: #daffe3;
--color-pharmaceutical-green-100: #c8f5d3;
--color-pharmaceutical-green-200: #aae5b9;
--color-pharmaceutical-green-300: #82cb97;
--color-pharmaceutical-green-400: #60b475;
--color-pharmaceutical-green-500: #359d56;
--color-pharmaceutical-green-600: #2f8549;
--color-pharmaceutical-green-700: #256b3a;
--color-pharmaceutical-green-800: #1c4e27;
--color-pharmaceutical-green-900: #13361a;
--color-pharmaceutical-green-950: #04210b;
}SCSS
$pharmaceutical-green: #1a7c3d;
$pharmaceutical-green-rgb: 26, 124, 61;
$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);
}