Nearest named color · #287B3C
#287B3C
Nearest named color: Pharmaceutical Green
#287B3C (rgb(40 123 60), hsl(134 51% 32%), oklch(0.517 0.125 148.1)) is closest to the named color Pharmaceutical Green. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#287B3C
oklch(0.517 0.125 148.1)
Color conversions
- HEX
- #287b3c
- RGB
- rgb(40 123 60)
- HSL
- hsl(134 51% 32%)
- HWB
- hwb(134 16% 52%)
- OKLCH
- oklch(0.517 0.125 148.1)
- OKLab
- oklab(0.517 -0.106 0.066)
- CIE Lab
- lab(45.56 -36.87 26.65)
- LCH
- lch(45.56 45.49 144.1)
- CMYK
- cmyk(67% 0% 51% 52%)
Tints · Shades · Tones
Tints
- 41884F
- 589562
- 6DA274
- 82AF87
- 96BC9B
- ABC9AE
- C0D7C2
- D5E4D6
- EAF1EA
Shades
- 216A33
- 1B5A2A
- 154A21
- 0F3A19
- 092C11
- 041E0A
- 021004
- 010501
- 000100
Tones
- 357C44
- 407D4B
- 4A7D52
- 527E59
- 5B7E5F
- 637F66
- 6A7F6D
- 728073
- 79807A
Color harmonies
Complementary +180°
- 287B3C
Pharmaceutical Green
- 8E4B8C
≈ Cosmic Berry
Analogous -30° +30°
- 287B3C
Pharmaceutical Green
- 627100
≈ Brownish Green
- 007A68
≈ Ultramarine Green
Triadic +120° +240°
- 287B3C
Pharmaceutical Green
- 4A63B0
≈ Kakitsubata Blue
- A4473D
≈ Rusty Sword
Split-complementary +150° +210°
- 287B3C
Pharmaceutical Green
- 7256A6
≈ Prophet Violet
- 9F4568
≈ Ancient Fuchsia
Tetradic +90° +180° +270°
- 287B3C
Pharmaceutical Green
- 0070A2
≈ Cat’s Purr
- 8E4B8C
≈ Cosmic Berry
- 9B5300
≈ Charlie Brown
Contrast & accessibility
Ag
AAOn white
WCAG 5.26:1 · APCA Lc 76
Ag
FailOn black
WCAG 3.98:1 · APCA Lc 26
Best text color: #FFFFFF
WCAG 5.26:1 (AA) · APCA Lc 76
Contrast pairs
Code snippets
CSS
:root {
--pharmaceutical-green: #287b3c;
--pharmaceutical-green-rgb: 40 123 60;
--pharmaceutical-green-oklch: oklch(0.517 0.125 148.1);
}
.element {
color: var(--pharmaceutical-green);
background-color: hsl(134 51% 32%);
border-color: oklch(0.517 0.125 148.1);
}Tailwind CSS v4
@theme {
--color-pharmaceutical-green: #287b3c;
--color-pharmaceutical-green-50: #ddffe3;
--color-pharmaceutical-green-100: #cbf4d2;
--color-pharmaceutical-green-200: #aee4b8;
--color-pharmaceutical-green-300: #88ca96;
--color-pharmaceutical-green-400: #67b374;
--color-pharmaceutical-green-500: #419c54;
--color-pharmaceutical-green-600: #388448;
--color-pharmaceutical-green-700: #2d6a39;
--color-pharmaceutical-green-800: #214e27;
--color-pharmaceutical-green-900: #16361a;
--color-pharmaceutical-green-950: #07210a;
}SCSS
$pharmaceutical-green: #287b3c;
$pharmaceutical-green-rgb: 40, 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);
}