Najbliższy nazwany kolor · #2F8615
#2F8615
Najbliższy nazwany kolor: Green Bell Pepper
#2F8615 (rgb(47 134 21), hsl(106 73% 30%), oklch(0.546 0.165 140)) jest najbliższy nazwanemu kolorowi Green Bell Pepper. Zobacz odcienie, harmonie, kontrast WCAG i APCA oraz kod CSS, Tailwind v4 i SCSS.
#2F8615
oklch(0.546 0.165 140)
Konwersje koloru
- HEX
- #2f8615
- RGB
- rgb(47 134 21)
- HSL
- hsl(106 73% 30%)
- HWB
- hwb(106 8% 47%)
- OKLCH
- oklch(0.546 0.165 140)
- OKLab
- oklab(0.546 -0.126 0.106)
- CIE Lab
- lab(49.21 -42.12 47)
- LCH
- lch(49.21 63.11 131.9)
- CMYK
- cmyk(65% 0% 84% 47%)
Odcienie jaśniejsze · Odcienie ciemniejsze · Tony
Odcienie jaśniejsze
- 479235
- 5D9E4E
- 71AA65
- 85B77B
- 9AC390
- AECFA6
- C2DBBC
- D6E7D2
- EAF3E8
Odcienie ciemniejsze
- 277411
- 20620C
- 195108
- 124005
- 0C3003
- 062102
- 031301
- 010600
- 000100
Tony
- 3B8628
- 458636
- 4E8541
- 56854C
- 5E8455
- 65845E
- 6C8367
- 738270
- 7A8178
Harmonie kolorów
Komplementarna +180°
- 2F8615
Green Bell Pepper
- 9949AB
≈ Purpureus
Analogowa -30° +30°
- 2F8615
Green Bell Pepper
- 757600
≈ Mongolian Plateau
- 008467
≈ Shadows of Time
Triada +120° +240°
- 2F8615
Green Bell Pepper
- 306CCF
≈ Celtic Blue
- BE3C47
≈ Precious Peony
Komplementarna rozszczepiona +150° +210°
- 2F8615
Green Bell Pepper
- 725AC8
≈ Astro Purple
- B33E7E
≈ Fuchsia Red
Tetrada +90° +180° +270°
- 2F8615
Green Bell Pepper
- 007BA3
≈ Bleu Ciel
- 9949AB
≈ Purpureus
- B05100
≈ Skrag Brown
Kontrast i dostępność
Ag
AANa bieli
WCAG 4.62:1 · APCA Lc 72
Ag
AANa czerni
WCAG 4.54:1 · APCA Lc 30
Najlepszy kolor tekstu: #FFFFFF
WCAG 4.62:1 (AA) · APCA Lc 72
Contrast pairs
Fragmenty kodu
CSS
:root {
--green-bell-pepper: #2f8615;
--green-bell-pepper-rgb: 47 134 21;
--green-bell-pepper-oklch: oklch(0.546 0.165 140);
}
.element {
color: var(--green-bell-pepper);
background-color: hsl(106 73% 30%);
border-color: oklch(0.546 0.165 140);
}Tailwind CSS v4
@theme {
--color-green-bell-pepper: #2f8615;
--color-green-bell-pepper-50: #dbffd6;
--color-green-bell-pepper-100: #c9f7c4;
--color-green-bell-pepper-200: #ace7a5;
--color-green-bell-pepper-300: #85cd7d;
--color-green-bell-pepper-400: #65b552;
--color-green-bell-pepper-500: #3d9f22;
--color-green-bell-pepper-600: #358620;
--color-green-bell-pepper-700: #2b6c1a;
--color-green-bell-pepper-800: #214f0c;
--color-green-bell-pepper-900: #163707;
--color-green-bell-pepper-950: #072100;
}SCSS
$green-bell-pepper: #2f8615;
$green-bell-pepper-rgb: 47, 134, 21;
$green-bell-pepper-light: mix(#fff, $green-bell-pepper, 20%);
$green-bell-pepper-dark: mix(#000, $green-bell-pepper, 20%);
.element {
color: $green-bell-pepper;
box-shadow: 0 0 0 2px rgba($green-bell-pepper, 0.35);
}