Nearest named color · #277B3C
#277B3C
Nearest named color: Pharmaceutical Green
#277B3C (rgb(39 123 60), hsl(135 52% 32%), oklch(0.517 0.125 148.3)) is closest to the named color Pharmaceutical Green. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#277B3C
oklch(0.517 0.125 148.3)
Color conversions
- HEX
- #277b3c
- RGB
- rgb(39 123 60)
- HSL
- hsl(135 52% 32%)
- HWB
- hwb(135 15% 52%)
- OKLCH
- oklch(0.517 0.125 148.3)
- OKLab
- oklab(0.517 -0.107 0.066)
- CIE Lab
- lab(45.53 -37.08 26.61)
- LCH
- lch(45.53 45.64 144.3)
- CMYK
- cmyk(68% 0% 51% 52%)
Tints · Shades · Tones
Tints
- 41884F
- 579562
- 6CA274
- 81AF87
- 96BC9B
- ABC9AE
- C0D7C2
- D4E4D6
- EAF1EA
Shades
- 206A33
- 1A5A2A
- 144A21
- 0E3A19
- 082C11
- 041E0A
- 021004
- 010501
- 000100
Tones
- 347C44
- 3F7D4B
- 497D52
- 527E59
- 5A7E5F
- 627F66
- 6A7F6D
- 728073
- 79807A
Color harmonies
Complementary +180°
- 277B3C
Pharmaceutical Green
- 8E4B8C
≈ Cosmic Berry
Analogous -30° +30°
- 277B3C
Pharmaceutical Green
- 627100
≈ Brownish Green
- 007968
≈ Shady Glade
Triadic +120° +240°
- 277B3C
Pharmaceutical Green
- 4A63B0
≈ Kakitsubata Blue
- A4473D
≈ Rusty Sword
Split-complementary +150° +210°
- 277B3C
Pharmaceutical Green
- 7255A6
≈ Prophet Violet
- 9F4567
≈ Ancient Fuchsia
Tetradic +90° +180° +270°
- 277B3C
Pharmaceutical Green
- 0070A2
≈ Cat’s Purr
- 8E4B8C
≈ Cosmic Berry
- 9B5300
≈ 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: #277b3c;
--pharmaceutical-green-rgb: 39 123 60;
--pharmaceutical-green-oklch: oklch(0.517 0.125 148.3);
}
.element {
color: var(--pharmaceutical-green);
background-color: hsl(135 52% 32%);
border-color: oklch(0.517 0.125 148.3);
}Tailwind CSS v4
@theme {
--color-pharmaceutical-green: #277b3c;
--color-pharmaceutical-green-50: #ddffe3;
--color-pharmaceutical-green-100: #cbf4d2;
--color-pharmaceutical-green-200: #aee4b9;
--color-pharmaceutical-green-300: #87ca96;
--color-pharmaceutical-green-400: #67b374;
--color-pharmaceutical-green-500: #409c54;
--color-pharmaceutical-green-600: #378448;
--color-pharmaceutical-green-700: #2c6a39;
--color-pharmaceutical-green-800: #214e27;
--color-pharmaceutical-green-900: #16361a;
--color-pharmaceutical-green-950: #07210a;
}SCSS
$pharmaceutical-green: #277b3c;
$pharmaceutical-green-rgb: 39, 123, 60;
$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);
}