Nearest named color · #157C39
#157C39
Nearest named color: Pharmaceutical Green
#157C39 (rgb(21 124 57), hsl(141 71% 28%), oklch(0.515 0.136 149.4)) is closest to the named color Pharmaceutical Green. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#157C39
oklch(0.515 0.136 149.4)
Color conversions
- HEX
- #157c39
- RGB
- rgb(21 124 57)
- HSL
- hsl(141 71% 28%)
- HWB
- hwb(141 8% 51%)
- OKLCH
- oklch(0.515 0.136 149.4)
- OKLab
- oklab(0.515 -0.117 0.069)
- CIE Lab
- lab(45.45 -40.82 27.97)
- LCH
- lch(45.45 49.48 145.6)
- CMYK
- cmyk(83% 0% 54% 51%)
Tints · Shades · Tones
Tints
- 37894C
- 50965F
- 67A373
- 7DB086
- 92BD99
- A8CAAD
- BED7C1
- D3E4D6
- E9F2EA
Shades
- 116B30
- 0C5A28
- 084A1F
- 053B17
- 032C10
- 021E09
- 011104
- 000501
- 000100
Tones
- 297D41
- 387E49
- 437E50
- 4D7F57
- 577F5E
- 607F65
- 68806C
- 708073
- 788079
Color harmonies
Complementary +180°
- 157C39
Pharmaceutical Green
- 91478D
≈ Pickled Plum
Analogous -30° +30°
- 157C39
Pharmaceutical Green
- 607100
≈ Brownish Green
- 007969
≈ Shady Glade
Triadic +120° +240°
- 157C39
Pharmaceutical Green
- 4960B5
≈ Chinese Bellflower
- A74336
≈ Cherry Race
Split-complementary +150° +210°
- 157C39
Pharmaceutical Green
- 7452A9
≈ Royal Lavender
- A24065
≈ Gooseberry
Tetradic +90° +180° +270°
- 157C39
Pharmaceutical Green
- 006FA3
≈ Cat’s Purr
- 91478D
≈ Pickled Plum
- 995300
≈ Charlie Brown
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: #157c39;
--pharmaceutical-green-rgb: 21 124 57;
--pharmaceutical-green-oklch: oklch(0.515 0.136 149.4);
}
.element {
color: var(--pharmaceutical-green);
background-color: hsl(141 71% 28%);
border-color: oklch(0.515 0.136 149.4);
}Tailwind CSS v4
@theme {
--color-pharmaceutical-green: #157c39;
--color-pharmaceutical-green-50: #daffe2;
--color-pharmaceutical-green-100: #c8f6d2;
--color-pharmaceutical-green-200: #a9e5b7;
--color-pharmaceutical-green-300: #81cb94;
--color-pharmaceutical-green-400: #5eb472;
--color-pharmaceutical-green-500: #329e52;
--color-pharmaceutical-green-600: #2c8646;
--color-pharmaceutical-green-700: #236b37;
--color-pharmaceutical-green-800: #1b4f25;
--color-pharmaceutical-green-900: #123719;
--color-pharmaceutical-green-950: #042109;
}SCSS
$pharmaceutical-green: #157c39;
$pharmaceutical-green-rgb: 21, 124, 57;
$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);
}