Najbliższy nazwany kolor · #227C3D
#227C3D
Najbliższy nazwany kolor: Pharmaceutical Green
#227C3D (rgb(34 124 61), hsl(138 57% 31%), oklch(0.519 0.128 149.3)) jest najbliższy nazwanemu kolorowi Pharmaceutical Green. Zobacz odcienie, harmonie, kontrast WCAG i APCA oraz kod CSS, Tailwind v4 i SCSS.
#227C3D
oklch(0.519 0.128 149.3)
Konwersje koloru
- HEX
- #227c3d
- RGB
- rgb(34 124 61)
- HSL
- hsl(138 57% 31%)
- HWB
- hwb(138 13% 51%)
- OKLCH
- oklch(0.519 0.128 149.3)
- OKLab
- oklab(0.519 -0.11 0.065)
- CIE Lab
- lab(45.75 -38.31 26.32)
- LCH
- lch(45.75 46.48 145.5)
- CMYK
- cmyk(73% 0% 51% 51%)
Odcienie jaśniejsze · Odcienie ciemniejsze · Tony
Odcienie jaśniejsze
- 3E8950
- 559662
- 6BA375
- 80B088
- 95BD9B
- AACAAF
- BFD7C2
- D4E4D6
- E9F2EA
Odcienie ciemniejsze
- 1C6B34
- 165A2B
- 114A22
- 0B3B1A
- 072C12
- 031E0A
- 011104
- 000501
- 000100
Tony
- 317D44
- 3D7D4C
- 477E52
- 517F59
- 597F60
- 627F66
- 6A806D
- 718073
- 79807A
Harmonie kolorów
Komplementarna +180°
- 227C3D
Pharmaceutical Green
- 904A8C
≈ Pickled Plum
Analogowa -30° +30°
- 227C3D
Pharmaceutical Green
- 617200
≈ Topiary Green
- 007A6A
≈ Shady Glade
Triada +120° +240°
- 227C3D
Pharmaceutical Green
- 4B62B2
≈ Kakitsubata Blue
- A5473B
≈ Rusty Sword
Komplementarna rozszczepiona +150° +210°
- 227C3D
Pharmaceutical Green
- 7455A7
≈ Prophet Violet
- A14466
≈ Ancient Fuchsia
Tetrada +90° +180° +270°
- 227C3D
Pharmaceutical Green
- 0070A4
≈ Cat’s Purr
- 904A8C
≈ Pickled Plum
- 9B5400
≈ Charlie Brown
Kontrast i dostępność
Ag
AANa bieli
WCAG 5.22:1 · APCA Lc 76
Ag
FailNa czerni
WCAG 4.01:1 · APCA Lc 26
Najlepszy kolor tekstu: #FFFFFF
WCAG 5.22:1 (AA) · APCA Lc 76
Contrast pairs
Fragmenty kodu
CSS
:root {
--pharmaceutical-green: #227c3d;
--pharmaceutical-green-rgb: 34 124 61;
--pharmaceutical-green-oklch: oklch(0.519 0.128 149.3);
}
.element {
color: var(--pharmaceutical-green);
background-color: hsl(138 57% 31%);
border-color: oklch(0.519 0.128 149.3);
}Tailwind CSS v4
@theme {
--color-pharmaceutical-green: #227c3d;
--color-pharmaceutical-green-50: #dcffe3;
--color-pharmaceutical-green-100: #caf5d3;
--color-pharmaceutical-green-200: #ace4b9;
--color-pharmaceutical-green-300: #85ca96;
--color-pharmaceutical-green-400: #63b374;
--color-pharmaceutical-green-500: #3b9d55;
--color-pharmaceutical-green-600: #338548;
--color-pharmaceutical-green-700: #296a3a;
--color-pharmaceutical-green-800: #1f4e27;
--color-pharmaceutical-green-900: #14361a;
--color-pharmaceutical-green-950: #05210a;
}SCSS
$pharmaceutical-green: #227c3d;
$pharmaceutical-green-rgb: 34, 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);
}