Najbliższy nazwany kolor · #217C3C
#217C3C
Najbliższy nazwany kolor: Pharmaceutical Green
#217C3C (rgb(33 124 60), hsl(138 58% 31%), oklch(0.518 0.129 149.1)) jest najbliższy nazwanemu kolorowi Pharmaceutical Green. Zobacz odcienie, harmonie, kontrast WCAG i APCA oraz kod CSS, Tailwind v4 i SCSS.
#217C3C
oklch(0.518 0.129 149.1)
Konwersje koloru
- HEX
- #217c3c
- RGB
- rgb(33 124 60)
- HSL
- hsl(138 58% 31%)
- HWB
- hwb(138 13% 51%)
- OKLCH
- oklch(0.518 0.129 149.1)
- OKLab
- oklab(0.518 -0.111 0.066)
- CIE Lab
- lab(45.72 -38.62 26.8)
- LCH
- lch(45.72 47 145.2)
- CMYK
- cmyk(73% 0% 52% 51%)
Odcienie jaśniejsze · Odcienie ciemniejsze · Tony
Odcienie jaśniejsze
- 3D894F
- 559662
- 6AA374
- 80B087
- 95BD9B
- AACAAE
- BFD7C2
- D4E4D6
- E9F2EA
Odcienie ciemniejsze
- 1B6B33
- 165A2A
- 104A21
- 0B3B19
- 062C11
- 031E0A
- 011104
- 000501
- 000100
Tony
- 307D44
- 3C7D4B
- 477E52
- 507F59
- 597F5F
- 627F66
- 6A806D
- 718073
- 79807A
Harmonie kolorów
Komplementarna +180°
- 217C3C
Pharmaceutical Green
- 904A8C
≈ Pickled Plum
Analogowa -30° +30°
- 217C3C
Pharmaceutical Green
- 617100
≈ Brownish Green
- 007A69
≈ Shady Glade
Triada +120° +240°
- 217C3C
Pharmaceutical Green
- 4A62B2
≈ Kakitsubata Blue
- A6463B
≈ Red Revival
Komplementarna rozszczepiona +150° +210°
- 217C3C
Pharmaceutical Green
- 7355A7
≈ Prophet Violet
- A14367
≈ Ancient Fuchsia
Tetrada +90° +180° +270°
- 217C3C
Pharmaceutical Green
- 0070A4
≈ Cat’s Purr
- 904A8C
≈ Pickled Plum
- 9B5400
≈ Charlie Brown
Kontrast i dostępność
Ag
AANa bieli
WCAG 5.23:1 · APCA Lc 76
Ag
FailNa czerni
WCAG 4.01:1 · APCA Lc 26
Najlepszy kolor tekstu: #FFFFFF
WCAG 5.23:1 (AA) · APCA Lc 76
Contrast pairs
Fragmenty kodu
CSS
:root {
--pharmaceutical-green: #217c3c;
--pharmaceutical-green-rgb: 33 124 60;
--pharmaceutical-green-oklch: oklch(0.518 0.129 149.1);
}
.element {
color: var(--pharmaceutical-green);
background-color: hsl(138 58% 31%);
border-color: oklch(0.518 0.129 149.1);
}Tailwind CSS v4
@theme {
--color-pharmaceutical-green: #217c3c;
--color-pharmaceutical-green-50: #dbffe3;
--color-pharmaceutical-green-100: #c9f5d2;
--color-pharmaceutical-green-200: #ace5b8;
--color-pharmaceutical-green-300: #85ca96;
--color-pharmaceutical-green-400: #63b373;
--color-pharmaceutical-green-500: #3a9d54;
--color-pharmaceutical-green-600: #338548;
--color-pharmaceutical-green-700: #296a39;
--color-pharmaceutical-green-800: #1e4e26;
--color-pharmaceutical-green-900: #14361a;
--color-pharmaceutical-green-950: #05210a;
}SCSS
$pharmaceutical-green: #217c3c;
$pharmaceutical-green-rgb: 33, 124, 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);
}